the_fiddler
29262a075d
Fixed Matrix4.CreateOrthographicOffCenter (M44 should be 1).
2009-06-08 22:49:26 +00:00
the_fiddler
43e0b67b2e
Fixed GL.GetBoolean (was GL.GetBoolea because the generator treated glGetBooleanv as a NV extension).
2009-06-07 05:20:29 +00:00
the_fiddler
efa7b51535
Added static readonly Vector[234]d?.One properties.
2009-06-04 17:04:35 +00:00
the_fiddler
190e9cc7c0
Use GraphicsMode.Default for DummyGLContext.
2009-05-31 16:02:15 +00:00
the_fiddler
b9fc267ca3
Merged Get(Float|Double|Integer) and Viewport helpers from gw-next2.
2009-05-31 15:54:17 +00:00
the_fiddler
59d6fca421
Last parameter of Alc.CaptureSamples should be an int, not IntPtr.
2009-05-31 11:10:16 +00:00
the_fiddler
421fd60105
Fixed Alc.CaptureSamples according to http://www.opentk.com/node/911 . Added convenience overloads.
2009-05-31 11:08:34 +00:00
the_fiddler
805b722b8c
Changed libopenal.so.0 dllmap (OpenAL SI) to libopenal.so.1 (OpenAL Soft).
2009-05-30 21:51:44 +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
4773f4470f
Actually sort wrapper methods in GL.cs.
2009-05-30 15:28:52 +00:00
the_fiddler
7f5150b0df
Updated tokens for DrawBuffer() method. Fixes issue [ #851 ]: "[OpenGL] DrawBuffer and DrawBuffers tokens" ( http://www.opentk.com/node/851 ).
2009-05-29 16:52:48 +00:00
the_fiddler
584fa7c761
Added M11-M44 properties to Matrix4 and Matrix4d.
...
Implemented CreateOrthographic and CreateOrthographicOffCenter static methods. Fixes issue [#676 ]: "Add Matrix4.Ortho method" (http://www.opentk.com/node/676 ).
Implemented CreateTranslation methods. Obsoleted Translation() in favor of the new methods.
2009-05-29 16:44:12 +00:00
the_fiddler
1db5d3953a
Corrected tokens for TexBuffer. Fixes issue [ #749 ]: "ARB_texture_ buffer_object" ( http://www.opentk.com/node/749 ).
2009-05-29 16:02:50 +00:00
the_fiddler
cf4a243c99
Merged the latest specs from opengl.org.
...
Replaced all instances of Version14, Version15, Version20, Version30 and Version31 enums by type-safe equivalents.
Added gloverrides.xml to support overrides to function parameters / return types. This will make future spec updates easier to merge.
Improved handling of invalid tokens in the specs.
Bindings are now written in alphabetical order. This will reduce patch size for future updates and make side-by-side comparisons easier to perform.
2009-05-29 15:57:01 +00:00
the_fiddler
14eefe7e5c
Merged TextPrinter optimization changes from gw-next2 branch.
2009-05-27 18:40:29 +00:00
the_fiddler
b5f08288c6
Removed ambiguous OpenGL overloads, because they confuse languages that don't distinguish between pass-by-reference and pass-by-value in the call-site (e.g. VB.Net). This affects functions that can take a single parameter either by reference or by value.
2009-05-21 23:34:20 +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
ac2c47e72b
Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs).
2009-05-11 13:20:35 +00:00
the_fiddler
9912691bd5
Fixed potential NRE during extension loading.
2009-05-11 10:31:50 +00:00
kanato
25fac6226d
Implement PointToScreen via poor man's method of just inverting result from PointToClient.
2009-05-11 02:18:22 +00:00
kanato
f71fdac268
Correct PointToClient so that returned point is relative to upper left corner of game window, consistent with the documentation.
2009-05-11 02:13:46 +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
62a013bddc
Cleaned up tokens for SGI_color_table (promoted by OpenGL 1.2). Fixes bug [ #834 ] "Problem between GL.ColorTable and Version12 enum" ( http://www.opentk.com/node/834 ),
...
Started implementing tokens for EXT_convolution.
2009-05-06 18:40:36 +00:00
the_fiddler
a27c15cf32
Fixed sync attribute in AudioContext constructor (patch by erluk). Fixes bug [ #830 ] "AudioContext: Wrong parameters passed to Alc.CreateContext" ( http://www.opentk.com/node/830 ).
2009-05-06 09:09:00 +00:00
the_fiddler
370396ab7f
The generator now detects and adds the FlagsAttribute to bitwise collections. Fixes bug [ #792 ] "Resharper - Bitwise operation on enum which is not marked by [Flags] attribute" ( http://www.opentk.com/node/792 ).
2009-05-05 21:00:48 +00:00
the_fiddler
9f6e2bf323
Added non-EXT EXT_blend_color constants to BlendingFactorDest/Src enums (promoted by GL1.2).
...
Added ARB_fragment_shaderFragmentShaderDerivativeHint to HintTarget enum (promoted by GL2.0).
Fixes bug [#774 ]: "Some Token corrections" (http://www.opentk.com/node/774 )
2009-05-05 20:24:09 +00:00
the_fiddler
56e95f9bf9
Fixed UniformMatrix4(..., ref Matrix4) overload (count should be 1).
2009-04-29 13:00:27 +00:00
the_fiddler
5c1656f691
Fixed Uniform2[234] overloads for Vector[234].
2009-04-29 11:02:45 +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
4335a458eb
Automatic OpenGL error checking now throws an OpenGLErrorException. This is internal, as it should not be caught by the user.
...
Added Color4 overload to GL.Uniform4.
2009-04-28 17:38:08 +00:00
the_fiddler
f84e4e062a
Bumped version number.
2009-04-20 10:19:55 +00:00
the_fiddler
675e8378ca
Disabled printing of available resolutions and extensions in debug builds.
2009-04-20 06:58:39 +00:00
the_fiddler
0ecdd1c9e3
Fixed issue http://www.opentk.com/node/794 (suppress array overloads for functions that receive/return pointers to single elements).
2009-04-15 13:14:41 +00:00
the_fiddler
75db59c202
Fixed Uniform[234] overloads for Vector[234] (they were all named Uniform2).
...
Removed 'count' parameter from UniformMatrix4 overload for Matrix4 (it is always 16).
2009-04-12 19:59:12 +00:00
the_fiddler
6f352bd9e1
Updated OpenGL bindings: 'v' suffixes are now trimmed from all functions.
...
Added Matrix4 and Vector* overloads to Uniform* methods.
2009-04-12 18:24:56 +00:00
the_fiddler
dd84fddf19
Added new matrix constructors that take 16 distinct matrix elements.
2009-04-12 16:34:35 +00:00
the_fiddler
c189bf7e75
Fixed bug #776 (Incorrect XDelta and YDelta values...)
2009-04-04 23:05:53 +00:00
the_fiddler
d91c7af694
Removed OpenAL/History.txt (issue http://www.opentk.com/node/744 ).
2009-03-30 12:50:00 +00:00
the_fiddler
5336190bbb
Updated assembly information and documentation for the 0.9.7 release.
2009-03-29 21:59:15 +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
b4f0b86239
Updated tokens for EXT_transform_feedback ( http://www.opentk.com/node/602 ). Updated tokens for ARB_uniform_ buffer_object ( http://www.opentk.com/node/748 ). The generator no longer trims the 's' suffix from Varyings.
2009-03-29 19:26:57 +00:00
the_fiddler
364bef5478
Updated tokens for ARB_uniform_ buffer_object (Issue http://www.opentk.com/node/748 ).
...
Added tokens for GetIntegeri_v/GetBooleani_v.
2009-03-29 17:44:55 +00:00