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
the_fiddler
9223285fd7
Added correct enum types for GetString and ShaderBinary.
...
Added EnableCap tokens to GetPName, in accordance to specs.
2009-10-23 07:19:09 +00:00
the_fiddler
968dc4e299
Fixed return types for GetError and CheckFramebufferStatus.
...
Updated enum types for consistency with OpenGL.
2009-10-23 06:54:15 +00:00
the_fiddler
61f4a8b0cc
Regenerated signatures with fixed out parameters.
2009-10-22 23:06:34 +00:00
the_fiddler
8da604c18f
Merged third part of ES 2.0 cleanup (issue [ #1015 ]: "[ES 2.0] Cleanup #3 ").
2009-10-22 21:41:30 +00:00
the_fiddler
8e67b0ace2
Merged second part of ES 2.0 cleanup (issue [ #1014 ]: "[ES 2.0] Cleanup #2 ").
2009-10-22 21:34:34 +00:00
the_fiddler
f8c49a54d4
Merged first part of ES 2.0 cleanup (issue [ #1013 ]: "[ES 2.0] Cleanup #1 ").
2009-10-22 21:24:54 +00:00
the_fiddler
239d98e860
Added distinct /overrides/add and /overrides/replace elements.
...
Added check for the existence of override elements before trying to use them (avoids potential null reference exception).
Regenerated bindings using the latest version of the generator.
2009-10-17 21:49:35 +00:00
the_fiddler
0fd6651fd2
Fixed issue [ #1240 ]: "Generic ref and out wrappers do not copy results to the reference parameter", by assigning the GCHandle.Target back to the reference parameter.
2009-10-17 20:02:53 +00:00
the_fiddler
0ade61a5cf
Added override for GetProgramInfoLog: infolog parameter should have a flow of 'out'.
2009-10-17 16:31:33 +00:00
the_fiddler
6d2c0be7b3
Support adding new enum definitions through overrides.xml.
2009-10-14 22:50:25 +00:00
the_fiddler
babb54c00c
Avoid translating names that do not need translation (i.e. are not in ALL_CAPS).
2009-10-14 22:49:04 +00:00
the_fiddler
2990e45e0b
* signatures.xml: Fixed long enum types.
2009-10-09 06:01:39 +00:00
the_fiddler
92de857809
* ES/ESGenerator.cs: Set enum Type property.
...
* Structures/Enum.cs: Added enum Type property.
Removed Enum(string) constructor in favor of C# 3.0 syntax (new Enum()
{ Name = ... }).
2009-10-09 05:48:10 +00:00
the_fiddler
b234593f14
* Generator.cs: Use Settings.FunctionPrefix when searching for
...
documentation (instead of hardcoded "gl" prefix).
2009-10-09 05:34:10 +00:00
the_fiddler
479c9f3f10
* Main.cs:
...
* CL/CLGenerator.cs: Made CLGenerator inherit from ESGenerator. Reduces code duplication significantly.
2009-10-09 05:25:53 +00:00
the_fiddler
b76e933355
* Specifications/CL10/signatures.xml: Updated specs with information on enum types (long or int).
2009-10-09 05:09:23 +00:00