Commit graph

2427 commits

Author SHA1 Message Date
the_fiddler ddb0f67048 Synced gl4 branch with trunk. 2010-12-04 19:02:50 +00:00
the_fiddler 2412757397 Added documentation for IsConnected and added (disabled) IsLedOn/IsLedOff methods. 2010-12-03 12:40:10 +00:00
the_fiddler 6470f1da3a Disabled GetDeviceName until the correct cross-platform API can be determined. 2010-12-03 12:39:42 +00:00
the_fiddler 140a278b3e Do not try to register device when device description is empty. 2010-12-03 12:29:01 +00:00
the_fiddler 0eef1c3629 Saner handling of various settings.
Improved C++ spec writer (still needs a lot of work).
2010-12-03 12:06:36 +00:00
the_fiddler c412f93700 Respect the user's output path/file settings. 2010-12-03 11:48:38 +00:00
the_fiddler e9505ccb96 Updated using the latest version of the generator, which improves documentation and handling of extension names in enums. 2010-12-03 11:28:16 +00:00
the_fiddler 057dfb9448 Handle multiple /signatures/add statements in the same file.
Trim enum and constant names before adding them to the relevant collection.
Fixed handling of extensions in enum names.
2010-12-03 11:24:58 +00:00
the_fiddler c4b50469c8 Added overrides for problematic Nvidia extensions which don't contain parameter names. 2010-12-03 11:23:45 +00:00
the_fiddler 948ded73ef Enable -mode:gl3 and -mode:gl4. 2010-12-03 11:23:11 +00:00
the_fiddler e0b5a512ab Added new vendors in extensions regex. Simplified GetGL2Extension implementation. 2010-12-03 11:22:44 +00:00
the_fiddler 5c3d94aeef Added ReadEnums overload that works with a XPathNavigator directly. Necessary for new overrides.xml handling. 2010-12-03 11:22:11 +00:00
the_fiddler 3021f668ad Re-added missing gl.tm file.
Added initial C++ spec writer.
Refactored IBind and ISpecWriter interfaces.
2010-12-03 10:21:50 +00:00
the_fiddler 4cfa357dbc Removed obsolete .spec files. Binding generation is now handled through xml files. 2010-12-03 09:48:39 +00:00
the_fiddler a09e6aa510 Move output signatures to /signatures/add, in order to unify handling of signatures and overrides. 2010-12-03 09:47:48 +00:00
the_fiddler 94cd438166 Use identical XPath for signatures.xml and overrides.xml to unify and simplify their handlers. 2010-12-03 09:45:20 +00:00
the_fiddler 47b16778ce Added ReadDelegates overload that works with a XPathNavigator directly. Necessary for new overrides.xml handling. 2010-12-03 09:43:08 +00:00
the_fiddler 58bebc8315 Fixed handling of output path. 2010-12-03 09:42:12 +00:00
the_fiddler cec5f837bf Refactored linq query for function parameters to stand-alone function, in order to make debugging easier. 2010-12-03 09:11:37 +00:00
the_fiddler 2dd61c6afd Moved overrides file to Settings class. 2010-12-03 09:02:55 +00:00
the_fiddler c3bfa7dc9a Moved output filenames to Settings class. 2010-12-02 21:58:49 +00:00
the_fiddler 33bdb90b70 Updated ES 2.0 signatures with latest upstream spec. 2010-12-02 21:58:06 +00:00
the_fiddler 0ce332b318 Refactored spec reading / writing functionality into its own classes.
Removed legacy spec reader.
2010-12-02 21:36:05 +00:00
the_fiddler bdde353a9e Added ARB/EXT ProgramParameter overloads for compatibility with opentk-1.0-2010-10-06. 2010-12-02 20:53:59 +00:00
the_fiddler 223c911bf9 * Platform/MacOS/HIDInput.cs, Platform/MacOS/MacOSFactory.cs:
Added support for raw keyboard input.
2010-11-30 23:23:42 +00:00
the_fiddler e75e4a64b8 * Platform/MacOS/CarbonGLNative.cs:
Fixed handling of key repeat.
Fixed crash when unknown key is pressed.
2010-11-30 23:22:56 +00:00
the_fiddler 24af8471c9 * MacOS/CarbonGLNative.cs:
Removed unnecessary debug information.
2010-11-26 13:32:52 +00:00
the_fiddler 6078b4530a * EventInfo.cs, AglContext.cs, MacOSKeyMap.cs, Application.cs,
CarbonInput.cs, CarbonGLNative.cs, MacOSException.cs,
CarbonBindings/Agl.cs, CarbonBindings/CarbonAPI.cs,
CarbonBindings/MacOSKeys.cs, CarbonBindings/SpeechChannel.cs,
CarbonBindings/CoreFoundation.cs,
CarbonBindings/QuartzDisplayServicesAPI.cs:
Normalized licensing information.
2010-11-26 11:41:45 +00:00
the_fiddler db6cc338f5 * Platform/MacOS/CarbonGLNative.cs:
Implemented CursorVisible property. Aligned mouse behavior to win32 &
x11. General code cleanup.
2010-11-26 11:01:51 +00:00
the_fiddler 37a744acb3 * Platform/MacOS/CarbonBindings/QuartzDisplayServicesAPI.cs:
Added support for mouse control.
2010-11-26 11:00:57 +00:00
the_fiddler 96791683d0 * Platform/MacOS/CarbonBindings/CarbonAPI.cs:
Added support for mouse delta events.
2010-11-26 11:00:27 +00:00
the_fiddler 7f0212a5fe Disabled event suppression after cursor movements. 2010-11-26 10:59:08 +00:00
the_fiddler 1a3df17dff Implemented SetPosition in terms of CGWarpMouseCursorPosition.
Added constructors to HIPoint.
2010-11-25 00:30:16 +00:00
the_fiddler 5caf6204de Implemented new multi-mouse API on Mac
OS X.
2010-11-24 23:49:40 +00:00
the_fiddler 9c8247c13a * Vector4.cs: Fixed doc comment to refer to the single-precision
version of the structure, rather than the double-precision one.
2010-11-24 21:15:38 +00:00
the_fiddler 4bc0db1d10 Updated documentation on Vector4(Vector3) constructor to state that the w component is initialized to 0. 2010-11-24 20:50:47 +00:00
the_fiddler 28a6600619 * ExampleBrowser.cs: Correctly use the assembly location to locate
the Source directory.
2010-11-24 18:11:01 +00:00
the_fiddler 3ec54fce34 * ExampleBrowser.cs: Do not crash if Source directory is not found. 2010-11-24 18:08:20 +00:00
the_fiddler 898315a58f Use main run loop for input callbacks. This way we don't have to run the loop ourselves.
Unregister callbacks for removed devices.
2010-11-24 13:13:14 +00:00
the_fiddler 6a4b41d975 Device discovery now works correctly. Added support for input value callbacks. 2010-11-24 12:50:08 +00:00
the_fiddler 7a83b5decb * MacOSGraphicsMode.cs:
* CarbonBindings/Agl.cs: Added AGL-based GraphicsMode detection on Mac
  OS X. Fixes issue [#1679]: "GraphicsMode returns hardcoded mode on
  Mac OS X".
2010-11-24 00:55:19 +00:00
the_fiddler 4f041bca92 [Win32] Implemented Mouse.SetPosition via SetCursorPos. This was refreshingly simple, the function works exactly as expected! (unlike XWarpPointer on X11) 2010-11-23 22:10:49 +00:00
the_fiddler d408fd54ce Avoid loading Wgl entry points automatically. This is now explicitly done through WinGLContext. 2010-11-23 22:08:53 +00:00
the_fiddler 227c0dc12e * X11Mouse.cs: Updated comments to clarify the capabilities of the driver. 2010-11-23 19:26:35 +00:00
the_fiddler ff8e42c77a * XI2Mouse.cs: Removed unused code. 2010-11-23 19:21:28 +00:00
the_fiddler 6d00a1cce3 * X11Mouse.cs: Added SetPosition() implementation.
Added detection of pointer warping and used it to fake relative
  motion.
2010-11-23 19:21:17 +00:00
the_fiddler 76e1d4064b * Input/Mouse.cs:
* Input/IMouseDriver2.cs:
* Platform/X11/X11Mouse.cs:
* Platform/X11/XI2Mouse.cs:
* Platform/X11/Functions.cs:
* Platform/Windows/WMInput.cs:
* Platform/X11/X11GLNative.cs:
* Platform/Windows/WinRawMouse.cs: Added ability to set the position
  of the mouse cursor.
[X11] Avoid grabbing the pointer, as this causes unexpected
  side-effects (XInput2 stops working, debugging becomes difficult).
  We now use XWarpPointer and try to discard the spurious MouseMove
  events it generates.
[X11] Make cursor visible when window loses focus, to make debugging
  easier. Restore previous state when it regains focus.
2010-11-23 17:17:13 +00:00
the_fiddler 82e5401779 * OpenTK.csproj:
* Platform/MacOS/HIDInput.cs:
* Platform/MacOS/MacOSFactory.cs:
* Platform/MacOS/CarbonBindings/CoreFoundation.cs: Initial work on HID
  input manager.
2010-11-22 15:57:26 +00:00
the_fiddler 569c4c86c7 Refactored and simplified DisplayDevice detection (devices are now stored in the platform-specific drivers instead of the frontend).
Made XRR resolution changes more robust.
Resolution changes now refresh the DisplayDevices on Windows.
2010-11-21 20:16:18 +00:00
the_fiddler 6cfb81246e Updated OpenGL bindings with strongly-typed support for OpenGL 3.3, 4.0 and 4.1 specs. 2010-11-21 16:22:42 +00:00