Syndicate content
Updated: 54 min 58 sec ago

[X11] Send ClientMessage to exit input event loop

17 June, 2014 - 07:05
pre style='white-space:pre-wrap;width:81ex'>[X11] Send ClientMessage to exit input event loop To do that, we need a custom InputOnly window. This window is only used for receiving the exit ClientMessage - XI2 input is still received through the root window. Fixes issue https://github.com/mono/MonoGame/issues/2711/pre>

[X11] Remove unused XCreateWindow overloads

17 June, 2014 - 06:51
pre style='white-space:pre-wrap;width:81ex'>[X11] Remove unused XCreateWindow overloads/pre>

[X11] Construct X11 Factory first if enabled

15 June, 2014 - 12:32
pre style='white-space:pre-wrap;width:81ex'>[X11] Construct X11 Factory first if enabled This allows us to use X11 on Windows and Mac, if explicitly requested by the user via `ToolkitOptions.Backend`./pre>

[X11] Added glXQueryVersion DllImport.

15 June, 2014 - 12:30
pre style='white-space:pre-wrap;width:81ex'>[X11] Added glXQueryVersion DllImport./pre>

[X11] Throw exception if GLX is not supported

15 June, 2014 - 12:30
pre style='white-space:pre-wrap;width:81ex'>[X11] Throw exception if GLX is not supported You cannot create an X11/OpenGL context without the GLX extension. OpenTK will now throw a `NotSupportedException` when this condition is encountered. In some cases, it may be possible to enable the EGL backend by passing `GraphicsContextFlags.Embedded` to the `GraphicsContext` constructor./pre>

[X11] Check before monitoring /dev/input

15 June, 2014 - 12:29
pre style='white-space:pre-wrap;width:81ex'>[X11] Check before monitoring /dev/input This avoids a crash on non-Linux systems that do not support /dev/input./pre>

[X11] Implement support for XQuartz (X11 on Mac)

15 June, 2014 - 12:28
pre style='white-space:pre-wrap;width:81ex'>[X11] Implement support for XQuartz (X11 on Mac)/pre>

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

15 June, 2014 - 12:24
pre style='white-space:pre-wrap;width:81ex'>Merge branch 'xquartz' of https://github.com/thefiddler/opentk into xquartz/pre>

Merge pull request #134 from thefiddler/scrollfix

11 June, 2014 - 05:41
pre style='white-space:pre-wrap;width:81ex'>Merge pull request #134 from thefiddler/scrollfix [Mac][X11] Match win32 wheel coordinate system/pre>

[Mac] Fix Mouse.GetState() h-wheel

10 June, 2014 - 15:43
pre style='white-space:pre-wrap;width:81ex'>[Mac] Fix Mouse.GetState() h-wheel External mice will now report horizontal scrolling in the low-level `Mouse.GetState()` API. The touchpad apparently creates an emulated mouse device that does not report horizontal wheel scrolling events. Touchpad support probably requires a proper multitouch implementation./pre>

[Mac] Add note for higher precision pixel scroll

10 June, 2014 - 14:41
pre style='white-space:pre-wrap;width:81ex'>[Mac] Add note for higher precision pixel scroll/pre>

[Mac] Match win32 scrolling coordinates

10 June, 2014 - 14:40
pre style='white-space:pre-wrap;width:81ex'>[Mac] Match win32 scrolling coordinates/pre>

[X11] Match win32 wheel coordinate system

10 June, 2014 - 12:53
pre style='white-space:pre-wrap;width:81ex'>[X11] Match win32 wheel coordinate system OpenTK uses the win32 wheel coordinate system, where (+h, +v) = (right, up). XI2 uses (+h, +v) = (right, down) instead, so we need to flip the vertical offset. Fixes issue #133 and https://github.com/mono/MonoGame/issues/2686/pre>

Merge pull request #132 from thefiddler/fixbool2

8 June, 2014 - 10:30
pre style='white-space:pre-wrap;width:81ex'>Merge pull request #132 from thefiddler/fixbool2 Fix bool return types/pre>

[ES][GL] Regenerated bindings

8 June, 2014 - 07:58
pre style='white-space:pre-wrap;width:81ex'>[ES][GL] Regenerated bindings/pre>

[Bind] Fixed a System.FormatException

8 June, 2014 - 07:57
pre style='white-space:pre-wrap;width:81ex'>[Bind] Fixed a System.FormatException/pre>

[Rewrite] Implement byte - bool marshalling

8 June, 2014 - 07:52
pre style='white-space:pre-wrap;width:81ex'>[Rewrite] Implement byte - bool marshalling Since GL_TRUE and GL_FALSE match .Net true and false (1 and 0, respectively), we can simply reinterpret the byte value as a bool. In the future, we could issue a `(if value == 0 then false else true)` statement for added safety, but this does not appear to be necessary right now./pre>

[Bind] Use byte for GLboolean return types

8 June, 2014 - 07:52
pre style='white-space:pre-wrap;width:81ex'>[Bind] Use byte for GLboolean return types GLboolean is typedefed as an unsigned char. It appears that `[return: MarshalAs(UnmanagedType.U1)]` is ignored in calli p/invokes, so we need to take care of this ourselves by emitting byte instead of bool for the p/invoke signature. The public API remains unchanged. Fixes issue #129./pre>