the_fiddler
d542896f59
* CppSpecWriter.cs: Fixed indentation for #if-#endif directives.
2010-12-05 22:58:05 +00:00
the_fiddler
4f6de33c10
* CppSpecWriter.cs: Fixed enumeration of deprecated functions.
...
Fixed declaration of Init() methods.
2010-12-05 16:28:30 +00:00
the_fiddler
24bba46fa4
* CppSpecWriter.cs: Fixed namespace paths for delegate loader.
2010-12-05 16:19:49 +00:00
the_fiddler
490bb5312d
* CppSpecWriter.cs: Replace String[] parameters by String*, as the
...
former is not valid C++ syntax.
2010-12-05 16:03:42 +00:00
the_fiddler
1d9c62b324
* CppSpecWriter.cs: Remove unnecessary transformation for namespace
...
separators.
2010-12-05 15:54:14 +00:00
the_fiddler
177813e47a
* FuncProcessor.cs:
...
* Structures/Parameter.cs: Avoid qualifying IntPtr fully ((a) it's
unnecessary, since we have "using System;" already and (b) the
namespace qualification is not portable to C++).
2010-12-05 15:53:04 +00:00
the_fiddler
82ba7143bb
* Main.cs:
...
* Settings.cs:
* FuncProcessor.cs:
* Structures/Type.cs:
* Structures/Constant.cs:
* Structures/Delegate.cs: Do not hardcode namespace separator to ".".
2010-12-05 15:45:23 +00:00
the_fiddler
828f0c0a8b
* CppSpecWriter.cs: Fixed handling of return types in wrappers.
...
Removed [OutAttribute] from the header.
2010-12-05 15:33:09 +00:00
the_fiddler
a5924bb414
* CppSpecWriter.cs: FIxed handling of enum parameters.
...
Moved delegates to private structures.
2010-12-05 15:26:54 +00:00
the_fiddler
3594036be4
* CppSpecWriter.cs: Added definitions for GL types.
2010-12-05 11:52:51 +00:00
the_fiddler
fe37db4077
* CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
...
may not start with a digit.
2010-12-05 11:32:49 +00:00
the_fiddler
bb4d969dad
* Main.cs:
...
* Settings.cs:
* Utilities.cs: Use separate keyword lists for each language.
2010-12-05 11:24:05 +00:00
the_fiddler
4e9edea02b
* CppSpecWriter.cs: Fixed declaration of function pointers. Modified
...
to use the delegate-wrapper paradigm, instead of exposing function
pointers directly. This way we can rely on the compiler for overload
resolution.
2010-12-05 10:47:06 +00:00
the_fiddler
b6b1142ac5
* Specifications/License.txt: Removed #region-#endregion from the
...
license file, in order to make it compatible with C++.
2010-12-05 10:46:09 +00:00
the_fiddler
99e9531b1e
* CppSpecWriter.cs: Defined Init() methods, declared all OpenGL
...
functions and fixed the formatting of the header.
2010-12-05 09:51:36 +00:00
the_fiddler
6b95ee466a
* CppSpecWriter.cs: Added constructor declaration.
2010-12-05 09:08:57 +00:00
the_fiddler
9feb6a6b7c
* CppSpecWriter.cs: Mark deprecated functions.
2010-12-05 08:48:44 +00:00
the_fiddler
778ddbe0e8
* CppSpecWriter.cs: Improved C++ output (still needs work).
2010-12-05 02:20:18 +00:00
the_fiddler
b67f479c6c
* Main.cs:
...
* ES/ESGenerator.cs: Improved handling of default namespace to avoid
clash with user overrides.
2010-12-05 02:19:47 +00:00
the_fiddler
f9365a4cc4
Merged gl4 branch into trunk
2010-12-04 21:51:40 +00:00
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
the_fiddler
5a408188e4
Added tokens for issue [ #2058 ]: "[GL 4.1] Viewport Array".
2010-11-21 16:11:41 +00:00
the_fiddler
bf6185907f
Added tokens for issue [ #588 ]: "ARB_geometry_shader4".
2010-11-21 16:04:11 +00:00
the_fiddler
a55102ef2f
Allow exact function name overrides for extension functions.
2010-11-21 16:03:37 +00:00
the_fiddler
ef97233198
Added tokens for [ #2056 ]: "[GL 4.1] Get Program Binary".
2010-11-21 15:45:33 +00:00
the_fiddler
6052f32c21
Added tokens for [ #2055 ]: "[GL 4.1] ES2 Compatibility".
2010-11-21 15:43:15 +00:00
the_fiddler
87feb96a92
Added tokens for [ #2057 ]: "[GL 4.1] Separate Shader Objects".
2010-11-21 15:25:12 +00:00
the_fiddler
cbc37f14f1
Added tokens for [ #2054 ]: "[GL 4.1] Vertex Attrib 64bit".
2010-11-21 15:10:45 +00:00
the_fiddler
965191a043
List required extension for core functions.
2010-11-21 15:10:12 +00:00
the_fiddler
a15ba71d77
Added and updated documentation for OpenGL 4.x.
2010-11-21 14:34:29 +00:00
the_fiddler
dddae1ac27
Print diagnostic message when docfile translation fails.
2010-11-21 14:24:34 +00:00
the_fiddler
598ec9b570
Recognize and strip mml from the new man4 documentation.
2010-11-21 14:24:05 +00:00
the_fiddler
fa76c13e17
Added tokens for [ #1799 ]: "[GL 4.0] Transform Feedback 3".
2010-11-21 11:45:13 +00:00
the_fiddler
d40a0befc7
Added tokens for [ #1798 ]: "[GL 4.0] Transform Feedback 2".
2010-11-21 11:41:38 +00:00
the_fiddler
c132ff129d
Added tokens for [ #1797 ]: "[GL 4.0] Texture Gather".
2010-11-21 11:34:34 +00:00
the_fiddler
e039e672b4
Added tokens for [ #1796 ]: "[GL 4.0] Texture Cube Map Array".
2010-11-21 11:30:55 +00:00
the_fiddler
d3e2d3fa4a
Added tokens for [ #1795 ]: "[GL 4.0] Tessellation Shader".
2010-11-21 11:26:50 +00:00
the_fiddler
5a3cbeb3ef
Allow function overrides on exact names, too (i.e. PatchParameteri vs PatchParameter).
2010-11-21 11:26:12 +00:00
the_fiddler
e986af3b6e
Fixed issue [ #1895 ]: "Vector3d.Equals(object obj) defined in terms of Vector3, not Vector3d".
2010-11-21 10:54:11 +00:00
the_fiddler
4d2801d329
Added tokens for [ #1794 ]: "[GL 4.0] Shader Subroutine".
...
Fixed <use> overrides for SAMPLE_SHADING and MIN_SAMPLE_SHADING_VALUE.
2010-11-21 10:47:22 +00:00
the_fiddler
4d8d039493
Added tokens for [ #1793 ]: "[GL 4.0] Sample Shading".
2010-11-21 10:33:45 +00:00
the_fiddler
d05b546a4e
Added missing tokens to ActiveAttribType (integer datatypes introduced in GL2.0 and GL3.0).
2010-11-21 10:30:59 +00:00
the_fiddler
79688eec7e
Added tokens for [ #1792 ]: "[GL 4.0] GPU Shader fp64".
2010-11-21 10:26:40 +00:00
the_fiddler
0cfc02755f
Added tokens for [ #1791 ]: "[GL 4.0] GPU Shader 5".
2010-11-21 10:22:56 +00:00
the_fiddler
9326a9f7cb
Added tokens for [ #1789 ]: "[GL 4.0] Draw Indirect".
2010-11-21 10:18:37 +00:00
the_fiddler
0b0fc8c53a
Fixed issue [ #1969 ]: "GLEnums.cs enum members in Version32 are not available in GetPName".
2010-11-21 00:33:45 +00:00
the_fiddler
b6b3ba4b83
Fixed issue [ #1956 ]: "TextureCompareMode should contain NONE".
2010-11-21 00:27:57 +00:00
the_fiddler
2c641f0ad3
Added missing ReadBufferMode.None token. Fixes issue [ #1694 ]: "missing ReadBufferMode.None".
2010-11-21 00:23:02 +00:00
the_fiddler
d8612f4df6
Relaxed parameter checks for CreatePerspectiveFieldOfView. Fixes issue [ #1693 ]: "CreatePerspectiveFieldOfView throws in valid cases".
2010-11-21 00:15:18 +00:00
the_fiddler
4be74af5d4
Modified TransformPerspective to work correctly with orthographic projection matrices. Fixes issue [ #1827 ]: "OpenTK.Vector3.TransformPerspective code is wrong".
2010-11-21 00:09:50 +00:00
the_fiddler
c0d5465cb7
Added missing EnableCap.TextureRectangle token that was introduced in OpenGL 3.1. Fixes issue [ #1806 ]: "Missing EnableCap for GL_TEXTURE_RECTANGLE".
2010-11-21 00:05:40 +00:00