thefiddler
a6c4a7c9b5
[Mac] Only dispose context on UI thread
2014-07-23 21:15:16 +02:00
thefiddler
e81d8da068
[OpenTK] Reduce duplication in GraphicsContextBase
...
Inheritors now take advantage of base class functionality to avoid
duplicating finalizers and warning messages.
2014-07-23 10:08:57 +02:00
thefiddler
32958ffcce
[Mac] Improved stability for NSOpenGLPixelFormat
...
Non-accelerated contexts are now considered iff no accelerated contexts
are available. Additionally, a GraphicsException will be thrown if
context construction fails for any reason, instead of causing a runtime
crash.
2014-07-14 12:27:28 +02:00
thefiddler
3da459b316
[All] Fixed checks for EXT_swap_control_tear
...
EGL and NSOpenGL do not offer an EXT_swap_control_tear equivalent so
use regular vsync for now. The relevant extension string is now
correctly checked on WGL and GLX.
2014-04-29 08:10:18 +02:00
thefiddler
b732e377c9
[Mac] Sped up extension loading
...
From ~200ms down to ~65ms on a rMBP with Nvidia 650M and Mac OS X
10.9.2.
2014-04-26 14:21:26 +02:00
Olle Håkansson
64fb043b77
Licensed files under MIT/X11.
2014-04-24 13:45:06 +02:00
thefiddler
287c2b3415
[Mac] Add CocoaContext.GetGraphicsMode via CGL
...
Once the context is constructed, we use GetGraphicsMode to retrieve the
exact GraphicsMode that was selected by CocoaContext.
2014-04-24 13:45:06 +02:00
Olle Håkansson
df6caa3cbb
Fixed missing Mode value in CocoaContext.
...
Crashed E.g. GameWindow States example.
2014-04-24 13:45:06 +02:00
Olle Håkansson
59d7889ce0
Restored most window functionality.
2014-04-24 13:45:05 +02:00
Olle Håkansson
5457651676
Fixed swap interval.
2014-04-24 13:45:04 +02:00
Olle Håkansson
5e1b7c82ab
Cocoa bindings through libobjc.dylib
2014-04-24 13:45:04 +02:00