the_fiddler
ddb0f67048
Synced gl4 branch with trunk.
2010-12-04 19:02:50 +00:00
the_fiddler
e9505ccb96
Updated using the latest version of the generator, which improves documentation and handling of extension names in enums.
2010-12-03 11:28:16 +00:00
the_fiddler
bdde353a9e
Added ARB/EXT ProgramParameter overloads for compatibility with opentk-1.0-2010-10-06.
2010-12-02 20:53:59 +00:00
the_fiddler
569c4c86c7
Refactored and simplified DisplayDevice detection (devices are now stored in the platform-specific drivers instead of the frontend).
...
Made XRR resolution changes more robust.
Resolution changes now refresh the DisplayDevices on Windows.
2010-11-21 20:16:18 +00:00
the_fiddler
6cfb81246e
Updated OpenGL bindings with strongly-typed support for OpenGL 3.3, 4.0 and 4.1 specs.
2010-11-21 16:22:42 +00:00
the_fiddler
0a53002ad3
Added new OpenGL 4.1 types.
2010-11-19 09:09:58 +00:00
the_fiddler
896a2b0739
Print useful information in ToString() method.
...
Updated license text.
2010-11-08 21:46:36 +00:00
the_fiddler
3a967fcfb7
Added GraphicsModeComparer for GraphicsMode comparisons.
...
Added WinInputBase as a base abstraction for all win32 input class.
2010-11-08 19:45:58 +00:00
the_fiddler
3e0f5e045e
Added >, >=, < and <= operators.
2010-11-08 19:42:53 +00:00
the_fiddler
823fd29ce7
Avoid using deprecated methods.
2010-10-28 09:00:36 +00:00
the_fiddler
cd9dcb2cb5
Update to latest version of generator.
2010-10-13 23:14:27 +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
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