the_fiddler
87e925f057
Merged improved XRandR handling from 0.9.8 branch.
2009-08-04 09:35:31 +00:00
the_fiddler
e9d34a62ce
Implemented CreateKeyboardDriver (currently disabled).
2009-08-04 08:49:15 +00:00
the_fiddler
a3f61f6d65
Marked all IPlatformFactory interface implementations as virtual.
2009-07-24 21:52:01 +00:00
the_fiddler
dc94314e3a
Added new EglWindowInfo constructor.
...
Added missing license information.
2009-07-24 21:51:06 +00:00
the_fiddler
58037b9cb3
Initial implementation.
2009-07-24 21:50:21 +00:00
the_fiddler
dea37b8547
Implemented IDisposable pattern.
2009-07-24 21:19:42 +00:00
the_fiddler
4100246d49
Initial implementation.
2009-07-24 21:13:46 +00:00
the_fiddler
593662eacf
Removed EGL_ prefix from all EGL constants.
2009-07-24 21:12:59 +00:00
the_fiddler
2e345ed6c8
Replaced tabs with spaces.
2009-07-19 17:50:41 +00:00
the_fiddler
4847646cc8
Added INativeWindow.CreateKeyboardDriver()
...
Added INativeWindow.KeyPress event (KeyPressEventArgs).
Removed INativeWindow.Icon property.
2009-07-19 17:49:51 +00:00
the_fiddler
f42775f482
Replaced tabs with spaces.
2009-07-19 16:09:46 +00:00
the_fiddler
3f66949fb2
* EglContext.cs: Fixed build error (class committed by mistake - it is not yet implemented).
2009-07-16 13:36:41 +00:00
the_fiddler
1a7fe71e26
Added EGL bindings based on http://www.koushikdutta.com/2008/08/net-compact-framework-wrapper-for.html
2009-07-15 23:17:41 +00:00
the_fiddler
170568c57d
Fixed XML docs and remove unnecessary CLSCompliance attributes.
2009-06-28 10:52:58 +00:00
the_fiddler
a405f07d55
Implemented multisampling on MacOS (untested).
2009-06-26 20:06:31 +00:00
the_fiddler
77788d19a4
Implemented multisampling on X11.
2009-06-26 20:01:22 +00:00
the_fiddler
8c800d619d
Removed obsolete code.
...
Implemented X11GLNative.IconChanged event.
2009-06-24 14:42:40 +00:00
the_fiddler
623015650b
Removed obsolete code.
2009-06-24 14:38:48 +00:00
the_fiddler
d5efed9045
Removed obsolete IResizable, DisplayMode and ColorMode APIs.
...
Marked carbon API class as internal.
Added a large number of missing XML comments.
2009-06-04 11:31:02 +00:00
the_fiddler
783c38446b
Marked platform-specific APIs as internal.
...
Added ObsoleteAttribute to obsolete functionality.
2009-06-04 11:21:33 +00:00
the_fiddler
fc5db8a9a6
Made X11 structs, enums and functions internal. OpenTK should not expose platform-specific APIs.
2009-06-04 10:57:26 +00:00
the_fiddler
1fda34a76c
Marked as obsolete.
2009-06-04 10:56:17 +00:00
the_fiddler
cb661c2dca
Merged gw-next2 branch to trunk.
2009-06-02 15:49:39 +00:00
the_fiddler
b1b3706e64
Fixed recursion that between WinGraphicsMode.SelectGraphicsModeARB and GraphicsMode.Default.
...
Fixed acceleration attribute in WinGraphicsMode.SelectGraphicsModeARB. Now, antialiasing works on nvidia drivers, too.
2009-06-01 13:24:18 +00:00
the_fiddler
66efa41a8f
WinGraphicsMode now uses wglChoosePixelFormatARB, if available. This allows the use of FSAA modes.
2009-06-01 11:05:31 +00:00
the_fiddler
190e9cc7c0
Use GraphicsMode.Default for DummyGLContext.
2009-05-31 16:02:15 +00:00
the_fiddler
93f6050fe6
Replaced XAutoRepeatOff by XkbSetDetectableAutoRepeat, because the former must be reset before the program exits (and this is not always possible).
2009-05-30 21:41:45 +00:00
the_fiddler
4334ab38e7
Added XAutoRepeatOn() method.
2009-05-30 21:40:42 +00:00
the_fiddler
b7390e11d2
Added GraphicsContext.GetCurrentContextDelegate to IPlatformFactory.
...
Improved CreateDummyContext logic to detect and use the context handle of the current thread or a specified handle.
Removed GetCurrentContext() methods from platform-specific context implementations (everything now goes through the relevant IPlatformFactories).
2009-05-30 19:27:52 +00:00
the_fiddler
6699b7ea9f
Added call to XAutoRepeatOff() to disable keyboard autorepeat on X11Input.
2009-05-30 18:15:13 +00:00
the_fiddler
14eefe7e5c
Merged TextPrinter optimization changes from gw-next2 branch.
2009-05-27 18:40:29 +00:00
the_fiddler
d1ab1df7f4
Ensured IWindowInfo.Dispose() is called when the GLControl handle is destroyed.
...
WinGLContext.SwapBuffers now throws an exception on failure.
2009-05-19 09:48:47 +00:00
the_fiddler
28e4f5f615
Added diagnostic message when ReleaseDC fails.
2009-05-19 09:45:36 +00:00
the_fiddler
42d467d57f
Modified Wgl.SupportsExtension to be more defensive when calling Wgl.Arb.GetExtensionString. It now bails out if the extension string is empty.
2009-05-19 09:44:47 +00:00
the_fiddler
9912691bd5
Fixed potential NRE during extension loading.
2009-05-11 10:31:50 +00:00
kanato
721e45a5d4
Implement PointToClient for MacOS.
2009-05-11 01:10:09 +00:00
kanato
043421c7bc
Add overload to OpenTK.Platform.Utilities.CreateGraphicsContext which takes version number and flag parameters. Deprecate old CreateGraphicsContext methods.
2009-05-10 04:49:31 +00:00
the_fiddler
2f54b29ed8
Added initial support for GameWindow.PointToClient.
2009-05-07 19:48:22 +00:00
kanato
bc236a7c0b
Fix AGL buffer rectangle when destination control is inside a container inside a form.
2009-05-07 16:32:15 +00:00
the_fiddler
67d8b1f54c
Fixed potential crash-bug in the WGL_ARB_create_context path (missing 0 attribute).
2009-04-29 11:02:12 +00:00
the_fiddler
eb183f4cfe
Added stack traces to automatic error checking.
...
Added GraphicsContext.ErrorChecking property to temporarily disable error checking if necessary.
Error checking is now added to all functions in debug mode (the generator would miss specific CLS-compliant overloads before).
2009-03-29 21:41:30 +00:00
the_fiddler
9265747541
Fixed all known build warnings, apart from missing xml comments.
2009-03-25 21:53:12 +00:00
the_fiddler
c0f573f996
* X11GLNative.cs: Ensure that Width and Height properties return valid values in the OnLoad event.
2009-03-23 11:57:49 +00:00
the_fiddler
93a467a11f
Moved GraphicsMode to IGraphicsContext as it is universally useful.
...
Implemented GraphicsMode property on X11 and Mac OS X.
Replaced tabs with spaces in AglContext.cs.
2009-03-23 11:41:11 +00:00
the_fiddler
7eb149fa7c
* Platform/X11/X11GLContext.cs: Added workaround for buggy Amd linux drivers. Added "None" to context attributes, as specified by the specs.
2009-03-20 23:16:52 +00:00
the_fiddler
f1e0f2c8de
* Platform/X11/X11GLNative.cs: Removed stale comments and unused code.
2009-03-20 23:15:16 +00:00
the_fiddler
b61c108a52
* Platform/X11/Bindings/Glx.cs: Added glXIsDirect method and made all enums private. Added ErrorCodes enum.
2009-03-20 23:13:24 +00:00
the_fiddler
6bd0a26e19
* Platform/X11/X11GraphicsMode.cs: Major clean up. Refactored
...
ChooseFBConfig and ChooseVisual codepaths into different methods.
Fixed bug [#728 ].
2009-03-20 19:38:52 +00:00
the_fiddler
fc0ca5631f
Relaxed checks to allow input devices that do not contain any axes and/or buttons (e.g. tablets or keyboard extensions).
2009-03-08 20:03:33 +00:00
the_fiddler
4e5d758fa1
Added new GLControl constructors that allow you specify the desired GraphicsContext (OpenGL) version and flags.
2009-03-07 11:03:41 +00:00