Commit graph

64 commits

Author SHA1 Message Date
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
the_fiddler
223c742648 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
e477631ad7 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
c89abaee72 Renamed GraphicsFormat to GraphicsMode. 2008-02-28 15:28:40 +00:00
the_fiddler
09081803e4 Renamed file. 2008-02-28 15:26:51 +00:00
the_fiddler
7d6d34c686 Renamed GraphicsFormat to GraphicsMode. 2008-02-28 15:26:13 +00:00
the_fiddler
9abcb5d92e 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
ff5533e355 Initial commit. 2008-02-28 13:38:19 +00:00
the_fiddler
af638d4795 Fixed a few warnings.
Added [assembly: CLSCompliant(true)] attribute to GameWindow.cs
2008-02-02 13:39:23 +00:00
the_fiddler
4fe6d37770 Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL. 2008-02-02 00:58:26 +00:00
the_fiddler
f2d186070c Moved Glu to OpenTK.Graphics.OpenGL.Glu 2008-02-02 00:28:03 +00:00
the_fiddler
dd91c09685 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
73591c128c Moved and renamed OpenTK.IGLContext to OpenTK.Graphics.IGraphicsContext. 2008-01-31 14:42:21 +00:00
the_fiddler
5b9991cba3 Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:39:54 +00:00
the_fiddler
210abb6ab6 Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:34:13 +00:00
the_fiddler
1f9d04cd9d Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:22:37 +00:00
the_fiddler
cf41a23fb1 Fixed error in X11 display. 2008-01-27 15:53:04 +00:00
the_fiddler
28d739c256 call Form.Update() on each fade effect step. 2008-01-27 14:29:15 +00:00
the_fiddler
2f6f12f935 Fixed test. Restored fade-out/fade-in effects. 2008-01-26 14:38:35 +00:00
the_fiddler
285887fc0d Debugging on linux. 2008-01-26 14:35:28 +00:00
the_fiddler
6f9deacc85 Added fadeout and fadein effect. 2008-01-26 14:02:58 +00:00
the_fiddler
6f07dd23f1 Set original_resolution to null after a successful call to RestoreResolution(). 2008-01-26 11:02:49 +00:00
the_fiddler
58ae48833c Changed IDisplayDeviceDriver.RestoreResolution method to IDisplayDeviceDriver.TryRestoreResolution.
DisplayDevice now correctly reports original resolution.
2008-01-26 11:01:20 +00:00
the_fiddler
643e28a8f8 Fix NRE in operator== and operator!= 2008-01-26 10:40:40 +00:00
the_fiddler
c0984b7741 Slightly improved debug string for each DisplayDevice. 2008-01-25 15:33:41 +00:00
the_fiddler
e9f177037e Removed a couple of debug messages. Now marks the current resolution among all available resolutions in debug mode. 2008-01-25 15:19:45 +00:00
the_fiddler
d7dc113238 Added equality and inequality operators. 2008-01-25 15:19:12 +00:00
the_fiddler
733a1dd272 Debug information now reports primary device. 2008-01-25 15:04:00 +00:00