thefiddler
d81fc0ee10
Merge pull request #127 from thefiddler/apitest
...
[AL][ES][GL] Add API compatibility test
2014-06-02 14:47:43 +02:00
thefiddler
aa4e8ef9aa
Merge pull request #128 from Frassle/half-fix
...
Fix a bug in single->half conversion.
2014-06-02 13:03:30 +02:00
Fraser Waters
5481aa7097
Fix a bug in single->half conversion.
...
The original C code had if(m & 0x00800000) which is true if the
expresssion does not evaluate to zero. This was inncorretly translated
to the C# code if((m & 0x00800000) == 1) which only evaluates true if
the expression evalaute to 1, which it never does. The correct test is
to test not equal to zero (!= 0).
2014-06-02 11:16:43 +01:00
thefiddler
ab3aac815e
[Test] Added API.Desktop to OpenTK.sln
2014-06-01 00:38:32 +02:00
thefiddler
fc00c59f84
[Test] Added API compatibility test
...
This test checks every public API under OpenTK.Audio, OpenTK.Compute
and OpenTK.Graphics for compatibility. Incompatible changes will cause
a compilation failure.
2014-06-01 00:10:21 +02:00
thefiddler
08829c4feb
Merge pull request #126 from thefiddler/sdlversion
...
[SDL] Do not attempt to use versions < 2.0.0
2014-05-31 15:54:20 +02:00
thefiddler
897c4d7540
[SDL] Removed unnecessary if-branch
2014-05-30 13:50:11 +02:00
thefiddler
7153a69466
[SDL] Do not attempt to use versions < 2.0.0
...
Versions prior to 2.0.0 are not ABI-compatible with 2.0.x and
attempting to use those will result in random instability. We now
explicitly check the SDL2 version before enabling the SDL2 backend.
2014-05-30 13:47:27 +02:00
thefiddler
256266c9a6
[X11] Added dllmap for Mac OS X (XQuartz)
2014-05-20 18:36:58 +02:00
thefiddler
0fcd47132c
Merge pull request #125 from thefiddler/r112
...
Prepare for 1.1.2 release
2014-05-20 01:11:41 +02:00
thefiddler
5b529647c9
[Mac] Fixed NRE and initial position on 64bit
2014-05-20 01:00:54 +02:00
thefiddler
c65e2a4d9e
[Mac] Added NSFloat implementation
2014-05-20 00:14:57 +02:00
thefiddler
ea0ab3243e
Merge pull request #123 from thefiddler/eglfix
...
[EGL] Fix initialization and extension loading
2014-05-19 23:14:41 +02:00
thefiddler
064fb62822
Merge pull request #124 from thefiddler/xdestroyfix
...
[X11] Fixed BadWindow error on shutdown
2014-05-19 23:14:32 +02:00
thefiddler
56d373ffb7
[Docs] Yet more formatting fixes
2014-05-19 23:11:25 +02:00
thefiddler
a9ac8eb772
[Docs] Minor formatting fixes
2014-05-19 23:08:22 +02:00
thefiddler
a6bdd2840c
[Graphics] Synced with May 2014 Khronos spec
2014-05-19 23:03:39 +02:00
thefiddler
4dea46bca0
[Docs] Updated documentation for release
2014-05-19 23:01:29 +02:00
thefiddler
ec31675fc8
[X11] Fixed BadWindow error on shutdown
...
This was caused by calling XDestroyWindow inside Dispose(), or
by processing events after calling XDestroyWindow. Pending events
are now discarded when Close() is called and not cancelled, and
XDestroyWindow is only called if the window exists.
2014-05-19 22:02:46 +02:00
thefiddler
fd3ac1e4cc
Removed file committed by mistake
2014-05-19 12:34:09 +02:00
thefiddler
ade8e61625
Merge branch 'xkeyfix' of https://github.com/thefiddler/opentk into develop
2014-05-19 10:52:37 +02:00
thefiddler
cfb2d45b8b
[X11] Improved WindowBorder.Fixed detection
...
This now works even without having to map the window first.
2014-05-19 09:22:27 +02:00
thefiddler
d6426f20bd
Merge branch 'develop' of git://github.com/Goz3rr/opentk into pr/122
2014-05-19 08:43:45 +02:00
thefiddler
d483b01de0
[EGL] Fixed display connection
...
We now use the display connection specified in EglWindowInfo
throughout the EGL backend, instead of opening new connections
in EglGraphicsMode. This fixes EGL errors in
Egl.CreateWindowSurface.
As part of this fix, all instances of
IPlatformFactory.CreateGraphicsMode() have been removed. This
API is no longer used in OpenTK 1.1
2014-05-19 08:31:38 +02:00
thefiddler
97b211a101
[EGL] Egl.GetProcAddress only returns extensions
...
We have to load statically exported entry points using the regular OS
symbol loading facilities, and only use eglGetProcAddress for
extensions.
Fixes crash in https://github.com/mono/MonoGame/pull/2377
2014-05-18 22:04:52 +02:00
Goz3rr
0c348d2429
Made NativeWindow set WindowBorder to Fixed when created with FixedWindow flag like SDL windows
2014-05-17 00:27:38 +02:00
Goz3rr
399e08ee33
Changed TranslateFlags to actually translate flags instead of using switch
2014-05-15 11:52:55 +02:00
thefiddler
4ede3ad2d0
[X11] Renamed XI2Mouse
...
This file now implements both mouse and keyboard input, so its name
has been updated to reflect that.
2014-05-15 10:24:03 +02:00
thefiddler
b4f4be7ece
[X11] Split X11 and XI2 input drivers
2014-05-15 10:22:01 +02:00
thefiddler
7d1bec58cc
[X11] Implemented XI2 keyboard input
2014-05-15 10:21:06 +02:00
thefiddler
2eb88d9788
[X11] Added XIDeviceType enumeration
2014-05-15 10:20:23 +02:00
thefiddler
692c4c64ff
[X11] Rebased on develop branch
2014-05-15 01:16:28 +02:00
thefiddler
7cce215a4b
[X11] Use XKB for layout-independent input
...
The code will fall back to core X11 if XKB is not available.
2014-05-15 01:13:12 +02:00
thefiddler
e8176ef7cf
[X11] Added XKB bindings
2014-05-15 01:12:06 +02:00
thefiddler
687fc90c95
Merge pull request #120 from thefiddler/xcursorfix
...
[X11] Improve mouse input
2014-05-15 00:43:38 +02:00
Goz3rr
4414886832
Added GameWindowFlags.FixedWindow to allow for fixed border SDL Windows
2014-05-15 00:38:06 +02:00
thefiddler
1419c1e3a0
[Mac] Explicitly retain/release CocoaWindowInfo instances
2014-05-14 18:01:08 +02:00
thefiddler
1690cf859e
[X11] Removed unused SetCursor() function
2014-05-14 00:42:05 +02:00
thefiddler
a062d4c0a7
[X11] Removed stale comment
2014-05-14 00:00:13 +02:00
thefiddler
30d7780f1e
[X11] Removed unused warp detection code
2014-05-13 23:51:55 +02:00
thefiddler
dd16142a3a
[X11] Fixed GetCursorState() after SetPosition()
...
The new position is now immediately reflected in GetCursorPos().
2014-05-13 23:50:39 +02:00
thefiddler
452d61bc60
[X11] Warn when XI2Mouse is not supported.
...
Without the XI2 extension, mouse support will suffer significantly.
More specifically, low-level mouse events will not be available.
2014-05-13 23:34:27 +02:00
thefiddler
3febb4dda0
[Input] Renamed MouseScrollWheel to MouseScroll
...
This better describes the functionality of this structure.
2014-05-13 23:25:56 +02:00
thefiddler
c6dafbccba
[X11] Implemented high-resolution scroll events
2014-05-13 23:23:51 +02:00
thefiddler
9255fdcdb4
[Platform] Fixed OnMouseDown/Up events for secondary buttons
2014-05-13 22:53:47 +02:00
thefiddler
a30af547f9
[X11] Improved CursorVisible = false behavior
...
We now use an XGrabPointer to confine the cursor to the window,
instead of the XWarpPointer hack. Fixes issue #28 and #36 .
2014-05-13 22:31:45 +02:00
thefiddler
7e3b99c636
[X11] Fixed cursor position when CursorVisible becomes true
2014-05-13 13:23:20 +02:00
thefiddler
fc718026fd
[X11] Fixed Cursor when CursorVisible = false
...
Setting Cursor will no longer override CursorVisible.
2014-05-13 09:27:21 +02:00
thefiddler
290cc91275
Merge branch 'nulldisplay' into develop
2014-05-12 17:01:01 +02:00
thefiddler
c2bd8624b5
Merge branch 'nvidiafix' into develop
2014-05-12 17:00:42 +02:00