Commit graph

91 commits

Author SHA1 Message Date
the_fiddler
60665a76a4 *GraphicsContext.Assert() should throw GraphicsContextMissing exception. 2009-03-23 11:42:17 +00:00
the_fiddler
c7adcbb79b 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
3c5fd61baa 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
e3ff29a068 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
c9e8d2f686 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
9112e7f11c Regenerated the bindings using the updated generator - equations are now correctly reported. 2009-03-08 18:38:17 +00:00
the_fiddler
f918720afd Added support for inline OpenGL documentation. 2009-03-08 00:46:58 +00:00
the_fiddler
4a2a223751 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
89bfdd4568 Implemented GL.SupportsFunction(MethodInfo). 2009-02-28 20:00:34 +00:00
the_fiddler
f84cc5678f Merged changes from gl3 branch.
Added [AutoGenerated] attribute to all bindings.
2009-02-28 19:30:48 +00:00
the_fiddler
69b17fa43f 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
c2fd0e5eb2 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler
5645133fc4 Fixed version strings in GL.SupportsExtension(). 2009-02-20 18:33:30 +00:00
the_fiddler
db690b144f Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00
the_fiddler
b04895cadb Fixed line endings. 2009-02-12 23:45:24 +00:00
the_fiddler
822a14ed2b Now uses String.Empty instead of "". 2009-02-12 23:43:30 +00:00
the_fiddler
6db13c3341 Applied rdrake's patch for LoadMatrix, etc Matrix4d helpers. 2009-01-31 08:40:11 +00:00
the_fiddler
561b90a0eb 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
4d98cf56fb 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
66c05a0954 Made the Color4 structure serializable and added == and != operators. 2009-01-23 15:50:31 +00:00
the_fiddler
ae05d34df5 Added Color4 structure and overloads for Materialv/Lightv. 2009-01-23 15:24:57 +00:00
the_fiddler
dc38987559 Made GraphicsMode public, as it is generally useful. 2009-01-23 15:24:09 +00:00
the_fiddler
033d4722af 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
73de884ee7 Added Assert function for checking whether a GraphicsContext is exists in the calling thread. 2008-11-20 22:25:28 +00:00
the_fiddler
b61bf2e77d 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
3749cb0bb7 Added GenTexture and DeleteTexture helpers for single textures. 2008-11-20 22:23:08 +00:00
the_fiddler
61debfe8d2 Make GL.SupportsExtension ignore underscores.
Fixed GL_VERSION_1_1 support.
Added GL_VERSION_3_0.
2008-11-18 12:42:35 +00:00
the_fiddler
f154fb3ba9 Commented out an unused code block. 2008-07-10 21:13:01 +00:00
the_fiddler
39dbdb997c StencilFuncSeparate and BlendingFactorDest/Src fixes. 2008-07-10 15:14:04 +00:00
the_fiddler
26645b1cee Added System.Drawing.Rectangle and RectangleF overloads to GL.Rect. 2008-06-24 18:23:32 +00:00
the_fiddler
0790d58048 Renamed CreateFromCurrentContext to CreateFromCurrentThread. 2008-05-19 20:55:53 +00:00
the_fiddler
660d7bef57 Initial support for external contexts. 2008-05-19 20:54:44 +00:00
the_fiddler
c57b11662f Passing null to ChangeResolution will restore the original resolution. 2008-05-04 16:26:54 +00:00
the_fiddler
0d659c6e74 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
cedb2394ff * GLHelper.cs: Added helpers for GetProgramInfoLog, VertexAttrib* and
MultiTexCoord*
2008-05-01 12:44:47 +00:00
the_fiddler
d4fb64261a Temporarily disabled full screen fade effect on resolution change. 2008-04-22 21:10:20 +00:00
the_fiddler
fef112ab46 Fixed a missing call to Debug.Unindent() during context construction. 2008-04-20 17:47:26 +00:00
the_fiddler
7fca6b3062 Fix line endings. 2008-04-20 11:14:10 +00:00
the_fiddler
fb13f49a85 Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics. 2008-04-13 16:45:56 +00:00
the_fiddler
301ebcc0b7 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
f4fe6912b2 Fixed TexEnvMode.Replace. 2008-04-11 18:19:07 +00:00
the_fiddler
84f117b3d3 Removed obsolete GetDisplayModes() function. 2008-04-04 21:08:09 +00:00
the_fiddler
76825a36c7 Updates to GameWindow shutdown and X11 locking behavior. 2008-03-26 19:43:57 +00:00
the_fiddler
f978762c04 Removed IGLContextCreationHack interface (no longer used). 2008-03-24 13:24:32 +00:00
the_fiddler
034d524a87 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
7493aeb412 Debug message when creating default GraphicsMode. 2008-03-23 12:55:33 +00:00
the_fiddler
e295acdd37 Cache default display mode. 2008-03-23 12:51:41 +00:00
the_fiddler
d2ede50705 Renamed. 2008-03-03 12:46:58 +00:00
the_fiddler
4adcea8546 Initial commit. 2008-03-03 12:46:46 +00:00
the_fiddler
58e910d478 Initial commit. 2008-03-03 12:46:17 +00:00