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
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
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