Permalink
Switch branches/tags
Nothing to show
Commits on Dec 2, 2013
Commits on Nov 22, 2013
  1. Merge pull request #26 from GoldBlockGames/master

    andykorth committed Nov 22, 2013
    Replace IndexOutOfRangeException with ArgumentOutOfRangeException in vector indexers
  2. Clean up vector indexers and replace IndexOutOfRangeException with Ar…

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

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

    andykorth committed Oct 3, 2013
    Support for SDL2 backend
  2. Throw extension if context creation fails

    thefiddler committed Oct 3, 2013
    This aligns behavior with that of the other platforms.
  3. Fallback to desktop context if embedded fails

    thefiddler committed Oct 3, 2013
    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).
  4. NRE -> GraphicsContextMissingException

    thefiddler committed Oct 3, 2013
    Throw a GraphicsContextMissingException if GraphicsBindingBase.LoadAll() is called without a current GraphicsContext.
  5. Load ES entry points even on desktop

    thefiddler committed Oct 3, 2013
    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.
  6. Merge branch 'sdl2' of https://github.com/thefiddler/opentk

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

    thefiddler committed Oct 3, 2013
    This change, along with moving DestroyWindow() to the Dispose() method
    fixes crashes on shutdown.
  8. Reload WGL entry points in WinGLContext()

    thefiddler committed Oct 3, 2013
    This fixes AccessViolationException when creating multiple contexts on
    Intel hardware.
  9. Added support for OpenGL ES through SDL2

    thefiddler committed Oct 3, 2013
    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.
Commits on Oct 2, 2013
  1. Improved debugging messages

    thefiddler committed Oct 2, 2013
    Exceptions that occur in the example process are now logged.
  2. MouseButtonUp and MouseMove fixes

    thefiddler committed Oct 2, 2013
    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.
  3. Create Sdl2NativeWindow hidden

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

    thefiddler committed Oct 2, 2013
    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.
  5. Added missing x64 unmanaged dependencies

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

    thefiddler committed Oct 1, 2013
    Leaked and disposed resources are now always reported.
  2. Added Sync object for SDL

    thefiddler committed Oct 1, 2013
  3. Marked class as partial

    thefiddler committed Oct 1, 2013
    This allows extension of the class without touching the upstream code.
  4. Use separate process for executing examples

    thefiddler committed Oct 1, 2013
    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.
  5. Fixed invalid version string on git

    thefiddler committed Oct 1, 2013
    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.
  6. MakeCurrent(null) should make context non-current

    thefiddler committed Oct 1, 2013
    This fixes the crash in the "GameWindow Threading" example.
  7. Fixed build under xbuild

    thefiddler committed Oct 1, 2013
    Mono xbuild does not recognize the DebugType none element in the project configuration. Remove this in order to make it happy.
  8. Clean up OpenTK after every example

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

    thefiddler committed Oct 1, 2013
    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.
  10. Removed terrible hack for SDL_WINDOW_OPENGL

    thefiddler committed Oct 1, 2013
    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.
Commits on Sep 30, 2013
  1. Implemented Sdl2GLControl

    thefiddler committed Sep 30, 2013
    SDL2 still fails with "not an OpenGL window".
  2. Workaround for NRE on WinRawMouse driver

    thefiddler committed Sep 30, 2013
    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.