Commit graph

2536 commits

Author SHA1 Message Date
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
the_fiddler 955478c81c Removed OpenTK qualifier from Half type. This will be useful for future work on reducing number of delegate types. 2010-11-21 00:04:49 +00:00
the_fiddler da5630f2f6 Synced to OpenGL spec r12819. 2010-11-21 00:04:00 +00:00
the_fiddler df27bd7e38 Added tokens and function overrides for [#1786]: "[GL3.3] Vertex Type 2.10.10.10 Reverse". 2010-11-20 23:58:31 +00:00
the_fiddler a2d0590ebe Added tokens for [#1785]: "[GL3.3] Instanced Arrays". 2010-11-20 23:36:41 +00:00
the_fiddler 3e0f30cdb8 Added tokens for [#1781]: "[GL3.3] Blend Func Extended". 2010-11-20 23:19:58 +00:00
the_fiddler d40615def9 Added tokens for [#1782]: "[GL3.3] Texture Rgb10 A2ui". 2010-11-20 23:05:43 +00:00
the_fiddler 33d99d4e6c Added tokens for ARB_texture_swizzle. Fixes issue [#1783]: "[GL3.3] Texture Swizzle". 2010-11-20 23:00:36 +00:00
the_fiddler 33907727b6 Added tokens for GL3.3 sampler queries. Fixes issue [#1779]: "[GL3.3] Sampler Objects". 2010-11-19 11:30:06 +00:00
the_fiddler c57853abb6 Resolved token conflicts in favor of tokens without reference. 2010-11-19 11:29:02 +00:00
the_fiddler 93e224ff83 Look up token references in 'All' enum as a final fallback. 2010-11-19 11:12:02 +00:00
the_fiddler f125e66348 Added QueryTarget.AnySamplesPassed token. Fixes issue [#1778]: "[GL3.3] Occlusion Query 2". 2010-11-19 10:48:48 +00:00