the_fiddler
7bcbfc7072
Added conditional compilation and the necessary classes to compile OpenTK without referencing System.Drawing.dll. To build without System.Drawing, add "MINIMAL" to the conditional compilation symbols. Note that this is an experimental feature that will result in a source- and binary-incompatible dll.
2011-12-08 00:03:14 +00:00
the_fiddler
02bfac7d59
Removed invalid TextureParameterName.Red token. Fixes issue [ #2789 ]: "TextureParameterName.Red".
2011-12-07 00:28:13 +00:00
the_fiddler
af2c2fc64b
Further improvements to suffix trimming regexes. Now matches GetInteger(ui)64 and does not match functions ending in "Coord", "Attrib", "Access" and more.
2011-12-07 00:22:10 +00:00
the_fiddler
22d3b26769
Ensured function names are trimmed using the same code as documentation and function parameters.
...
Improved trimming for functions with '64' suffices.
2011-12-07 00:01:48 +00:00
the_fiddler
cba5f45415
Added missing TextureEnvMode.Replace token. Fixes issue [ #2791 ]: "TextureEnvMode.Replace missing".
2011-12-06 21:49:43 +00:00
the_fiddler
b3f846dbc6
Implemented IGraphicsContext.SwapInterval property that supersedes IGraphicsContext.VSync. Fixes issue [ #2671 ]: "Expose SwapInterval to GameWindow".
2011-09-06 12:06:30 +00:00
the_fiddler
585a07358e
Added UniformBlockReferencedByGeometryShader token to ActiveUniformBlockParameter. Fixes issue [ #2616 ]: "ActiveUniformBlockParameter.UniformBlockReferencedByGeometryShader is missing".
2011-07-26 14:09:12 +00:00
the_fiddler
921944ce90
Added ColorWritemask to GetIndexedPName. Fixes issue [ #2509 ]: "Missing GetIndexedPName.ColorWritemask as GetBoolean parameter".
2011-07-26 12:35:50 +00:00
the_fiddler
c7bc4bffe1
Added missing tokens for ARB_texture_buffer_object (core since GL3.1). Fixes issue [ #2615 ]: "GetPName.MaxTextureBufferSize is missing".
2011-07-26 12:14:17 +00:00
the_fiddler
98919ef36d
Regenerated OpenGL bindings using the 06 July 2011 specs and the latest binding generator that includes documentation comments to enums.
2011-07-26 11:56:15 +00:00
the_fiddler
c000fd4bb4
Synced with newest version of the binding generator: use IntPtr instead of System.IntPtr; update license text.
...
Reverted breaking change to Gl3Dfx* enums (the gl4 branch turned those into Gl3dfx).
2010-12-06 14:33:33 +00:00
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