Skip to content
Commits on Dec 2, 2013
Commits on Nov 22, 2013
  1. Merge pull request #26 from GoldBlockGames/master

    Replace IndexOutOfRangeException with ArgumentOutOfRangeException in vector indexers
    committed Nov 22, 2013
  2. @Robmaister

    Clean up vector indexers and replace IndexOutOfRangeException with Ar…

    …gumentOutOfRangeException as per CA1506
    Robmaister committed Nov 22, 2013
Commits on Oct 4, 2013
  1. Merge pull request #24 from exDreamDuck/master

    Merge
    committed Oct 4, 2013
  2. @BenjaminNitschke
  3. @BenjaminNitschke

    Fixed merge conflicts

    BenjaminNitschke committed Oct 4, 2013
Commits on Oct 3, 2013
  1. Merge pull request #22 from thefiddler/master

    Support for SDL2 backend
    committed Oct 3, 2013
  2. @thefiddler

    Throw extension if context creation fails

    This aligns behavior with that of the other platforms.
    thefiddler committed Oct 3, 2013
  3. @thefiddler

    Fallback to desktop context if embedded fails

    Starting with OpenGL 4.1 and the ARB_ES2_compatibility extension, desktop contexts can execute OpenGL|ES code. This fallback will allow platforms to execute OpenGL|ES code even if EGL is not available (e.g. Nvidia/Windows).
    thefiddler committed Oct 3, 2013
  4. @thefiddler

    NRE -> GraphicsContextMissingException

    Throw a GraphicsContextMissingException if GraphicsBindingBase.LoadAll() is called without a current GraphicsContext.
    thefiddler committed Oct 3, 2013
  5. @thefiddler

    Load ES entry points even on desktop

    Some drivers / operating systems export ES entry points as extensions on regular "desktop" GraphicsContexts. Attempt to load them even if the user has not explicitly asked for an ES context.
    thefiddler committed Oct 3, 2013
  6. @thefiddler

    Merge branch 'sdl2' of https://github.com/thefiddler/opentk

    Conflicts:
    	Source/OpenTK/Platform/SDL2/Sdl2NativeWindow.cs
    thefiddler committed Oct 3, 2013
  7. @thefiddler

    Serialize Sdl2NativeWindow methods

    This change, along with moving DestroyWindow() to the Dispose() method
    fixes crashes on shutdown.
    thefiddler committed Oct 3, 2013
  8. @thefiddler

    Reload WGL entry points in WinGLContext()

    This fixes AccessViolationException when creating multiple contexts on
    Intel hardware.
    thefiddler committed Oct 3, 2013
  9. @thefiddler

    Added support for OpenGL ES through SDL2

    If SDL2 is supported, the PlatformFactory will now use it for creating the OpenGL ES context. Previously, it would revert to the native drivers when GraphicsContextFlag.Embedded was specified.
    thefiddler committed Oct 3, 2013
Commits on Oct 2, 2013
  1. @thefiddler

    Improved debugging messages

    Exceptions that occur in the example process are now logged.
    thefiddler committed Oct 2, 2013
  2. @thefiddler

    MouseButtonUp and MouseMove fixes

    MouseMove no longer leaves the window borders when the cursor is
    invisible. MouseButtonUp events are now reported even when they occur
    outside the window. This aligns SDL2 behavior with the native drivers.
    thefiddler committed Oct 2, 2013
  3. @thefiddler

    Create Sdl2NativeWindow hidden

    This conforms to the other platform drivers and looks better in general
    (no delay between window creation and OpenGL context creation.)
    thefiddler committed Oct 2, 2013
  4. @thefiddler

    Fixed unsetting current context in SDL2

    SDL_GL_MakeCurrent(IntPtr.Zero, IntPtr.Zero) is the correct way to
    remove the current OpenGL context from the calling thread. Fixes
    threaded rendering on Windows.
    thefiddler committed Oct 2, 2013
  5. @thefiddler

    Added missing x64 unmanaged dependencies

    The .gitignore file ignores directories starting with x64, causing these depedendencies to be missed. Fixed by adding them manually.
    thefiddler committed Oct 2, 2013
Commits on Oct 1, 2013
  1. @thefiddler
  2. @thefiddler

    Improved diagnostics in Dispose()

    Leaked and disposed resources are now always reported.
    thefiddler committed Oct 2, 2013
  3. @thefiddler

    Added Sync object for SDL

    thefiddler committed Oct 2, 2013
  4. @thefiddler

    Marked class as partial

    This allows extension of the class without touching the upstream code.
    thefiddler committed Oct 2, 2013
  5. @thefiddler

    Use separate process for executing examples

    Using a separate, isolated process protects against incompatible interactions between the Example Browser (WinForms) and the executing example (native or SDL). It also protects the main GUI from crashes in the example code.
    thefiddler committed Oct 2, 2013
  6. @thefiddler

    Fixed invalid version string on git

    Git commit hashcodes are not compatible with the 16bit integer values found in .Net version numbers. Use the git commit count as a version number instead.
    thefiddler committed Oct 2, 2013
  7. @thefiddler

    MakeCurrent(null) should make context non-current

    This fixes the crash in the "GameWindow Threading" example.
    thefiddler committed Oct 1, 2013
  8. @thefiddler

    Fixed build under xbuild

    Mono xbuild does not recognize the DebugType none element in the project configuration. Remove this in order to make it happy.
    thefiddler committed Oct 1, 2013
  9. @thefiddler

    Clean up OpenTK after every example

    Use the IDisposable instance returned by OpenTK.Toolkit.Init() to shutdown OpenTK after the end of each example run.
    thefiddler committed Oct 1, 2013
  10. @thefiddler

    Improved resource disposal

    Added IDisposable interface to all classes holding native data that must be freed. OpenTK.Toolkit.Init() now returns an IDisposable instance that can be used to cleanup all native data held by OpenTK. This is useful when re-initializing OpenTK (possibly in a new AppDomain), as is the case in the Example browser.
    thefiddler committed Oct 1, 2013
  11. @thefiddler

    Removed terrible hack for SDL_WINDOW_OPENGL

    SDL2 will refuse to create an OpenGL context on a window with the SDL_WINDOW_FOREIGN flag (i.e. windows that are passed to SDL2 through SDL_CreateWindowFrom). This must be fixed upstream.
    thefiddler committed Oct 1, 2013
Commits on Sep 30, 2013
  1. @thefiddler

    Implemented Sdl2GLControl

    SDL2 still fails with "not an OpenGL window".
    thefiddler committed Sep 30, 2013
  2. @thefiddler
  3. @thefiddler

    Workaround for NRE on WinRawMouse driver

    On some systems, the Windows Raw Input driver fails to find the name of
    a mouse device, causing a NRE. Since the name is not vital information,
    a dummy name is generated as a workaround.
    thefiddler committed Sep 30, 2013
  4. @thefiddler
Something went wrong with that request. Please try again.