the_fiddler
94cd438166
Use identical XPath for signatures.xml and overrides.xml to unify and simplify their handlers.
2010-12-03 09:45:20 +00:00
the_fiddler
47b16778ce
Added ReadDelegates overload that works with a XPathNavigator directly. Necessary for new overrides.xml handling.
2010-12-03 09:43:08 +00:00
the_fiddler
58bebc8315
Fixed handling of output path.
2010-12-03 09:42:12 +00:00
the_fiddler
2dd61c6afd
Moved overrides file to Settings class.
2010-12-03 09:02:55 +00:00
the_fiddler
c3bfa7dc9a
Moved output filenames to Settings class.
2010-12-02 21:58:49 +00:00
the_fiddler
33bdb90b70
Updated ES 2.0 signatures with latest upstream spec.
2010-12-02 21:58:06 +00:00
the_fiddler
0ce332b318
Refactored spec reading / writing functionality into its own classes.
...
Removed legacy spec reader.
2010-12-02 21:36:05 +00:00
the_fiddler
5a408188e4
Added tokens for issue [ #2058 ]: "[GL 4.1] Viewport Array".
2010-11-21 16:11:41 +00:00
the_fiddler
bf6185907f
Added tokens for issue [ #588 ]: "ARB_geometry_shader4".
2010-11-21 16:04:11 +00:00
the_fiddler
a55102ef2f
Allow exact function name overrides for extension functions.
2010-11-21 16:03:37 +00:00
the_fiddler
ef97233198
Added tokens for [ #2056 ]: "[GL 4.1] Get Program Binary".
2010-11-21 15:45:33 +00:00
the_fiddler
6052f32c21
Added tokens for [ #2055 ]: "[GL 4.1] ES2 Compatibility".
2010-11-21 15:43:15 +00:00
the_fiddler
87feb96a92
Added tokens for [ #2057 ]: "[GL 4.1] Separate Shader Objects".
2010-11-21 15:25:12 +00:00
the_fiddler
cbc37f14f1
Added tokens for [ #2054 ]: "[GL 4.1] Vertex Attrib 64bit".
2010-11-21 15:10:45 +00:00
the_fiddler
965191a043
List required extension for core functions.
2010-11-21 15:10:12 +00:00
the_fiddler
a15ba71d77
Added and updated documentation for OpenGL 4.x.
2010-11-21 14:34:29 +00:00
the_fiddler
dddae1ac27
Print diagnostic message when docfile translation fails.
2010-11-21 14:24:34 +00:00
the_fiddler
598ec9b570
Recognize and strip mml from the new man4 documentation.
2010-11-21 14:24:05 +00:00
the_fiddler
fa76c13e17
Added tokens for [ #1799 ]: "[GL 4.0] Transform Feedback 3".
2010-11-21 11:45:13 +00:00
the_fiddler
d40a0befc7
Added tokens for [ #1798 ]: "[GL 4.0] Transform Feedback 2".
2010-11-21 11:41:38 +00:00
the_fiddler
c132ff129d
Added tokens for [ #1797 ]: "[GL 4.0] Texture Gather".
2010-11-21 11:34:34 +00:00
the_fiddler
e039e672b4
Added tokens for [ #1796 ]: "[GL 4.0] Texture Cube Map Array".
2010-11-21 11:30:55 +00:00
the_fiddler
d3e2d3fa4a
Added tokens for [ #1795 ]: "[GL 4.0] Tessellation Shader".
2010-11-21 11:26:50 +00:00
the_fiddler
5a3cbeb3ef
Allow function overrides on exact names, too (i.e. PatchParameteri vs PatchParameter).
2010-11-21 11:26:12 +00:00
the_fiddler
4d2801d329
Added tokens for [ #1794 ]: "[GL 4.0] Shader Subroutine".
...
Fixed <use> overrides for SAMPLE_SHADING and MIN_SAMPLE_SHADING_VALUE.
2010-11-21 10:47:22 +00:00
the_fiddler
4d8d039493
Added tokens for [ #1793 ]: "[GL 4.0] Sample Shading".
2010-11-21 10:33:45 +00:00
the_fiddler
d05b546a4e
Added missing tokens to ActiveAttribType (integer datatypes introduced in GL2.0 and GL3.0).
2010-11-21 10:30:59 +00:00
the_fiddler
79688eec7e
Added tokens for [ #1792 ]: "[GL 4.0] GPU Shader fp64".
2010-11-21 10:26:40 +00:00
the_fiddler
0cfc02755f
Added tokens for [ #1791 ]: "[GL 4.0] GPU Shader 5".
2010-11-21 10:22:56 +00:00
the_fiddler
9326a9f7cb
Added tokens for [ #1789 ]: "[GL 4.0] Draw Indirect".
2010-11-21 10:18:37 +00:00
the_fiddler
0b0fc8c53a
Fixed issue [ #1969 ]: "GLEnums.cs enum members in Version32 are not available in GetPName".
2010-11-21 00:33:45 +00:00
the_fiddler
b6b3ba4b83
Fixed issue [ #1956 ]: "TextureCompareMode should contain NONE".
2010-11-21 00:27:57 +00:00
the_fiddler
2c641f0ad3
Added missing ReadBufferMode.None token. Fixes issue [ #1694 ]: "missing ReadBufferMode.None".
2010-11-21 00:23:02 +00:00
the_fiddler
c0d5465cb7
Added missing EnableCap.TextureRectangle token that was introduced in OpenGL 3.1. Fixes issue [ #1806 ]: "Missing EnableCap for GL_TEXTURE_RECTANGLE".
2010-11-21 00:05:40 +00:00
the_fiddler
955478c81c
Removed OpenTK qualifier from Half type. This will be useful for future work on reducing number of delegate types.
2010-11-21 00:04:49 +00:00
the_fiddler
da5630f2f6
Synced to OpenGL spec r12819.
2010-11-21 00:04:00 +00:00
the_fiddler
df27bd7e38
Added tokens and function overrides for [ #1786 ]: "[GL3.3] Vertex Type 2.10.10.10 Reverse".
2010-11-20 23:58:31 +00:00
the_fiddler
a2d0590ebe
Added tokens for [ #1785 ]: "[GL3.3] Instanced Arrays".
2010-11-20 23:36:41 +00:00
the_fiddler
3e0f30cdb8
Added tokens for [ #1781 ]: "[GL3.3] Blend Func Extended".
2010-11-20 23:19:58 +00:00
the_fiddler
d40615def9
Added tokens for [ #1782 ]: "[GL3.3] Texture Rgb10 A2ui".
2010-11-20 23:05:43 +00:00
the_fiddler
33d99d4e6c
Added tokens for ARB_texture_swizzle. Fixes issue [ #1783 ]: "[GL3.3] Texture Swizzle".
2010-11-20 23:00:36 +00:00
the_fiddler
33907727b6
Added tokens for GL3.3 sampler queries. Fixes issue [ #1779 ]: "[GL3.3] Sampler Objects".
2010-11-19 11:30:06 +00:00
the_fiddler
c57853abb6
Resolved token conflicts in favor of tokens without reference.
2010-11-19 11:29:02 +00:00
the_fiddler
93e224ff83
Look up token references in 'All' enum as a final fallback.
2010-11-19 11:12:02 +00:00
the_fiddler
f125e66348
Added QueryTarget.AnySamplesPassed token. Fixes issue [ #1778 ]: "[GL3.3] Occlusion Query 2".
2010-11-19 10:48:48 +00:00
the_fiddler
f7c8a3adb6
Updated to latest upstream typemap.
2010-11-19 09:14:52 +00:00
the_fiddler
6f4aef89bf
Added translation from "const GLubyte*" to string and added support for struct keyword.
2010-11-19 09:14:20 +00:00
the_fiddler
069207c508
Added new OpenGL 4.1 types.
2010-11-19 09:09:45 +00:00
the_fiddler
228e321502
Merged custom overrides from enum.spec.
2010-11-19 08:50:53 +00:00
the_fiddler
68bf778718
* Source/OpenTK/OpenTK.csproj:
...
* Source/Bind/Generator.Bind.csproj:
* Source/Examples/OpenTK.Examples.csproj:
* Source/GLControl/OpenTK.GLControl.csproj:
* Source/Converter/Generator.Convert.csproj:
* Source/Build.UpdateVersion/Build.UpdateVersion.csproj: Normalized
"Documentation" configuration with "Release" configuration.
2010-11-02 17:39:43 +00:00
the_fiddler
e9345e9916
Synced manpages with khronos svn r12696.
2010-10-14 21:10:51 +00:00
the_fiddler
20dbff2b88
Removed obsolete Wgl, Glx and Glu generators.
2010-10-13 23:30:21 +00:00
the_fiddler
794a146df8
Removed unused code.
2010-10-13 23:21:11 +00:00
the_fiddler
c112bcce0e
Add required version/category and deprecation status to function summaries.
2010-10-13 23:10:32 +00:00
the_fiddler
643b617362
Do not process the function category name (we to list the original name for documentation and extension checking). The processing is moved to the Type translation code.
2010-10-13 23:09:10 +00:00
the_fiddler
4d49dc26fc
Read deprecated attribute.
2010-10-13 23:06:50 +00:00
the_fiddler
b4c8b64db8
Removed misleading comment.
2010-10-13 22:27:35 +00:00
the_fiddler
137818d10c
Moved enum, constant, delegate and function transformations to EnumProcessor and FuncProcessor respectively.
...
Removed global enum, delegate and function collections.
Simplified loading process and removed global Initialize() methods.
Read "count" attributes for function parameters in overrides.xml.
Disabled wgl/glx/glu generators.
Removed large amounts of stale code.
2010-10-13 21:41:06 +00:00
the_fiddler
31b80891e2
Do not exit immediately when debugging, to give a chance to examine the output.
2010-10-13 21:31:24 +00:00
the_fiddler
f8cd5879b1
Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [ #2077 ]: "Add UnsignedInt to ActiveUniformType".
2010-10-13 20:43:04 +00:00
the_fiddler
6f815689e7
Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [ #2077 ]: "Add UnsignedInt to ActiveUniformType".
2010-10-13 20:42:58 +00:00
the_fiddler
4e8c643c39
Added GL4Generator that utilizes xml files instead of spec files.
...
Made GL4Generator the default.
Added FuncProcessor that will contain all function transforms.
2010-10-12 17:39:14 +00:00
the_fiddler
bdbd50dd08
Moved hand-modified enums to the overrides file.
2010-10-12 17:36:14 +00:00
the_fiddler
0e9ec6824b
Mark all parameter names that match reserved keywords.
2010-10-12 17:35:40 +00:00
the_fiddler
88594afe37
Added missing license.
2010-10-12 16:55:16 +00:00
the_fiddler
2a1d85a4c0
Remove enum and constant processing from the classes with the same name and move it into its own file.
2010-10-12 16:46:08 +00:00
the_fiddler
745dae3dbe
Added support for token overrides.
2010-10-12 16:41:21 +00:00
the_fiddler
c13882d729
Regenerated to add missing items.
2010-10-12 16:34:45 +00:00
the_fiddler
6b8e3f5ace
Added xml version of spec files, generated by Generator.Convert.
2010-10-12 15:59:20 +00:00
the_fiddler
357be0e67a
Speed up documentation generation by reducing amount of disk IO (cache directory contents in memory).
2010-10-12 11:01:25 +00:00
the_fiddler
d352aed114
Speed up documentation processing by caching the results of the last transformation.
2010-10-12 11:00:46 +00:00
the_fiddler
93743f913d
Add support for function deprecation.
2010-10-10 12:28:27 +00:00
the_fiddler
9d273cee7e
All projects now read common AssemblyInfo items from GlobalAssemblyInfo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion.
2010-10-04 21:37:33 +00:00
the_fiddler
bb61dfe3f4
Added keyfile and strong-named all projects.
2010-10-04 14:39:42 +00:00
the_fiddler
5f23fbc1f0
Removed app.config file that somehow made it into the csproj.
2010-10-03 12:38:19 +00:00
the_fiddler
a4e82c0915
Added Generator.Bind and Generator.Convert projects.
...
Fixed msbuild compilation by removing the 3.5 bootstrap ItemGroups. (VS2010 added those on its own - hey, we are targeting v2.0 and we are not using ClickOnce!)
2010-10-03 12:30:39 +00:00
the_fiddler
88e6aceae0
Synced trunk with 1.0 branch.
2010-10-02 18:52:34 +00:00
the_fiddler
bca3751e8b
Synced with 1.0 branch.
2010-03-11 22:53:11 +00:00
the_fiddler
adcce2c00b
Added explicit ActiveUniformParameter enum for GetActiveUniforms function. Fixes issue [ #1443 ]: "GetActiveUniforms parameter name".
2010-02-03 20:43:42 +00:00
the_fiddler
0b3fa24c10
Added missing TEXTURE_LOD_BIAS token to TextureParameterName. Fixes issue [ #1531 ]: "TextureParameterName enum missing TEXTURE_LOD_BIAS element".
2010-02-03 20:17:02 +00:00
the_fiddler
da138163bf
Backported fix for issue [ #1538 ] from 1.0 branch.
2010-02-03 19:55:09 +00:00
the_fiddler
53b84d18d4
Backported bugfixes from 1.0 branch.
2010-02-03 19:04:42 +00:00
the_fiddler
25339f3bee
* Source/OpenTK/Compute/CL10/CL.cs:
...
* Source/OpenTK/Compute/CL10/Core.cs:
* Source/Bind/Specifications/csharp.tm:
* Source/OpenTK/Compute/CL10/Delegates.cs: cl_context_properties
should be mapped to IntPtr, not int.
Modified CreateContext signature to return ErrorCode rather than plain
int.
* Source/OpenTK/Compute/CL10/CLHelper.cs: Added helper overloads that
convert ContextProperties enums into IntPtr internally.
2010-01-04 13:29:21 +00:00
the_fiddler
7fbecbd7bd
CreateContext should return an ErrorCode, not an int.
2010-01-04 13:23:56 +00:00
the_fiddler
97b3cd2e93
Type, Parameter, ParameterCollection and Function classes now implement IComparable directly (rather than casting to strings and comparing those).
...
Modified comparison order to place pointer overloads after reference or array overloads. Fixes issue [#1098 ]: "[Bind] Work around VS bug by ensuring pointer parameters are generated last".
2009-11-17 09:26:05 +00:00
the_fiddler
3aa67b84a3
Added strongly-typed tokens for GetActiveUniformBlock, which was introduced in OpenGL 3.1. Fixes issue [ #1216 ]: "[GL] GetActiveUniformBlock* methods take ArbUniformBufferObject parameters".
2009-11-16 16:23:36 +00:00
the_fiddler
4e04838148
Added new OpenGL 3.1 tokens for ARB_texture_rectangle, ARB_shader_objects and EXT_gpu_shader4. Fixes issue [ #1355 ]: "TextureRectangle tokens for ActiveUniformType".
2009-11-16 16:14:32 +00:00
the_fiddler
9d3c251c75
VertexAttribIPointer should take the integer subset (VertexAttribIPointerType) of VertexAttribPointerType. Fixes issue [ #1166 ]: "VertexAttribIPointer pointer type parameter".
2009-11-16 15:13:57 +00:00
the_fiddler
fa2cdee5ef
Removed invalid BGRA token from VertexAttribPointerType.
2009-11-16 15:00:24 +00:00
the_fiddler
9cb660bf85
Added new OpenGL 3.x tokens to GenerateMipmap. Fixes issue [ #1162 ]: "GL.GenerateMipmap argument".
2009-11-16 14:15:56 +00:00
the_fiddler
1af4990517
Use new string(sbyte*) instead of Marshal.PtrToStringAnsi to increase performance when calling GetString to retrieve the list of available extensions.
2009-11-03 12:59:25 +00:00
the_fiddler
26b969b23e
Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [ #1313 ]: "TextureBuffer target".
2009-11-03 10:33:24 +00:00
the_fiddler
a333532d69
Added type-safe parameters to FramebufferTexture (fixes issue [ #1303 ]: "[GL] fix FramebufferTexture parameters").
2009-11-03 10:22:50 +00:00
the_fiddler
3e5f1fb994
* DocProcessor.cs: Remove any trailing newlines in XML docs. Output
...
between Mono/Linux and .Net/Windows is now consistent.
2009-11-03 08:48:49 +00:00
the_fiddler
289697176b
Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [ #1300 ]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary".
2009-11-01 19:15:44 +00:00
the_fiddler
97e07a6e24
* GL2/Generator.cs: Refactored WriteWrappers() into smaller methods. Added "using System.Text;" to all generated files that may contain StringBuilder parameters.
...
* Main.cs: Removed unused comments. Improved parameter handling. Added -o:keep_untyped_parameters option.
* Settings.cs: Added KeepUntypedEnums compatibility setting.
* Structures/Delegate.cs: Removed stale comments. Refactored CreateWrappers() method to support untyped enum overload generation and simplified method implementation. Replaced CurrentType translations with QualifiedType.
* Structures/Function.cs: Removed stale code. Fixed copy constructors to copy all necessary fields. Use QualifiedType instead of CurrentType in WrapReturnType and CreateBody methods. Made Body statement lists static to improve performance. Added hack to modify callstring casts in keep_untyped_enums wrappers. Generate call string from the Function CreateBody was called on, rather than the current Function (solves issues with invalid casts in specific cases).
* Structures/Parameter.cs: Use fully qualified type instead of current type in several caeses.
* Structures/Type.cs: Added explicit support for fully qualified types.
2009-10-27 22:37:05 +00:00
the_fiddler
584e6c48a6
GetUniformLocation: name should have in-flow.
...
Use BlendingFunctionDest instead of BlendingFunctionDst, in order to match desktop OpenGL bindings.
2009-10-23 20:20:04 +00:00
the_fiddler
bf89d0a6ab
Fixed GetVertexPointerParameter signature to comply with the specs.
2009-10-23 15:36:02 +00:00
the_fiddler
58c12d0d05
GetAttribLocation: name parameter should have a flow of in, not out.
...
Fixed a number of signatures that were different from desktop OpenGL.
2009-10-23 15:32:43 +00:00
the_fiddler
3d05a448cc
Normalized line endings.
2009-10-23 14:51:03 +00:00