the_fiddler
ac2c47e72b
Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs).
2009-05-11 13:20:35 +00:00
the_fiddler
62a013bddc
Cleaned up tokens for SGI_color_table (promoted by OpenGL 1.2). Fixes bug [ #834 ] "Problem between GL.ColorTable and Version12 enum" ( http://www.opentk.com/node/834 ),
...
Started implementing tokens for EXT_convolution.
2009-05-06 18:40:36 +00:00
the_fiddler
370396ab7f
The generator now detects and adds the FlagsAttribute to bitwise collections. Fixes bug [ #792 ] "Resharper - Bitwise operation on enum which is not marked by [Flags] attribute" ( http://www.opentk.com/node/792 ).
2009-05-05 21:00:48 +00:00
the_fiddler
9f6e2bf323
Added non-EXT EXT_blend_color constants to BlendingFactorDest/Src enums (promoted by GL1.2).
...
Added ARB_fragment_shaderFragmentShaderDerivativeHint to HintTarget enum (promoted by GL2.0).
Fixes bug [#774 ]: "Some Token corrections" (http://www.opentk.com/node/774 )
2009-05-05 20:24:09 +00:00
the_fiddler
56e95f9bf9
Fixed UniformMatrix4(..., ref Matrix4) overload (count should be 1).
2009-04-29 13:00:27 +00:00
the_fiddler
5c1656f691
Fixed Uniform2[234] overloads for Vector[234].
2009-04-29 11:02:45 +00:00
the_fiddler
4335a458eb
Automatic OpenGL error checking now throws an OpenGLErrorException. This is internal, as it should not be caught by the user.
...
Added Color4 overload to GL.Uniform4.
2009-04-28 17:38:08 +00:00
the_fiddler
675e8378ca
Disabled printing of available resolutions and extensions in debug builds.
2009-04-20 06:58:39 +00:00
the_fiddler
0ecdd1c9e3
Fixed issue http://www.opentk.com/node/794 (suppress array overloads for functions that receive/return pointers to single elements).
2009-04-15 13:14:41 +00:00
the_fiddler
75db59c202
Fixed Uniform[234] overloads for Vector[234] (they were all named Uniform2).
...
Removed 'count' parameter from UniformMatrix4 overload for Matrix4 (it is always 16).
2009-04-12 19:59:12 +00:00
the_fiddler
6f352bd9e1
Updated OpenGL bindings: 'v' suffixes are now trimmed from all functions.
...
Added Matrix4 and Vector* overloads to Uniform* methods.
2009-04-12 18:24:56 +00:00
the_fiddler
eb183f4cfe
Added stack traces to automatic error checking.
...
Added GraphicsContext.ErrorChecking property to temporarily disable error checking if necessary.
Error checking is now added to all functions in debug mode (the generator would miss specific CLS-compliant overloads before).
2009-03-29 21:41:30 +00:00
the_fiddler
b4f0b86239
Updated tokens for EXT_transform_feedback ( http://www.opentk.com/node/602 ). Updated tokens for ARB_uniform_ buffer_object ( http://www.opentk.com/node/748 ). The generator no longer trims the 's' suffix from Varyings.
2009-03-29 19:26:57 +00:00
the_fiddler
364bef5478
Updated tokens for ARB_uniform_ buffer_object (Issue http://www.opentk.com/node/748 ).
...
Added tokens for GetIntegeri_v/GetBooleani_v.
2009-03-29 17:44:55 +00:00
the_fiddler
b60bea7e8c
Generator is now able to trim function suffixes similar to 'i_v' (first introduced in OpenGL 3.0).
2009-03-29 16:11:37 +00:00
the_fiddler
d88faf0245
Updated tokens for NV_conditional_render. Issue http://www.opentk.com/node/597
2009-03-29 16:05:13 +00:00
the_fiddler
71d75282e4
Updated tokens for ARB_instanced_arrays (non-core). Issue http://www.opentk.com/node/590
2009-03-29 15:58:54 +00:00
the_fiddler
f39fc9c394
Updated tokens for ARB_copy_buffer (issue http://www.opentk.com/node/747 ).
2009-03-29 15:47:09 +00:00
the_fiddler
16809ca0db
Updated tokens for APPLE_flush_buffer_range (issue http://www.opentk.com/node/598 ).
2009-03-29 15:35:58 +00:00
the_fiddler
4abac1f814
Updated tokens for ARB_map_buffer_range (issue http://www.opentk.com/node/591 ).
2009-03-29 15:26:58 +00:00
the_fiddler
3bb28d6bd9
Updated tokens for EXT_texture_ shared_exponent (issue [ #600 ]), EXT_packed_float (issue [ #599 ]) and added new OpenGL 3.0 tokens to GetPName (major/minor version, num_extensions and context_flags) and GetStringi.
2009-03-29 15:19:53 +00:00
the_fiddler
0d5af73465
Updated tokens for EXT_gpu_shader4 (issue [ #604 ]).
2009-03-29 14:49:28 +00:00
the_fiddler
175117ceba
Updated tokens for ARB_vertex_array_object (issue [ #595 ]).
2009-03-29 14:28:44 +00:00
the_fiddler
9daced745e
Fixed '*Indexed' functions (they were wrapped as '*Indexe', with a missing 'd').
2009-03-29 14:27:07 +00:00
the_fiddler
7da0ca28ca
Updated tokens for ARB_half_float_vertex (issue [ #589 ]).
2009-03-28 15:40:51 +00:00
the_fiddler
f50879fb7f
Implemented the GL part of ARB_framebuffer_sRGB (issue [ #587 ])
2009-03-28 15:24:44 +00:00
the_fiddler
44560392b9
Fixed Draw*Instanced (were missing the 'd' from Instanced). Bug [ #586 ].
2009-03-28 14:48:20 +00:00
the_fiddler
d43e16992e
Updated tokens for ARB_depth_buffer_float (issue [ #585 ])
2009-03-28 14:44:17 +00:00
the_fiddler
b49db7be89
Initial OpenGL 3.1 support.
2009-03-28 11:04:18 +00:00
the_fiddler
9265747541
Fixed all known build warnings, apart from missing xml comments.
2009-03-25 21:53:12 +00:00
the_fiddler
8a14fdb477
Regenerated OpenGL bindings using the latest specs and generator.
2009-03-25 18:15:04 +00:00
the_fiddler
90820c9f7e
Revert invalid change from previous commit (GraphicsMode now belongs to IGraphicsContext).
2009-03-25 18:05:52 +00:00
the_fiddler
7a57fbd8a7
Added automatic error checking for all OpenGL function calls (debug mode only). Begin()-End() regions are handled correctly.
2009-03-25 17:55:37 +00:00
the_fiddler
46b0cc4a36
*GraphicsContext.Assert() should throw GraphicsContextMissing exception.
2009-03-23 11:42:17 +00:00
the_fiddler
93a467a11f
Moved GraphicsMode to IGraphicsContext as it is universally useful.
...
Implemented GraphicsMode property on X11 and Mac OS X.
Replaced tabs with spaces in AglContext.cs.
2009-03-23 11:41:11 +00:00
the_fiddler
2062d231d0
Bind now maps 'void*' to generics ('ref T', 'T[]', 'T[,]' and 'T[,,]') instead of 'object'.
...
The doc processor can now document more OpenGL functions (e.g. GL.Color3).
Cleaned up several pieces of code in Bind (but I'm afraid it's hopeless - spaghetti code at its greatest).
2009-03-21 21:44:07 +00:00
the_fiddler
04ebcff4fb
Corrected the mapping of Byte/SByte wrappers -> entry points. Swapped CLSCompliant attribute between Byte and SByte (Bytes are, SBytes are not).
2009-03-08 22:00:13 +00:00
the_fiddler
a29c32d774
Fixed the mapping between unsigned and signed wrappers -> entry points (no unsigned <-> signed casting). Regenerated bindings.
2009-03-08 19:19:52 +00:00
the_fiddler
7a0b600ece
Regenerated the bindings using the updated generator - equations are now correctly reported.
2009-03-08 18:38:17 +00:00
the_fiddler
875263e46a
Added support for inline OpenGL documentation.
2009-03-08 00:46:58 +00:00
the_fiddler
a0e0613420
Added the capability to specify the desired OpenGL version and parameters (debug / forward-compatible context).
...
Added OpenGL 3.0 support for GLX contexts.
Added support for creating dummy contexts (useful if you are creating contexts from an external library).
Cleaned up unused and stale code.
2009-03-07 10:36:51 +00:00
the_fiddler
e6080ea77a
Implemented GL.SupportsFunction(MethodInfo).
2009-02-28 20:00:34 +00:00
the_fiddler
dd13f98e83
Merged changes from gl3 branch.
...
Added [AutoGenerated] attribute to all bindings.
2009-02-28 19:30:48 +00:00
the_fiddler
a22019d890
Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files.
2009-02-22 10:43:35 +00:00
kanato
81e09a2066
Merged in macos branch for Mac OS X support.
2009-02-20 18:57:57 +00:00
the_fiddler
d245773e58
Fixed version strings in GL.SupportsExtension().
2009-02-20 18:33:30 +00:00
the_fiddler
7651a7a3bb
Merged text branch and updated changelog.
2009-02-13 19:09:38 +00:00
the_fiddler
eb811d16b7
Fixed line endings.
2009-02-12 23:45:24 +00:00
the_fiddler
00dc559578
Now uses String.Empty instead of "".
2009-02-12 23:43:30 +00:00
the_fiddler
5135a25828
Add GL.BlendColor(System.Drawing.Color) overload.
2009-02-12 01:00:07 +00:00
the_fiddler
780487ae55
Applied rdrake's patch for LoadMatrix, etc Matrix4d helpers.
2009-01-31 08:40:11 +00:00
the_fiddler
e0f981d4c5
Added int overloads to [FogCoord|EdgeFlag|VertexAttrib]Pointer, to avoid issues with the object vs IntPtr overloads.
2009-01-29 00:37:08 +00:00
the_fiddler
66ceeb03d0
Added int overloads to [Vertex|Normal|Index|Color]Pointer, to avoid issues with the object vs IntPtr overloads.
2009-01-29 00:26:52 +00:00
the_fiddler
9f25573a0b
Made the Color4 structure serializable and added == and != operators.
2009-01-23 15:50:31 +00:00
the_fiddler
7631328485
Added Color4 structure and overloads for Materialv/Lightv.
2009-01-23 15:24:57 +00:00
the_fiddler
e19a6f9c7d
Made GraphicsMode public, as it is generally useful.
2009-01-23 15:24:09 +00:00
kanato
083caef1c1
Mac OS updates:
...
Window State support (minimize and maximize)
Preliminary full screen support.
Preliminary support for changing the screen resolution.
2009-01-14 19:52:15 +00:00
the_fiddler
2ce6227e64
Moved DummyGLContext and DummyGLControl to the OpenTK/Platform/Dummy directory and namespace.
...
Fixed a regression where the GLControl would try to instantiate a normal context inside the VS designer, instead of a dummy one.
2008-12-09 10:09:03 +00:00
the_fiddler
61181ea785
Added Assert function for checking whether a GraphicsContext is exists in the calling thread.
2008-11-20 22:25:28 +00:00
the_fiddler
701b95c00f
Added xml docs.
...
Added GraphicsContextMissingException for use when a GraphicsContext is expected but not found.
2008-11-20 22:24:11 +00:00
the_fiddler
03fabcfb91
Added GenTexture and DeleteTexture helpers for single textures.
2008-11-20 22:23:08 +00:00
the_fiddler
c79de2439b
Make GL.SupportsExtension ignore underscores.
...
Fixed GL_VERSION_1_1 support.
Added GL_VERSION_3_0.
2008-11-18 12:42:35 +00:00
kanato
8b65201145
Initial commit with Mac OS support.
2008-11-04 18:35:17 +00:00
the_fiddler
d129fc26d9
Commented out an unused code block.
2008-07-10 21:13:01 +00:00
the_fiddler
981b8ab4c5
StencilFuncSeparate and BlendingFactorDest/Src fixes.
2008-07-10 15:14:04 +00:00
the_fiddler
5cb7606df9
Added System.Drawing.Rectangle and RectangleF overloads to GL.Rect.
2008-06-24 18:23:32 +00:00
the_fiddler
601f6d8caa
Renamed CreateFromCurrentContext to CreateFromCurrentThread.
2008-05-19 20:55:53 +00:00
the_fiddler
548d4b2aef
Initial support for external contexts.
2008-05-19 20:54:44 +00:00
the_fiddler
539370d4b7
Passing null to ChangeResolution will restore the original resolution.
2008-05-04 16:26:54 +00:00
the_fiddler
eaaf67d903
Modified the SelectResolution to never fail, even if the specified resolution is not supported. In this case, it will return the current resolution.
2008-05-04 16:25:00 +00:00
the_fiddler
be47934899
* GLHelper.cs: Added helpers for GetProgramInfoLog, VertexAttrib* and
...
MultiTexCoord*
2008-05-01 12:44:47 +00:00
the_fiddler
d0aa219d11
Temporarily disabled full screen fade effect on resolution change.
2008-04-22 21:10:20 +00:00
the_fiddler
742e70e3ef
Fixed a missing call to Debug.Unindent() during context construction.
2008-04-20 17:47:26 +00:00
the_fiddler
e1cfb32554
Fix line endings.
2008-04-20 11:14:10 +00:00
the_fiddler
57b097f7d0
Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics.
2008-04-13 16:45:56 +00:00
the_fiddler
e86899637b
Applied teichgraf's patch that adds LoadTransposeMatrix overloads, and makes LoadMatrix user ref Matrix4 instead.
2008-04-11 19:33:56 +00:00
the_fiddler
d02195e7a1
Fixed TexEnvMode.Replace.
2008-04-11 18:19:07 +00:00
the_fiddler
4b45494433
Removed obsolete GetDisplayModes() function.
2008-04-04 21:08:09 +00:00
the_fiddler
63608b1dd7
Updates to GameWindow shutdown and X11 locking behavior.
2008-03-26 19:43:57 +00:00
the_fiddler
e1ea2ff0e8
Removed IGLContextCreationHack interface (no longer used).
2008-03-24 13:24:32 +00:00
the_fiddler
ef16998dca
Use one display connection for all X11 communication. Seems to fix (not 100%) the crash problems encountered.
2008-03-24 13:12:02 +00:00
the_fiddler
c34440903f
Debug message when creating default GraphicsMode.
2008-03-23 12:55:33 +00:00
the_fiddler
4123fbfeab
Cache default display mode.
2008-03-23 12:51:41 +00:00
the_fiddler
0e2dc9f2f4
Renamed.
2008-03-03 12:46:58 +00:00
the_fiddler
9d0ccab836
Initial commit.
2008-03-03 12:46:46 +00:00
the_fiddler
f4a9d918bb
Initial commit.
2008-03-03 12:46:17 +00:00
the_fiddler
37c40f16eb
Renamed ColorDepth to ColorFormat, to avoid class with System.Drawing.ColorDepth.
...
Update X11 stack to use System.Windows.Forms.XPlatUI for its Display, Screen and RootWindow.
Fixed mode setting for X11GLControl.
Fixed X11 shutdown (was generating X11 errors).
Added DeviceContext getter to WinWindowInfo.
Made IWindowInfo disposable.
Added documentation to many public methods.
Worked around a Mono 1.2.4 bug with Handle creation on Windows.Forms.Control.
Updated GL.BuildExtensionList to correctly parse GL_VERSION when in indirect rendering mode.
Fixed crash errors in X11GLContext.CreateContext and X11GraphicsMode.
Added a ref overload to Glx.ChooseVisual()
IGraphicsContext.MakeCurrent now takes an IWindowInfo parameter. This allows the user to change to window is context is bound to (untested).
Renamed XyzWindowInfo.Handle to XyzWindowInfo.WindowHandle.
2008-03-03 12:44:56 +00:00
the_fiddler
e10d37418f
Major update: fixed context construction on X11.
...
Fixed vsync on X11.
Updated GraphicsContext interface, for better extensibility. Some public functions were moved to IGraphicsContextInternal.
Renamed DisplayDevice.PrimaryDisplay to DisplayDevice.Default.
Updated and documented new GameWindow constructors.
Improved GameWindow.Exit, added GameWindow.ExitAsync() and improved error handling.
Improved GraphicsContext and NativeGLWindow APIs (construction in constructor).
Made ContextHandle public.
2008-03-01 13:15:31 +00:00
the_fiddler
1d3c358512
Renamed GraphicsFormat to GraphicsMode.
2008-02-28 15:28:40 +00:00
the_fiddler
19298179db
Renamed file.
2008-02-28 15:26:51 +00:00
the_fiddler
ee1431279f
Renamed GraphicsFormat to GraphicsMode.
2008-02-28 15:26:13 +00:00
the_fiddler
83afd98314
Updated to use new IWindowInfo interface.
...
Updated to use GraphicsFormat instead of DisplayMode.
Updated to use ColorDepth instead of ColorMode.
Improved GameWindow Exit handling, and handling of failed context creation.
Improved WinGLContext creation code, to allow for FSAA support in the future.
Fixed several shutdown bugs in WinGLContext and GraphicsContext.
Context creation no longer relies on IGLContextCreationHack.
X11GLContext is not working at the moment.
2008-02-28 13:57:07 +00:00
the_fiddler
e334fd9afe
Initial commit.
2008-02-28 13:38:19 +00:00
the_fiddler
3ee626a08f
Fixed a few warnings.
...
Added [assembly: CLSCompliant(true)] attribute to GameWindow.cs
2008-02-02 13:39:23 +00:00
the_fiddler
a9e2ce4a00
Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL.
2008-02-02 00:58:26 +00:00
the_fiddler
84aa1bcbeb
Moved Glu to OpenTK.Graphics.OpenGL.Glu
2008-02-02 00:28:03 +00:00
the_fiddler
1624e5ab92
Moved OpenGL bindings to OpenTK.Graphics.OpenGL from OpenTK.OpenGL.
...
Updated bindings with new FBO tokens.
2008-02-02 00:25:54 +00:00
the_fiddler
27a708a25d
Moved and renamed OpenTK.IGLContext to OpenTK.Graphics.IGraphicsContext.
2008-01-31 14:42:21 +00:00
the_fiddler
d87e79268f
Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext.
2008-01-31 14:39:54 +00:00
the_fiddler
32ba276bb5
Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext.
2008-01-31 14:34:13 +00:00