Permalink
Commits on Sep 30, 2013
  1. @thefiddler

    Attempted to fix key modifier state

    SDL2 does not report keydown and keyup events on modifiers keys until
    you release them. Attempted to fix this using SDL_GetModifierState, but
    this does not appear to work. Should hit upstream.
    thefiddler committed Sep 30, 2013
  2. @thefiddler

    Renamed Sdl2InputBase

    thefiddler committed Sep 30, 2013
  3. @thefiddler

    Use scancodes for KeyboardDevice states

    This resolves the issue where different layouts would return different
    keys when pressing the same physical key. A new API must be introduced
    for text input.
    thefiddler committed Sep 30, 2013
  4. @thefiddler

    Fixed return values of keyboard functions

    SDL_GetKeyFromScancode and SDL_GetScancodeFromKey should return a
    SDL_Keycode or SDL_Scancode respectively, instead of void.
    thefiddler committed Sep 30, 2013
  5. @thefiddler

    Fixed documentation comment

    thefiddler committed Sep 30, 2013
  6. @thefiddler

    Renamed Sdl2InputBase to Sdl2InputDriver

    Sdl2InputDriver describes the role and function of this class more
    accurately.
    thefiddler committed Sep 30, 2013
  7. @thefiddler
  8. @thefiddler
  9. @thefiddler

    Reduced icon resolution to 128x128 in order to avoid "out of memory" …

    …errors when building with Mono.
    thefiddler committed Sep 30, 2013
Commits on Sep 29, 2013
  1. @thefiddler

    Added high-res icons to Example Browser

    The Example Browser should now look better on high resolution screens.
    thefiddler committed Sep 29, 2013
  2. @thefiddler

    Free SDL surface after updating the window icon

    The SDL surface is no longer needed and will cause a memory leak if not
    freed. Additionally, the decoded BitmapData should not be unlocked until
    after updating the window icon, as it may be moved by the GC otherwise.
    thefiddler committed Sep 29, 2013
  3. @thefiddler

    Fixed decoding of Icons

    The rgba mask for decoding icon surfaces was incorrect. Icons should
    appear as expected now.
    thefiddler committed Sep 29, 2013
Commits on Sep 27, 2013
  1. @thefiddler

    Updated license information

    thefiddler committed Sep 27, 2013
  2. @thefiddler

    Implemented WindowState, WindowBorder and Icon

    SDL2 suffers many of the issues we encountered when implementing
    OpenTK.Platform.Windows. Workarounds are now in place to make
    WindowState changes behave reasonably.
    thefiddler committed Sep 27, 2013
  3. @thefiddler

    Increased the text surface size

    This is necessary for high-dpi monitors which render text at double
    resolution.
    thefiddler committed Sep 27, 2013
  4. @thefiddler

    Use OpenGL window flag and switch to "fake" fullscreen mode

    The OpenGL flag is required when using SDL2 on Windows. Fake fullscreen
    works much better on modern monitors and systems with multiple monitors.
    thefiddler committed Sep 27, 2013
  5. @thefiddler
  6. @thefiddler

    Use Wgl.Import.GetCurrentContext DllImport directly

    Wgl is implemented using the regular DllImport + delegate approach, in
    order to support extensions. The delegates have not been armed at this
    point, so we need to use the DllImport directly.
    
    The whole wgl API should be revisited (we are using only a tiny
    portion.)
    thefiddler committed Sep 27, 2013
  7. Merge pull request #21 from thefiddler/master

    Add hidpi support on windows and update .gitignore for documentation artifacts
    committed Sep 27, 2013
  8. @thefiddler
  9. @thefiddler

    Added app.manifest to OpenTK.Examples project

    The file had been added to the source tree, but was missing from the
    OpenTK.Examples project configuration, causing hi-dpi mode to fail on
    the examples window.
    thefiddler committed Sep 27, 2013
  10. @thefiddler
  11. @thefiddler

    Updated .gitignore

    Documentation/Source contains hundreds of intermediate files generated
    by doxygen.
    thefiddler committed Sep 27, 2013
  12. @thefiddler

    Implemented SDL2 platform using sdl2-cs

    This is a new platform that can be used then sdl2 is installed on the target system. SDL2 is commercially supported by Valve and provides better support for MacOS compared to our current implementation (Cocoa vs Carbon). It will also help us introduce faster support for new platforms. Existing platforms remain as a fallback and will be automatically used if sdl2 is not installed.
    
    Please note that this is still a work in progress. The new mouse and keyboard API is not supported yet. Due to limitations of sdl2, multiple mice/keyboards are also not supported.
    thefiddler committed Sep 27, 2013
  13. @thefiddler

    Integrated sdl2-cs bindings for sdl2

    This is using the sdl2/pure branch of https://github.com/thefiddler/SDL2-CS.git which contains the SDL2 bindings without MiniTK.
    thefiddler committed Sep 27, 2013
  14. @thefiddler

    Merge commit 'ed45dddb98c8250a33505c953b6c60bf7a854ffb' as 'Source/Op…

    …enTK/Platform/SDL2/sdl2-cs'
    thefiddler committed Sep 27, 2013
  15. @thefiddler

    Squashed 'Source/OpenTK/Platform/SDL2/sdl2-cs/' content from commit b…

    …434bac
    
    git-subtree-dir: Source/OpenTK/Platform/SDL2/sdl2-cs
    git-subtree-split: b434bacba859a036b11ec3ac76c3baa058764769
    thefiddler committed Sep 27, 2013
Commits on Sep 25, 2013
  1. @thefiddler

    Made OpenTK.Examples high-dpi aware

    Added application manifest with the necessary key to mark
    OpenTK.Examples as high-dpi aware. This improves application
    appearance when DPI scaling is enabled.
    thefiddler committed Sep 25, 2013
  2. @thefiddler

    Added support for high-dpi mode on Windows.

    The platform factory for windows now calls SetProcessDPIAware
    in order to enable support for high-dpi modes. The relevant
    DllImport has been added to API.cs
    thefiddler committed Sep 25, 2013
  3. @thefiddler
Commits on Sep 24, 2013
  1. Merge pull request #20 from NeilWhite/MatrixRangeFix

    Fix for setting Matrix/Vector values by Index
    committed Sep 24, 2013
  2. @NeilWhite

    Fix for setting Matrix/Vector values by Index

    Many Matrix*/Vector* implementations were throwing
    IndexOutOfBoundsException when you tried to set their values via their
    indexer due to a missing else statement.
    NeilWhite committed Sep 24, 2013
Commits on Aug 22, 2013
  1. @jeske

    tweaked doxygen config

    jeske committed Aug 22, 2013
  2. @jeske

    Update README.md

    added Readme.md link to doxygen api reference
    jeske committed Aug 22, 2013
Commits on Aug 21, 2013
  1. @jeske