the_fiddler
0b9485509f
Added missing XML comments.
2009-06-04 11:27:25 +00:00
the_fiddler
402230b61c
Fixed a large amount of documentation warnings.
...
Marked several APIs as obsolete.
2009-06-04 11:22:20 +00:00
the_fiddler
fc521c8d59
Updated documentation for IGraphicsContext.ErrorChecking.
2009-06-04 10:37:40 +00:00
the_fiddler
f8d89e597d
GraphicsContext.GetCurrentContext now returns an IGraphicsContext instead of a GraphicsContext.
...
Fixed Texture2D finalizer.
Removed GraphicsContext.[Enter|Exit]BeginRegion(). GL.Begin|End now calls IGraphicsContext.ErrorChecking = false.
2009-06-04 10:34:12 +00:00
the_fiddler
cb661c2dca
Merged gw-next2 branch to trunk.
2009-06-02 15:49:39 +00:00
the_fiddler
3637d6ebca
Fixed Stencil property in ToString().
2009-06-01 11:04:37 +00:00
the_fiddler
37d9cdd878
Do not set the "indexed" flag for 0 bpp.
2009-06-01 11:04:10 +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
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
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
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
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
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
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
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
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
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
the_fiddler
b60bea7e8c
Generator is now able to trim function suffixes similar to 'i_v' (first introduced in OpenGL 3.0).
2009-03-29 16:11:37 +00:00
the_fiddler
d88faf0245
Updated tokens for NV_conditional_render. Issue http://www.opentk.com/node/597
2009-03-29 16:05:13 +00:00
the_fiddler
71d75282e4
Updated tokens for ARB_instanced_arrays (non-core). Issue http://www.opentk.com/node/590
2009-03-29 15:58:54 +00:00
the_fiddler
f39fc9c394
Updated tokens for ARB_copy_buffer (issue http://www.opentk.com/node/747 ).
2009-03-29 15:47:09 +00:00
the_fiddler
16809ca0db
Updated tokens for APPLE_flush_buffer_range (issue http://www.opentk.com/node/598 ).
2009-03-29 15:35:58 +00:00
the_fiddler
4abac1f814
Updated tokens for ARB_map_buffer_range (issue http://www.opentk.com/node/591 ).
2009-03-29 15:26:58 +00:00
the_fiddler
3bb28d6bd9
Updated tokens for EXT_texture_ shared_exponent (issue [ #600 ]), EXT_packed_float (issue [ #599 ]) and added new OpenGL 3.0 tokens to GetPName (major/minor version, num_extensions and context_flags) and GetStringi.
2009-03-29 15:19:53 +00:00
the_fiddler
0d5af73465
Updated tokens for EXT_gpu_shader4 (issue [ #604 ]).
2009-03-29 14:49:28 +00:00
the_fiddler
175117ceba
Updated tokens for ARB_vertex_array_object (issue [ #595 ]).
2009-03-29 14:28:44 +00:00
the_fiddler
9daced745e
Fixed '*Indexed' functions (they were wrapped as '*Indexe', with a missing 'd').
2009-03-29 14:27:07 +00:00
the_fiddler
7da0ca28ca
Updated tokens for ARB_half_float_vertex (issue [ #589 ]).
2009-03-28 15:40:51 +00:00
the_fiddler
f50879fb7f
Implemented the GL part of ARB_framebuffer_sRGB (issue [ #587 ])
2009-03-28 15:24:44 +00:00
the_fiddler
44560392b9
Fixed Draw*Instanced (were missing the 'd' from Instanced). Bug [ #586 ].
2009-03-28 14:48:20 +00:00
the_fiddler
d43e16992e
Updated tokens for ARB_depth_buffer_float (issue [ #585 ])
2009-03-28 14:44:17 +00:00
the_fiddler
b49db7be89
Initial OpenGL 3.1 support.
2009-03-28 11:04:18 +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
8a14fdb477
Regenerated OpenGL bindings using the latest specs and generator.
2009-03-25 18:15:04 +00:00
the_fiddler
90820c9f7e
Revert invalid change from previous commit (GraphicsMode now belongs to IGraphicsContext).
2009-03-25 18:05:52 +00:00
the_fiddler
7a57fbd8a7
Added automatic error checking for all OpenGL function calls (debug mode only). Begin()-End() regions are handled correctly.
2009-03-25 17:55:37 +00:00
the_fiddler
46b0cc4a36
*GraphicsContext.Assert() should throw GraphicsContextMissing exception.
2009-03-23 11:42:17 +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