Commit graph

171 commits

Author SHA1 Message Date
the_fiddler
11fbdbf403 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
083478e8a5 Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs). 2009-05-11 13:20:35 +00:00
the_fiddler
09f783f860 Synced OpenGL docs with Khronos SVN. 2009-05-11 10:59:17 +00:00
the_fiddler
f2b1fb20da 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-07 10:31:44 +00:00
the_fiddler
222bded7ff 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
03aeb850d2 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
157ac7b3e2 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
58faedc0fd Generator now trims 'v' suffixes from all functions and marks resulting non cls-compliant overloads as such.
Bumped version number.
2009-04-12 18:23:01 +00:00
the_fiddler
2f355a8bb5 Changed default output path for the generator to overwrite OpenTK/Graphics/GL. 2009-04-12 17:08:16 +00:00
the_fiddler
54f1dfc26c Updated assembly information and documentation for the 0.9.7 release. 2009-03-29 21:59:15 +00:00
the_fiddler
3f41f1eaf5 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
0888af5abf 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
e3a7d702ca 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
c2fa32829f 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
ca63c874a0 Updated tokens for NV_conditional_render. Issue http://www.opentk.com/node/597 2009-03-29 16:05:13 +00:00
the_fiddler
6243477580 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
66713a7e03 Updated tokens for ARB_copy_buffer (issue http://www.opentk.com/node/747). 2009-03-29 15:47:09 +00:00
the_fiddler
417ff1acb2 Updated tokens for APPLE_flush_buffer_range (issue http://www.opentk.com/node/598). 2009-03-29 15:35:58 +00:00
the_fiddler
91951a0d8b Updated tokens for ARB_map_buffer_range (issue http://www.opentk.com/node/591). 2009-03-29 15:26:58 +00:00
the_fiddler
447ecb46f3 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
4ee1108523 Updated tokens for EXT_gpu_shader4 (issue [#604]). 2009-03-29 14:49:28 +00:00
the_fiddler
cd9b0ff5c7 Updated tokens for ARB_vertex_array_object (issue [#595]). 2009-03-29 14:28:44 +00:00
the_fiddler
978ccdd6f5 Fixed '*Indexed' functions (they were wrapped as '*Indexe', with a missing 'd'). 2009-03-29 14:27:07 +00:00
the_fiddler
aa7c0e11af Updated tokens for ARB_half_float_vertex (issue [#589]). 2009-03-28 15:40:51 +00:00
the_fiddler
7dd8111bb1 Implemented the GL part of ARB_framebuffer_sRGB (issue [#587]) 2009-03-28 15:24:44 +00:00
the_fiddler
a2c1d83b04 Fixed Draw*Instanced (were missing the 'd' from Instanced). Bug [#586]. 2009-03-28 14:48:20 +00:00
the_fiddler
9330ec16fe Updated tokens for ARB_depth_buffer_float (issue [#585]) 2009-03-28 14:44:17 +00:00
the_fiddler
08885ac914 Initial OpenGL 3.1 support. 2009-03-28 11:04:18 +00:00
the_fiddler
bae796307d Updated version numbers and documentation for the 0.9.6 release. 2009-03-25 22:46:31 +00:00
the_fiddler
caa0921b1c * Resources.Designer.cs: Deleted unused file.
* Settings.cs: Changed default output directory to fit with the current OpenTK project structure.
* GL2/Generator.cs: Suppressed documentation warnings in the generated bindings.
2009-03-25 21:48:14 +00:00
the_fiddler
9dde7c65a8 Disabled all generator modes other than OpenGL. 2009-03-25 19:41:10 +00:00
the_fiddler
ddc5e503ca Merged latest OpenGL specs (registry version 48). 2009-03-25 17:56:50 +00:00
the_fiddler
fc103aa8ec 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
3c5fd61baa Bind now maps 'void*' to generics ('ref T', 'T[]', 'T[,]' and 'T[,,]') instead of 'object'.
The doc processor can now document more OpenGL functions (e.g. GL.Color3).
Cleaned up several pieces of code in Bind (but I'm afraid it's hopeless - spaghetti code at its greatest).
2009-03-21 21:44:07 +00:00
the_fiddler
280b8525ea Updated version numbers and documentation for 0.9.5 release. 2009-03-08 22:19:00 +00:00
the_fiddler
e3ff29a068 Corrected the mapping of Byte/SByte wrappers -> entry points. Swapped CLSCompliant attribute between Byte and SByte (Bytes are, SBytes are not). 2009-03-08 22:00:13 +00:00
the_fiddler
c9e8d2f686 Fixed the mapping between unsigned and signed wrappers -> entry points (no unsigned <-> signed casting). Regenerated bindings. 2009-03-08 19:19:52 +00:00
the_fiddler
2bf0e4731f Fixed the path separators so that they work on Unix.
Improved the output for the doc processor: MathML equations are replaced by their textual representation and whitespace better matches function declarations.
Added new configuration settings for the doc processor and the license.
Removed stale debugging code.
License.txt is now a file, not a resource.
2009-03-08 18:08:35 +00:00
the_fiddler
f918720afd Added support for inline OpenGL documentation. 2009-03-08 00:46:58 +00:00
the_fiddler
87c04d5bfc Prepare for 0.9.4 release. 2009-03-01 09:55:22 +00:00
the_fiddler
3656003844 Now prints the OpenTK license and adds the [AutoGenerated] attribute to the generated bindings. 2009-02-28 19:29:34 +00:00
the_fiddler
08bf5e52ad Merged changes from gl3 branch. 2009-02-28 18:50:16 +00:00
the_fiddler
eb8358a215 Set eol-style: native and mime-type: text/plain properties. 2009-02-28 15:28:16 +00:00
the_fiddler
6e5eaf4653 Set SVN mime-type to text/plain and eol-style to native. 2009-02-22 15:51:06 +00:00
the_fiddler
69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
0972010bc0 Added missing tokens to BlendEquationSrc/Dest enums. 2008-07-10 15:09:29 +00:00
the_fiddler
327d649731 Fixed StencilFuncSeparate parameters types (StencilFace and StencilFunction instead of StencilFunction).
Added StencilFace enum.
2008-07-10 15:04:46 +00:00
the_fiddler
1410cac7d3 Fixed TexEnvMode.Replace.
Added a "press any key to continue..." message when an error happens.
2008-04-11 18:19:34 +00:00
the_fiddler
c5fff6bb7d Fixed GL.ReadPixels (was GL.ReadPixel) 2008-03-01 13:11:15 +00:00
the_fiddler
5692eb125b Fixed type translation. 2008-02-02 13:24:41 +00:00