Commit graph

194 commits

Author SHA1 Message Date
the_fiddler
dc42ad19f1 Regenerated bindings using the fixed MinmaxTarget and SeparableTarget enums names. 2009-09-05 15:32:00 +00:00
the_fiddler
36aa7e0e86 Regenerated bindings with using the cleaned up EXT_histogram, EXT_convolution and SGI_color_table tokens that were promoted in version 1.2. 2009-09-05 15:28:12 +00:00
the_fiddler
3f2f8e46e1 Added missing XML documentation. 2009-09-04 22:08:10 +00:00
the_fiddler
685b646efa Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler
6b03992812 Added missing XML documentation and fixed invalid XML doc references.
Removed deprecated methods from IGraphicsContext.
2009-09-04 21:25:29 +00:00
the_fiddler
8b60cc2018 Made GraphicsMode.Index public, as it is necessary when extending OpenTK.
Removed OpenTK.Platform.Utilities.CreateWindowInfo and made the platform-specific CreateWindowInfo methods public (e.g. CreateX11WindowInfo).
Moved Mono Windows.Forms-specific code into X11GLControl.
Removed OpenTK.Platform.Utilities.IsIdle.
Removed obsolete methods from OpenTK.Platform.Utilities.
Marked OpenTK.Platform.Utilities.CreateGraphicsContext as obsolete (use GraphicsContext constructor instead).
Made IWindowInfo implementations private.
2009-09-04 21:11:25 +00:00
the_fiddler
60eb0db94e Added ColorAttachmenti tokens to ReadBufferMode enum. Fixes issue [#1140]: "ColorAttachment values on ReadBufferMode". 2009-09-03 20:14:54 +00:00
the_fiddler
d6c4c801e1 Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler
95c88baf3d * Source/OpenTK/Platform/Egl/EglContext.cs:
* Source/OpenTK/Graphics/GraphicsContext.cs:
* Source/OpenTK/Graphics/IGraphicsContext.cs:
* Source/OpenTK/Platform/MacOS/AglContext.cs:
* Source/OpenTK/Platform/X11/X11GLContext.cs:
* Source/OpenTK/Graphics/GraphicsContextBase.cs:
* Source/OpenTK/Platform/Windows/WinGLContext.cs:
* Source/OpenTK/Platform/Dummy/DummyGLContext.cs: Added IsDisposed
  property to IGraphicsContext and implemented in all context classes.
  Removed 'bool disposed' fields from these classes in favor of the
  new property.
2009-09-03 12:23:11 +00:00
the_fiddler
3822044e17 Removed unused code. 2009-09-02 23:02:14 +00:00
the_fiddler
dfb6d5bca8 Fixed documentation warnings.
Removed duplicate code (due to BindingsBase class).
2009-08-19 13:22:12 +00:00
the_fiddler
b1915d8ef3 Removed Destroy event and RegisterForDisposal method from IGraphicsContext.
Added GraphicsContextBase, which acts as the foundation of all IGraphicsContext implementations.
Added DesktopGraphicsContext, which acts as the foundation of all desktop (i.e. not ES) IGraphicsContext implementations.
Modified all IGraphicsContext implementations to inherit from GraphicsContextBase and/or DesktopGraphicsContext.
2009-08-17 10:23:16 +00:00
the_fiddler
52263700fd Added BindingsBase class that provides a common base for all generated bindings.
Made the OpenGL and OpenGL|ES bindings non static.
Made the OpenGL and OpenGL|ES bindings inherit from BindingsBase.
2009-08-17 10:20:42 +00:00
the_fiddler
235a12d549 Now use "Core" as default Settings.ImportsClass. 2009-08-17 10:15:29 +00:00
the_fiddler
6ec4026a5c Updated documentation to remove references to the 3.1 specification (this class always supports the full profile of the latest specification.) 2009-08-15 18:02:16 +00:00
the_fiddler
9bcace599e Normalized line endings. 2009-08-15 18:01:15 +00:00
the_fiddler
86df4cf0fd Regenerated bindings to fix CLSCompliance issues. 2009-08-15 17:51:03 +00:00
the_fiddler
aa500ce806 Fixed compilation errors.
Moved bindings to the GL class.
2009-08-15 17:37:18 +00:00
the_fiddler
36cce81ba5 Removed the various GetProcAddress methods (now handled by IGraphicsContextInternal).
Removed Imports nested class.
2009-08-15 16:56:36 +00:00
the_fiddler
57c430fc36 Regenerated bindings using the latest generator updates.
ES bindings now exist in ES10.GL, ES11.GL and ES20.GL classes instead of ES10.ES etc (reason: easier porting to/from regular OpenGL).
2009-08-15 16:55:53 +00:00
the_fiddler
0204082308 Modified GraphicsMode.Index to be a nullable property. Modified consuming classes to check Index.HasValue prior to first use. 2009-08-15 16:44:43 +00:00
the_fiddler
ffdddf86d6 Made GraphicsMode query non-eager. The GraphicsMode will only be queried on first access of its Index property, for example when creating an X11 window or a new GraphicsContext. 2009-08-15 16:03:54 +00:00
the_fiddler
59d6ad7b3a Added documentation. 2009-08-15 16:02:52 +00:00
the_fiddler
ebc889f9d3 Replaced libGLES.dll by libGLESv2.dll, which is provided by AMD's OpenGL|ES emulator. 2009-08-14 15:33:39 +00:00
the_fiddler
ac70d985a7 Renamed GL folder to OpenGL, in order to match namespace. 2009-08-14 14:24:18 +00:00
the_fiddler
95d4f695b7 Fixed GraphicsContextFlags.Embedded matching. 2009-08-14 14:18:30 +00:00
the_fiddler
0e02f67749 Moved OpenTK.Graphics.GL class to the OpenTK.Graphics.OpenGL namespace (reason: necessary for OpenGL|ES support; necessary for support of different OpenGL profiles). OpenTK.Graphics.GL has been moved to the OpenTK.Compatibility library.
Removed OpenTK.Graphics.Glu class (reason: deprecated upstream; most functionality provided by OpenTK math; not compatible with OpenGL 3.0+.) OpenTK.Graphics.Glu can be accessed through OpenTK.Compatibility.
Added OpenGL|ES-specific ErrorHelper classes.
Moved OpenTK.Graphics.DisplayDevice and OpenTK.Graphics.DisplayResolution to the root OpenTK namespace (reason: their functionality is not specific and does not depend on OpenTK.Graphics).
Split Graphics*Exception classes into different files.
Made GraphicsErrorException public (reason: necessary for OpenTK.Compatibility).
2009-08-14 13:13:28 +00:00
the_fiddler
c4554bd804 Added support for IPlatformFactory implementations for embedded devices that use EGL. The embedded implementation can be used side-by-side with the normal implementations (useful for platforms that support both desktop GL and EGL). 2009-08-13 11:52:51 +00:00
the_fiddler
686b63a420 Added GraphicsContextFlags.Embedded for OpenGL|ES. 2009-08-13 11:41:32 +00:00
the_fiddler
0cb61c5a82 Merged fix for issue [#1089]: "TextPrinter is affected by TextureGen* and TextureEnvMode" from 0.9.8 branch. 2009-08-09 18:54:35 +00:00
the_fiddler
2469c62016 Moved AutoGeneratedAttribute to root namespace (it is now used by more than just OpenTK.Graphics). 2009-08-09 17:55:11 +00:00
the_fiddler
a3f5cd8605 Merged OpenGL 3.2 bindings. Fixed a conflict between the new ProgramParameter method and the existing ProgramParameter enum in GLHelper.cs. 2009-08-03 23:16:10 +00:00
the_fiddler
2e345ed6c8 Replaced tabs with spaces. 2009-07-19 17:50:41 +00:00
the_fiddler
eb75e708b7 * GLHelper.cs: Added Quaternion overload to GL.Uniform4. 2009-07-19 15:31:37 +00:00
the_fiddler
e3252ee5d6 * GLHelper.cs: Replaced tabs with spaces. 2009-07-19 15:28:42 +00:00
the_fiddler
1832f6cef8 Regenerated ES bindings with Bind 0.9.9.11.
Moved ES bindings from GLES[10|11|20] namespaces to ES[10|11|20].
Renamed ES wrapper classes to 'ES' instead of 'GL'.
2009-07-15 22:35:12 +00:00
the_fiddler
90700d7a82 Added OpenGL ES generated bindings. 2009-06-30 08:40:19 +00:00
the_fiddler
659e4f0c80 Added OpenGL ES 1.0 bindings. 2009-06-30 08:21:39 +00:00
the_fiddler
4edf7489f0 Added OpenGL ES 1.1 tokens. 2009-06-29 21:42:30 +00:00
the_fiddler
3b430e30b5 Removed 'using System' directive. 2009-06-29 21:32:09 +00:00
the_fiddler
5d59707eb3 Added GLES10 tokens. 2009-06-29 21:31:47 +00:00
the_fiddler
ec185178b8 Added OpenGL ES 2.0 tokens. 2009-06-29 20:12:42 +00:00
the_fiddler
e4fcf76289 Merged string[] fix from 0.9.8 branch. 2009-06-29 18:51:40 +00:00
the_fiddler
a2f0f70377 Fixed handling of pointer-to-string parameters. These are now wrapped as string[] arrays. 2009-06-29 18:32:51 +00:00
the_fiddler
4188ebc875 Added XML comment on Glu class. 2009-06-28 10:27:42 +00:00
the_fiddler
ac0e20e3fd Get[Program|Shader]InfoLog now return strings directly (instead of out parameters). 2009-06-26 21:05:23 +00:00
the_fiddler
d798c02d94 Marked GluCore as Obsolete. 2009-06-25 22:46:21 +00:00
the_fiddler
a7363b54e6 Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler
28420497c6 Marked ContextDestroyed method as obsolete. 2009-06-24 14:43:20 +00:00
the_fiddler
ead6be817d Marked Glu and Alut as obsolete. 2009-06-15 12:43:53 +00:00