Commit graph

25 commits

Author SHA1 Message Date
the_fiddler 9f4eca541f Support external EGL contexts. 2009-11-04 17:00:52 +00:00
the_fiddler 72eb674817 Silenced a few compiler warnings. 2009-09-04 23:23:13 +00:00
the_fiddler 2606d0d6e8 Set disposed to true when calling Dispose() method. 2009-09-04 21:46:39 +00:00
the_fiddler f6da09177e 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 2f5a0bfe3b * 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 b5244f22c2 Added EmbeddedGraphicsContext as the foundation of all ES context implementations and modified EglContext to inherit from this. 2009-08-25 10:36:14 +00:00
the_fiddler c6516c2255 Moved OpenTK.GLControl to its own project. 2009-08-19 14:17:47 +00:00
the_fiddler 775f158269 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 5d5f598707 Implemented EglContext construction according to AMD's OpenGL|ES samples. 2009-08-15 16:45:59 +00:00
the_fiddler 5515c59173 Added OutAttribute to array parameters that return values.
Added Egl.GetProcAddress method.
2009-08-15 16:45:21 +00:00
the_fiddler 9a6a539d26 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 5464be873f Removed duplicate GetConfigAttrib calls. 2009-08-14 15:32:38 +00:00
the_fiddler d436bf5e14 Use Egl.GetDisplay to get a display connection from an EGLNativeDisplayType. 2009-08-14 15:19:37 +00:00
the_fiddler b5928c6dd4 Replaced libGLES_CM.dll by libEGL.dll, which is provided by the AMD OpenGL|ES emulator. 2009-08-14 15:17:42 +00:00
the_fiddler 3462e80978 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 fec018e921 Normalized line endings. 2009-08-13 11:41:14 +00:00
the_fiddler d9fc224f72 Added IsSupported property, which checks for the existence of EGL libraries. 2009-08-13 11:40:16 +00:00
the_fiddler a905b3ce24 * Egl.cs: Added workaround for gmcs 2.4.2 bug #530270 (https://bugzilla.novell.com/show_bug.cgi?id=530270). 2009-08-12 10:58:23 +00:00
the_fiddler aff44002b1 Added new EglWindowInfo constructor.
Added missing license information.
2009-07-24 21:51:06 +00:00
the_fiddler e0c88b92e6 Initial implementation. 2009-07-24 21:50:21 +00:00
the_fiddler e7fd9eb296 Implemented IDisposable pattern. 2009-07-24 21:19:42 +00:00
the_fiddler f031e34ecf Initial implementation. 2009-07-24 21:13:46 +00:00
the_fiddler 46632376a8 Removed EGL_ prefix from all EGL constants. 2009-07-24 21:12:59 +00:00
the_fiddler 0b107a9880 * EglContext.cs: Fixed build error (class committed by mistake - it is not yet implemented). 2009-07-16 13:36:41 +00:00
the_fiddler 2a96551355 Added EGL bindings based on http://www.koushikdutta.com/2008/08/net-compact-framework-wrapper-for.html 2009-07-15 23:17:41 +00:00