Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Dec 2, 2013
Commits on Nov 22, 2013
  1. Merge pull request #26 from GoldBlockGames/master

    authored
    Replace IndexOutOfRangeException with ArgumentOutOfRangeException in vector indexers
  2. @Robmaister

    Clean up vector indexers and replace IndexOutOfRangeException with Ar…

    Robmaister authored
    …gumentOutOfRangeException as per CA1506
Commits on Oct 4, 2013
  1. @BenjaminNitschke
  2. @BenjaminNitschke
Commits on Oct 3, 2013
  1. Merge pull request #22 from thefiddler/master

    authored
    Support for SDL2 backend
  2. @thefiddler

    Throw extension if context creation fails

    thefiddler authored
    This aligns behavior with that of the other platforms.
  3. @thefiddler

    Fallback to desktop context if embedded fails

    thefiddler authored
    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. @thefiddler

    NRE -> GraphicsContextMissingException

    thefiddler authored
    Throw a GraphicsContextMissingException if GraphicsBindingBase.LoadAll() is called without a current GraphicsContext.
  5. @thefiddler

    Load ES entry points even on desktop

    thefiddler authored
    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. @thefiddler

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

    thefiddler authored
    Conflicts:
    	Source/OpenTK/Platform/SDL2/Sdl2NativeWindow.cs
  7. @thefiddler

    Serialize Sdl2NativeWindow methods

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

    Reload WGL entry points in WinGLContext()

    thefiddler authored
    This fixes AccessViolationException when creating multiple contexts on
    Intel hardware.
  9. @thefiddler

    Added support for OpenGL ES through SDL2

    thefiddler authored
    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. @thefiddler

    Improved debugging messages

    thefiddler authored
    Exceptions that occur in the example process are now logged.
  2. @thefiddler

    MouseButtonUp and MouseMove fixes

    thefiddler authored
    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. @thefiddler

    Create Sdl2NativeWindow hidden

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

    Fixed unsetting current context in SDL2

    thefiddler authored
    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. @thefiddler

    Added missing x64 unmanaged dependencies

    thefiddler authored
    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. @thefiddler
  2. @thefiddler

    Improved diagnostics in Dispose()

    thefiddler authored
    Leaked and disposed resources are now always reported.
  3. @thefiddler

    Added Sync object for SDL

    thefiddler authored
  4. @thefiddler

    Marked class as partial

    thefiddler authored
    This allows extension of the class without touching the upstream code.
  5. @thefiddler

    Use separate process for executing examples

    thefiddler authored
    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.
  6. @thefiddler

    Fixed invalid version string on git

    thefiddler authored
    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.
  7. @thefiddler

    MakeCurrent(null) should make context non-current

    thefiddler authored
    This fixes the crash in the "GameWindow Threading" example.
  8. @thefiddler

    Fixed build under xbuild

    thefiddler authored
    Mono xbuild does not recognize the DebugType none element in the project configuration. Remove this in order to make it happy.
  9. @thefiddler

    Clean up OpenTK after every example

    thefiddler authored
    Use the IDisposable instance returned by OpenTK.Toolkit.Init() to shutdown OpenTK after the end of each example run.
  10. @thefiddler

    Improved resource disposal

    thefiddler authored
    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.
  11. @thefiddler

    Removed terrible hack for SDL_WINDOW_OPENGL

    thefiddler authored
    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. @thefiddler

    Implemented Sdl2GLControl

    thefiddler authored
    SDL2 still fails with "not an OpenGL window".
  2. @thefiddler
  3. @thefiddler

    Workaround for NRE on WinRawMouse driver

    thefiddler authored
    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.
  4. @thefiddler
Something went wrong with that request. Please try again.