the_fiddler
67d8b1f54c
Fixed potential crash-bug in the WGL_ARB_create_context path (missing 0 attribute).
2009-04-29 11:02:12 +00:00
the_fiddler
eb183f4cfe
Added stack traces to automatic error checking.
...
Added GraphicsContext.ErrorChecking property to temporarily disable error checking if necessary.
Error checking is now added to all functions in debug mode (the generator would miss specific CLS-compliant overloads before).
2009-03-29 21:41:30 +00:00
the_fiddler
9265747541
Fixed all known build warnings, apart from missing xml comments.
2009-03-25 21:53:12 +00:00
the_fiddler
c0f573f996
* X11GLNative.cs: Ensure that Width and Height properties return valid values in the OnLoad event.
2009-03-23 11:57:49 +00:00
the_fiddler
93a467a11f
Moved GraphicsMode to IGraphicsContext as it is universally useful.
...
Implemented GraphicsMode property on X11 and Mac OS X.
Replaced tabs with spaces in AglContext.cs.
2009-03-23 11:41:11 +00:00
the_fiddler
7eb149fa7c
* Platform/X11/X11GLContext.cs: Added workaround for buggy Amd linux drivers. Added "None" to context attributes, as specified by the specs.
2009-03-20 23:16:52 +00:00
the_fiddler
f1e0f2c8de
* Platform/X11/X11GLNative.cs: Removed stale comments and unused code.
2009-03-20 23:15:16 +00:00
the_fiddler
b61c108a52
* Platform/X11/Bindings/Glx.cs: Added glXIsDirect method and made all enums private. Added ErrorCodes enum.
2009-03-20 23:13:24 +00:00
the_fiddler
6bd0a26e19
* Platform/X11/X11GraphicsMode.cs: Major clean up. Refactored
...
ChooseFBConfig and ChooseVisual codepaths into different methods.
Fixed bug [#728 ].
2009-03-20 19:38:52 +00:00
the_fiddler
fc0ca5631f
Relaxed checks to allow input devices that do not contain any axes and/or buttons (e.g. tablets or keyboard extensions).
2009-03-08 20:03:33 +00:00
the_fiddler
4e5d758fa1
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
d43123f219
Added new GameWindow constructors that specify the desired GraphicsContext (OpenGL) version and flags.
2009-03-07 10:49:32 +00:00
the_fiddler
a0e0613420
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
8f594646b8
Made extension loading more forgiving (delegates can be either public or non-public now).
2009-03-07 10:20:55 +00:00
the_fiddler
d2376ced1f
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
130d72dcf3
Removed unused types.
2009-03-07 07:14:52 +00:00
the_fiddler
d7e387f548
Added support for the glx functions ChooseFBConfig, GetVisualFromFBConfig and CreateContextAttribsARB.
2009-03-07 07:13:48 +00:00
the_fiddler
b958f912a8
WinMM devices with 0 axes and no POV hats are not joysticks/joypads.
2009-03-07 05:55:33 +00:00
kanato
ebc3490243
Add MacOS code to call gestalt to detect OS version.
2009-03-02 01:49:23 +00:00
the_fiddler
5f2a4b3d8c
* 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
3360df3af9
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
912b04f333
Add description to joysticks opened from the legacy path.
2009-03-01 01:26:04 +00:00
the_fiddler
f6f196c90b
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
9b43e11ff5
Initial joystick support (not public yet).
2009-02-28 23:11:27 +00:00
the_fiddler
529702a317
Merged initial GL3 support from branches/gl3.
2009-02-28 19:56:08 +00:00
the_fiddler
cee4a44e76
Added support for wglCreateContextAttribsARB.
2009-02-28 19:51:58 +00:00
the_fiddler
8da8023c97
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
a22019d890
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
kanato
81e09a2066
Merged in macos branch for Mac OS X support.
2009-02-20 18:57:57 +00:00
the_fiddler
ab852cae58
Fixed SetWindowPos function (IntPtr instead of int parameter).
...
Add NcCalcSizeOptions enum.
2009-02-13 21:45:50 +00:00
the_fiddler
7651a7a3bb
Merged text branch and updated changelog.
2009-02-13 19:09:38 +00:00
the_fiddler
44240ad598
Make Mono use X11GdiPlusInternals regardless of platform.
2009-02-12 22:48:09 +00:00
kanato
231f83186a
AGL Fullscreen: Try to create a full screen context first, failing that create a non-fullscreen context.
2009-02-11 08:03:46 +00:00
the_fiddler
3059d09795
Time should be IntPtr, not uint.
...
Fixed KeypadEnter detection (was mistakenly mapped to vanilla Enter key).
2009-02-09 15:33:32 +00:00
kanato
b921bf95dd
Move input event handling to application level for fullscreen support.
2009-02-05 04:38:37 +00:00
kanato
dc6f0e6461
Added GetMouseEventLocation Carbon wrapper function.
2009-02-05 04:36:17 +00:00
kanato
4f4dd33c13
Fix up display capturing.
2009-02-05 04:35:15 +00:00
kanato
8cc99350de
Minor refactoring and commenting in AglContext.cs.
2009-02-03 08:21:52 +00:00
kanato
b6642764eb
Fix loss of first frame with GLControl.
2009-02-03 08:14:55 +00:00
kanato
1a4a3238c2
Updates for full screen support in Mac OS X.
2009-02-03 07:45:58 +00:00
kanato
44f2ad77d0
Removed unnecessary debug statement.
2009-02-03 07:43:36 +00:00
kanato
74707ccdfd
Updates to macos fullscreen.
...
Resolution switching is now accompanied by a call to CGDisplayCapture.
A secondary fullscreen context is created for going full screen.
2009-01-27 18:27:44 +00:00
kanato
34e283367d
Corrected device handle passed to aglChoosePixelFormat.
2009-01-20 04:34:24 +00:00
kanato
e6c736e7ec
Removed fullscreen flag.
2009-01-19 07:05:45 +00:00
kanato
3bd150ebbd
Removed fullscreen flag.
2009-01-19 07:05:17 +00:00
kanato
874896fd2f
Fix number of devices in call to aglChoosePixelFormat.
2009-01-15 05:25:00 +00:00
kanato
083caef1c1
Mac OS updates:
...
Window State support (minimize and maximize)
Preliminary full screen support.
Preliminary support for changing the screen resolution.
2009-01-14 19:52:15 +00:00
kanato
23f4858e2c
Added debugging information for pixel formats.
2008-12-29 01:31:21 +00:00
kanato
14ea26c866
Fix KeyNotFoundException in EventHandler routine.
2008-12-28 18:19:07 +00:00
kanato
9b3f1dc8ee
Set CarbonGLNative to correctly record mouse position.
2008-12-28 05:20:25 +00:00