Commit graph

1173 commits

Author SHA1 Message Date
the_fiddler
fda108701c Added new GLControl constructors that allow you specify the desired GraphicsContext (OpenGL) version and flags. 2009-03-07 11:03:41 +00:00
the_fiddler
0759beaebf Added new GameWindow constructors that specify the desired GraphicsContext (OpenGL) version and flags. 2009-03-07 10:49:32 +00:00
the_fiddler
9981b92e5a Removed unused (duplicate) details field. 2009-03-07 10:46:49 +00:00
the_fiddler
4a2a223751 Added the capability to specify the desired OpenGL version and parameters (debug / forward-compatible context).
Added OpenGL 3.0 support for GLX contexts.
Added support for creating dummy contexts (useful if you are creating contexts from an external library).
Cleaned up unused and stale code.
2009-03-07 10:36:51 +00:00
the_fiddler
4cfaaf6077 Made extension loading more forgiving (delegates can be either public or non-public now). 2009-03-07 10:20:55 +00:00
the_fiddler
70963b09af Use Glx.ChooseFBConfig instead of the deprecated Glx.ChooseVisual, if the first is available. This is necessary for OpenGL 3.0 contexts. 2009-03-07 07:16:46 +00:00
the_fiddler
4efee1f1ef Removed unused types. 2009-03-07 07:14:52 +00:00
the_fiddler
300abf1a1c Added support for the glx functions ChooseFBConfig, GetVisualFromFBConfig and CreateContextAttribsARB. 2009-03-07 07:13:48 +00:00
the_fiddler
03cf3ee512 WinMM devices with 0 axes and no POV hats are not joysticks/joypads. 2009-03-07 05:55:33 +00:00
kanato
3c1676ee40 Add MacOS code to call gestalt to detect OS version. 2009-03-02 01:49:23 +00:00
the_fiddler
87c04d5bfc Prepare for 0.9.4 release. 2009-03-01 09:55:22 +00:00
the_fiddler
67f9358bd3 * X11/X11Joystick.cs: Flip vertical axes so that +1 points up.
* Windows/WinMMJoystick.cs: Move Z-axis before R-axis.
2009-03-01 09:17:19 +00:00
the_fiddler
51e2d93e38 Added support for POV hats with WinMM.
Reversed vertical axes, so that down is -1 and up is +1.
2009-03-01 08:44:39 +00:00
the_fiddler
1a0c3ff31f Add description to joysticks opened from the legacy path. 2009-03-01 01:26:04 +00:00
the_fiddler
f46deb7103 Fixed exception when no joystick is present. 2009-03-01 01:20:26 +00:00
the_fiddler
8b31086055 Added missing parameters to joystick event loggers.
Updated to use the JoystickAxis and JoystickButton enumerations.
2009-03-01 01:18:00 +00:00
the_fiddler
44e4971a38 Added JoystickAxis and JoystickButton enumerations, as well as their respective collections.
Implemented necessary Poll() functions.
2009-03-01 01:17:24 +00:00
the_fiddler
2eeb1a7bd9 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler
6118f4fdec Initial joystick support (not public yet). 2009-02-28 23:11:27 +00:00
the_fiddler
837ea0d90c Removed unused code. 2009-02-28 23:10:25 +00:00
the_fiddler
74d5fc8f40 Fixed GL1.1 fallback when GL.BlendColor is not supported. 2009-02-28 22:33:30 +00:00
the_fiddler
8112f6df52 Prompt for input when none is given. 2009-02-28 22:01:39 +00:00
the_fiddler
047eee206c Improved Mono support. 2009-02-28 20:49:58 +00:00
the_fiddler
7a4e5bb4c4 Moved to the Tests namespace. 2009-02-28 20:42:25 +00:00
the_fiddler
8a53a142bb Massively improved example: more information displayed, better layout. 2009-02-28 20:40:10 +00:00
the_fiddler
89bfdd4568 Implemented GL.SupportsFunction(MethodInfo). 2009-02-28 20:00:34 +00:00
the_fiddler
132c2ab856 Merged initial GL3 support from branches/gl3. 2009-02-28 19:56:08 +00:00
the_fiddler
cf20b474f6 Added support for wglCreateContextAttribsARB. 2009-02-28 19:51:58 +00:00
the_fiddler
f84cc5678f Merged changes from gl3 branch.
Added [AutoGenerated] attribute to all bindings.
2009-02-28 19:30:48 +00:00
the_fiddler
3656003844 Now prints the OpenTK license and adds the [AutoGenerated] attribute to the generated bindings. 2009-02-28 19:29:34 +00:00
the_fiddler
08bf5e52ad Merged changes from gl3 branch. 2009-02-28 18:50:16 +00:00
the_fiddler
bc865f5f54 Print usage instructions on invalid or missing arguments. 2009-02-28 16:26:25 +00:00
the_fiddler
eb8358a215 Set eol-style: native and mime-type: text/plain properties. 2009-02-28 15:28:16 +00:00
the_fiddler
a3d1902ab2 Bumped version number to 0.9.3. 2009-02-22 16:25:45 +00:00
the_fiddler
37755cb398 Check that OpenGL resources have really been allocated, before deleting them in Unload(). 2009-02-22 16:01:29 +00:00
the_fiddler
6e5eaf4653 Set SVN mime-type to text/plain and eol-style to native. 2009-02-22 15:51:06 +00:00
the_fiddler
5dfa3e4de2 Check whether EXT_framebuffer_object is supported and abort if it is not. 2009-02-22 15:50:08 +00:00
the_fiddler
5e85dfc40e Use GameWindow.Exit() instead of GameWindow.ExitAsync(). 2009-02-22 15:49:33 +00:00
the_fiddler
8bb1a85bc1 Added Closing event that can be used to cancel a call to GameWindow.Exit().
Made GameWindow.Exit() thread-safe.
ExitAsync() is now privateee (use Exit() instead).
GameWindow.Exit() now correctly works when called from inside the OnLoad method or the Load event.
2009-02-22 15:48:31 +00:00
the_fiddler
6678fe52c3 Removed an unused Bitmap reference. 2009-02-22 12:12:16 +00:00
the_fiddler
e5ad57e13d Suppressed a large amount of warnings for unused methods / fields in the platform bindings.
Replaced tab stops with spaces.
2009-02-22 12:10:36 +00:00
the_fiddler
6545358593 Fixed two instances where the obsolete XYZ attribute was being used. 2009-02-22 12:09:23 +00:00
the_fiddler
824a751762 Hopefully fixed all remaining encoding problems. 2009-02-22 11:26:17 +00:00
the_fiddler
69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
60d79fa297 Removed invalid space from the GdiPlusGlyphRasterizer.cs filename. 2009-02-22 09:44:10 +00:00
the_fiddler
ef6562d266 Bumped version number. 2009-02-20 19:49:07 +00:00
the_fiddler
1fbbeff3be Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers. 2009-02-20 19:48:22 +00:00
kanato
c2fd0e5eb2 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler
5645133fc4 Fixed version strings in GL.SupportsExtension(). 2009-02-20 18:33:30 +00:00
the_fiddler
12d81be831 Updated to use the ExampleAttribute instead of the old IExample interface. 2009-02-20 18:04:01 +00:00