Commit graph

26 commits

Author SHA1 Message Date
the_fiddler 53b84d18d4 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler 7f57d75570 Support external EGL contexts. 2009-11-04 17:00:52 +00:00
the_fiddler 8ac756bf1d Silenced a few compiler warnings. 2009-09-04 23:23:13 +00:00
the_fiddler 080af60867 Set disposed to true when calling Dispose() method. 2009-09-04 21:46:39 +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 0089e89202 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 d72a75f2fc Moved OpenTK.GLControl to its own project. 2009-08-19 14:17:47 +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 115e51f175 Implemented EglContext construction according to AMD's OpenGL|ES samples. 2009-08-15 16:45:59 +00:00
the_fiddler a518866d5a Added OutAttribute to array parameters that return values.
Added Egl.GetProcAddress method.
2009-08-15 16:45:21 +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 0e18ddfc81 Removed duplicate GetConfigAttrib calls. 2009-08-14 15:32:38 +00:00
the_fiddler ede71114f7 Use Egl.GetDisplay to get a display connection from an EGLNativeDisplayType. 2009-08-14 15:19:37 +00:00
the_fiddler e110c32ff8 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 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 6ad2a3e012 Normalized line endings. 2009-08-13 11:41:14 +00:00
the_fiddler 0f382fd86c Added IsSupported property, which checks for the existence of EGL libraries. 2009-08-13 11:40:16 +00:00
the_fiddler 396b9820a3 * 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 dc94314e3a Added new EglWindowInfo constructor.
Added missing license information.
2009-07-24 21:51:06 +00:00
the_fiddler 58037b9cb3 Initial implementation. 2009-07-24 21:50:21 +00:00
the_fiddler dea37b8547 Implemented IDisposable pattern. 2009-07-24 21:19:42 +00:00
the_fiddler 4100246d49 Initial implementation. 2009-07-24 21:13:46 +00:00
the_fiddler 593662eacf Removed EGL_ prefix from all EGL constants. 2009-07-24 21:12:59 +00:00
the_fiddler 3f66949fb2 * EglContext.cs: Fixed build error (class committed by mistake - it is not yet implemented). 2009-07-16 13:36:41 +00:00
the_fiddler 1a7fe71e26 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