the_fiddler
cd9dcb2cb5
Update to latest version of generator.
2010-10-13 23:14:27 +00:00
the_fiddler
32368a8dc3
Use correct casing on Du8dv8Ati.
2010-10-12 17:34:59 +00:00
the_fiddler
42fdd873ff
Set the correct, platform-specific GetCurrentContext implementation on startup. Ensures the correct function of dummy contexts.
2010-10-09 18:53:20 +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
144e6b6947
Re-enabled CL10, ES10 and ES11 bindings in trunk.
2009-11-17 10:04:00 +00:00
the_fiddler
77c4c2ee2d
Merged fix for [ #1386 ] from branches/1.0.
2009-11-17 09:59:36 +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
6263153aa8
Disabled CL10, ES10 and ES11 bindings which were not finalized in time for OpenTK 1.0.
2009-11-10 06:39:27 +00:00
the_fiddler
e9d7d147d8
Color4(byte, byte, byte, byte) constructor now correctly normalizes values to the 0.0 - 1.0 range.
2009-11-10 00:09:04 +00:00
the_fiddler
c494250c3c
Disabled OpenTK.Point, Size and Rectangle structures that were meant to replace their System.Drawing implementations until the correct course of action can be determined. This change is too disruptive to existing applications, especially if they are also using Windows.Forms (see discussion here: http://www.opentk.com/node/1348 ).
2009-11-08 23:02:53 +00:00
the_fiddler
f03a6ddc76
Added system-defined colors.
...
Added and improved constructors (more versatile).
Added ToArgb() method for improved System.Drawing.Color interop.
2009-11-07 19:38:40 +00:00
the_fiddler
b353b62115
Added helper overloads for OpenTK.Point/Rectangle structures.
2009-11-04 19:24:21 +00:00
the_fiddler
c2d92f5aca
Added simpler constructor overload for external GraphicsContexts.
2009-11-04 17:18:32 +00:00
the_fiddler
839406aec4
Don't forget to load all bindings when constructing an external context - this constructor was added for precisely this reason, after all.
2009-11-04 17:14:57 +00:00
the_fiddler
30afae50c6
Deprecated the LoadAll() method in favor of the new GraphicsContext constructors.
2009-11-04 17:03:59 +00:00
the_fiddler
cc8ac7df14
Added missing documentation to GraphicsContext constructor.
2009-11-04 17:00:34 +00:00
the_fiddler
2d4b962d2c
Renamed internal BindingsBase.LoadAll/Load methods to LoadEntryPoints/LoadEntryPoint, in order to avoid name clashes with the static GL.LoadAll() method.
...
Added GraphicsContext() constructor that takes an existing, valid OpenGL context. This can be used for interop with third-party toolkits which create the OpenGL context themselves.
2009-11-04 16:49:56 +00:00
the_fiddler
2ba3e5357e
Serialize context construction to avoid threading issues with shared contexts.
2009-11-03 23:39:03 +00:00
the_fiddler
ddb56a1952
Added SyncRoot object to BindingsBase that can be used to protect shared state in the various bindings.
2009-11-03 23:26:57 +00:00
the_fiddler
043e0fec2f
Fixed race condition in GraphicsMode.Default.
2009-11-03 13:16:59 +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
923ebc7efb
Renegerated bindings using the latest version of the generator (improved handling of types in the System and System.Text namespaces).
2009-10-27 22:51:57 +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
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
1803ea7004
Added applicable helper overloads from desktop OpenGL.
...
Added missing license information.
2009-10-23 06:59:04 +00:00
the_fiddler
b0607ede68
Regenerated bindings using the latest overrides.xml: out parameters for Get/Gen methods; fixed return types for GetError and CheckFramebufferStatus. improved consistency with desktop OpenGL bindings.
2009-10-23 06:58:04 +00:00
the_fiddler
d06191d464
Regenerated ES 2.0 bindings using the new, strongly-typed enums.
...
Fixed sample to use those new enums.
2009-10-22 21:49:11 +00:00
the_fiddler
8fbea23db2
Use StringBuilder.Capacity to specify the available buffer size in OpenGL interop (StringBuilder.Length is invalid in this case).
...
Added workaround for Mono 1.9.1 issue, where StringBuilder return truncated results when used in interop. Doubling the StringBuilder capacity fixes this issue.
2009-10-21 17:26:07 +00:00
the_fiddler
8c85493324
Route overloads through GL class instead of calling the Delegates directly. Ensures that automatic error checking will work as expected.
2009-10-19 09:10:32 +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
723a0dccf2
Fixed GetDouble implementation to return correct values (should call GetDouble not GetFloat!) Fixes issue [ #1235 ]: "Matrix4d wrong value on GL.GetDouble".
2009-10-15 14:37:26 +00:00
the_fiddler
d7cc044144
* OpenGL/GLHelper.cs: Removed static GetAddress method in favor of
...
implementation inherited from GraphicsBindingsBase.
Disabled unused code.
2009-10-07 11:23:40 +00:00
the_fiddler
5294845a91
* GraphicsContext.cs: Removed unused code.
2009-10-07 11:22:48 +00:00
the_fiddler
0ac37632a4
* BindingsBase.cs:
...
* Graphics/BindingsBase.cs:
* Graphics/GraphicsBindingsBase.cs: Moved GraphicsBindingsBase to its
own file.
Moved BindingsBase to root OpenTK folder (reason: BindingsBase is not
specific to OpenTK.Graphics anymore).
Documented GetAddress methods.
2009-10-07 10:52:48 +00:00