Commit graph

121 commits

Author SHA1 Message Date
the_fiddler 5462307a97 Public X11 classes made internal. 2008-01-24 21:18:23 +00:00
the_fiddler 1a100aaff3 Updated everything to use plain (int width, int height parameters) instead of DisplayMode.Width/.Height. 2008-01-23 14:17:09 +00:00
the_fiddler 53e9ad11d7 Added LoadDelegate method. 2008-01-23 00:26:58 +00:00
the_fiddler 8b3f5afa4c Added loading of Glx extensions. Added vsync support. 2008-01-23 00:18:52 +00:00
the_fiddler e5d9fa8e53 Added Glx.SupportsExtension function. 2008-01-23 00:18:18 +00:00
the_fiddler ca37cfc643 Renamed Glx.Sgi.SwapIntervalSGI to Glx.Sgi.SwapInterval 2008-01-23 00:18:05 +00:00
the_fiddler 9551a569c2 Added glXSwapIntervalSGI method. 2008-01-23 00:01:03 +00:00
the_fiddler 4fa393a03f Updated a comment. 2008-01-20 22:04:30 +00:00
the_fiddler 40f32f4867 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler fd04dbf95f Small cosmetic fix. 2008-01-15 23:23:32 +00:00
the_fiddler 21322323ba Re-added mouse input events. 2008-01-15 13:12:31 +00:00
the_fiddler 262de30201 Trying async mouse input. 2008-01-15 13:04:35 +00:00
the_fiddler 8c3011f405 Fixed a possible cast problem. 2008-01-15 12:48:03 +00:00
the_fiddler 9c214032b9 Added some IGLContextInternal explicit implementations 2008-01-15 12:47:51 +00:00
the_fiddler 9bfa325620 Added GetCurrentContext() 2008-01-15 12:46:47 +00:00
the_fiddler 5c16b522a3 Possible InvalidCastException fix. 2008-01-15 12:32:38 +00:00
the_fiddler 22d6e1a7a4 X11/GameWindow context creation should be fixed. 2008-01-15 11:14:16 +00:00
the_fiddler c0ea86437c Possible fix for cast exception in CreateWindow. 2008-01-15 11:10:40 +00:00
the_fiddler 68370f6d23 Debugging an issue with X11GLNative and it's visual creation. 2008-01-15 11:08:03 +00:00
the_fiddler 8b14881538 Fixed a NRE. 2008-01-15 11:02:23 +00:00
the_fiddler 15956016b4 Possible fix for X11GLContext crash. 2008-01-15 10:59:36 +00:00
the_fiddler 50f6bd2807 Changed the INativeGLWindow.CreateWindow interface to return an IGLContext instead of a GLContext. 2008-01-15 10:48:48 +00:00
the_fiddler dc151f3929 Added some debugging information to context creation. 2008-01-15 10:36:47 +00:00
the_fiddler 33d0193e7f Refactored context creation to be done inside the *GLNative classes, instead of the GameWindow class. Should refactor in the next version. 2008-01-15 10:31:03 +00:00
the_fiddler 2cc221998c Hacks to get the visual before creating a context. 2008-01-11 20:23:41 +00:00
the_fiddler 408bdc3f3c CreateWindow now takes a GLContext. 2008-01-11 20:23:17 +00:00
the_fiddler 523b712cec Fixed NRE on mode.ToString(). 2008-01-06 11:02:38 +00:00
the_fiddler 6ef09165b2 Added PointToClient and PointToScreen placeholders. 2008-01-06 02:29:14 +00:00
the_fiddler 107951c4d1 Hooks for garbage-collectable OpenGL resources.
the [...]GLNative classes now use GLContext instead of the platform-specific [...]GLContext implementations.
Updated the IGLContext interface with functions to query the current context.
2007-12-09 18:15:51 +00:00
the_fiddler 6c43d97cf4 Removed a couple of unused lines of code. 2007-11-11 20:22:51 +00:00
the_fiddler 0590fa91ca Fixed shutdown sequence on Linux. GameWindow.Exit() and clicking the 'close' button now produce the same result. 2007-11-11 20:10:08 +00:00
the_fiddler f1ece1b265 X11GLContext plays better with Windows.Forms. 2007-11-11 19:28:55 +00:00
the_fiddler 04560794ad Reverted to 0.3.12 way of handling input events. Added Close button press handling (X no longer crashes). 2007-11-10 18:25:16 +00:00
the_fiddler 24a2140872 Reverted to 0.3.12 way of handling input events. 2007-11-10 18:24:56 +00:00
the_fiddler 8efe76ca92 Removed some warnings. 2007-11-06 13:37:04 +00:00
the_fiddler df733c7719 Removed InputDriver. 2007-11-04 15:38:39 +00:00
the_fiddler e633395202 Now initializes GL class. Slight layout improvements. Removed useless constructors. 2007-11-04 15:37:41 +00:00
the_fiddler db6b583030 Took care of a couple of warnings. 2007-10-26 15:51:07 +00:00
the_fiddler 961cf9d54c Constructor now throws ArgumentNullException instead of ArgumentException. 2007-10-05 06:54:36 +00:00
the_fiddler 5f9a8921b2 Fixed issue with multiple GLControls becoming invisible. Simplified GLControl, the platform dependent code now resides in GLContext and WindowInfo - GLControl itself is platform independent, just like GameWindow. This allowed to remove IGLControl.cs, WinGLControl.cs, X11GLControl.cs and DummyGLControl.cs 2007-10-05 06:52:40 +00:00
the_fiddler e932f8e162 Fixed a warning. 2007-09-30 12:42:43 +00:00
the_fiddler 4e421d30fb Added VSync property to IGLContext. 2007-09-29 15:24:55 +00:00
the_fiddler 69dec33ef7 Fix build on Mono 1.2.4 2007-09-27 00:40:28 +00:00
the_fiddler 21efddea04 Commented out Keymap struct in X11/API.cs, due to a bug in Mono's 1.2.5 gmcs compiler. 2007-09-26 16:57:43 +00:00
the_fiddler 94da72a196 Problem with mouse wheel not getting updated. 2007-09-26 16:12:31 +00:00
the_fiddler 28f90f3d17 Polled mouse input through XQueryPointer. 2007-09-26 15:41:14 +00:00
the_fiddler ee4a5cc7ac Added Title property. Foundation of atoms. 2007-09-26 15:40:22 +00:00
the_fiddler 78b8f274ee Updated Keyboard and Mouse handling. Mouse now uses XQueryPointer. Keyboard relies on X11 events. Still missing mouse delta support. 2007-09-26 11:58:55 +00:00
the_fiddler ec34bed972 Added X11 Mouse support. X11 Keyboard support is faster now.
Made GameWindow.Dispose() virtual.
2007-09-25 16:45:12 +00:00
the_fiddler 38d779eb1a Enabled X11Input mouse driver. 2007-09-24 21:23:27 +00:00