the_fiddler
1529f811ac
* X11Keyboard.cs: Do not allocate an X11WindowInfo unnecessarily.
2010-10-20 15:16:55 +00:00
the_fiddler
07671251c5
* Input/MouseState.cs: Implemented MouseState structure.
2010-10-20 15:14:38 +00:00
the_fiddler
239ba3ff2b
* Input/KeyboardState.cs: Fixed the amount of storage for keyboard
...
keys (the code would allocate one less int than necessary when
"number of keys % 32" falls between 1 and 15).
Fixed the implementation of the Equals method to compare the two
instances (instead of comparing this instance against itself).
2010-10-20 15:14:26 +00:00
the_fiddler
86588ea60c
* Source/OpenTK/Input/Mouse.cs:
...
* Source/OpenTK/Platform/Factory.cs:
* Source/OpenTK/Input/InputDriver.cs:
* Source/OpenTK/Input/IMouseDriver.cs:
* Source/OpenTK/Platform/X11/X11Input.cs:
* Source/OpenTK/Platform/X11/X11Factory.cs:
* Source/OpenTK/Platform/Windows/WMInput.cs:
* Source/OpenTK/Platform/IPlatformFactory.cs:
* Source/OpenTK/Platform/MacOS/CarbonInput.cs:
* Source/OpenTK/Platform/Windows/WinFactory.cs:
* Source/OpenTK/Platform/MacOS/MacOSFactory.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/Windows/WinRawMouse.cs:
* Source/OpenTK/Platform/Windows/WinRawInput.cs: Added new MouseDriver
interface and added stub internal implementations.
2010-10-20 14:58:38 +00:00
the_fiddler
e801660ff7
* Source/OpenTK/OpenTK.csproj:
...
* Source/OpenTK/Input/Keyboard.cs:
* Source/OpenTK/Input/InputDriver.cs:
* Source/OpenTK/Input/KeyboardState.cs:
* Source/OpenTK/Input/IKeyboardDriver.cs:
* Source/OpenTK/Platform/X11/X11Input.cs:
* Source/OpenTK/Platform/X11/Functions.cs:
* Source/OpenTK/Platform/X11/X11Factory.cs:
* Source/OpenTK/Platform/Windows/WMInput.cs:
* Source/OpenTK/Platform/X11/X11Keyboard.cs:
* Source/OpenTK/Platform/MacOS/CarbonInput.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/Windows/WinRawInput.cs:
* Source/OpenTK/Platform/Windows/WinRawKeyboard.cs: Added initial
OpenTK.Input.Keyboard implementation for X11.
2010-10-20 14:33:23 +00:00
the_fiddler
7c0dbf7dcf
* Source/OpenTK/Platform/X11/X11GLNative.cs: Confine pointer to
...
window when it becomes invisible.
2010-10-20 09:50:49 +00:00
the_fiddler
3b72054480
* Source/OpenTK/Platform/X11/X11GLNative.cs: Refactored empty cursor
...
creation into its own function. Create one empty cursor for the
lifetime of the window.
2010-10-20 09:19:34 +00:00
the_fiddler
9ec00014eb
Take into account the fact that ShowCursor(true/false) calls are cumulative (we want boolean behavior instead).
2010-10-19 09:25:09 +00:00
the_fiddler
00311cdb13
Added initial code for mouse grabbing. Modified GameWindowStates to test this.
2010-10-19 09:20:59 +00:00
the_fiddler
a18825a062
* Source/OpenTK/Platform/MacOS/CarbonGLNative.cs: Removed unused
...
code.
2010-10-18 16:14:50 +00:00
the_fiddler
d5aaf4a794
* Source/OpenTK/Platform/Windows/API.cs:
...
* Source/OpenTK/Platform/Windows/WinGLNative.cs: Implemented
CursorVisible.
2010-10-18 16:14:38 +00:00
the_fiddler
42e0880cbb
* Source/OpenTK/NativeWindow.cs:
...
* Source/OpenTK/INativeWindow.cs:
* Source/OpenTK/Platform/X11/API.cs:
* Source/OpenTK/Platform/X11/X11GLNative.cs:
* Source/OpenTK/Platform/Windows/WinGLNative.cs:
* Source/OpenTK/Platform/MacOS/CarbonGLNative.cs:
* Source/Examples/OpenTK/Test/GameWindowStates.cs: Initial
implementation of CursorVisible API. See issue [#1560 ].
2010-10-18 15:25:25 +00:00
the_fiddler
d4d9d58a8a
Added UNSIGNED_INT to ActiveUniformType enum. Fixes issue [ #2077 ]: "Add UnsignedInt to ActiveUniformType".
2010-10-13 20:42:58 +00:00
the_fiddler
7f6fa886da
Fixed issue [ #2072 ]: "Box2 constructor bug".
2010-10-11 07:54:46 +00:00
the_fiddler
8f9cd3decf
Report Xinerama as not supported when it fails to detect any devices. Fixes issue on Nvidia drivers when Twinview is enabled.
2010-10-09 19:11:45 +00:00
the_fiddler
ddb51b25f7
Added XF86VM fallback when XRandR is missing (many thanks to jdomnitz!)
2010-10-09 19:10:39 +00:00
the_fiddler
8bb6af05d7
Set the correct, platform-specific GetCurrentContext implementation on startup. Ensures the correct function of dummy contexts.
2010-10-09 18:53:20 +00:00
the_fiddler
9d562fb683
All projects now read common AssemblyInfo items from GlobalAssemblyInfo.cs. The various AssemblyInfo.cs files now only contain project-specific information. Assembly versions are now controlled by Build.UpdateVersion.
2010-10-04 21:37:33 +00:00
the_fiddler
1f143285c2
Added keyfile and strong-named all projects.
2010-10-04 14:39:42 +00:00
the_fiddler
3c04d059e8
Updated default ToolsVersion to 4.0. Fixes intermittent build issues and increases build performance significantly. It is still possible to build on the 3.5 toolset by passing the /tv:3.5 parameter to msbuild.
2010-10-04 13:49:08 +00:00
the_fiddler
d6157456fb
Disabled OpenCL bindings (#define EXPERIMENTAL in project options to re-enable).
2010-10-03 13:19:05 +00:00
the_fiddler
10f333c24f
Added Generator.Bind and Generator.Convert projects.
...
Fixed msbuild compilation by removing the 3.5 bootstrap ItemGroups. (VS2010 added those on its own - hey, we are targeting v2.0 and we are not using ClickOnce!)
2010-10-03 12:30:39 +00:00
the_fiddler
31e558f446
* Source/OpenTK/OpenTK.csproj:
...
* Source/Build.Tasks/Build.Tasks.csproj:
* Source/Examples/OpenTK.Examples.csproj:
* Source/GLControl/OpenTK.GLControl.csproj:
* Source/Compatibility/OpenTK.Compatibility.csproj: Ensure we are
using the 2.0 toolset to build. Fixes compilation errors on
MonoDevelop/xbuild.
* Documentation/Build.Docs.csproj: Use "." instead of
"$(MSBuildProjectDirectory)", because MonoDevelop/xbuild fails to
replace the latter with its value.
2010-10-02 23:21:58 +00:00
the_fiddler
a4d23d19bc
* Added project files for all projects.
...
* Modified Build.Docs project to respond to the "Documentation" configuration. Added Clean target.
2010-10-02 22:16:59 +00:00
the_fiddler
1f4b5be7d0
Synced trunk with 1.0 branch.
2010-10-02 18:52:34 +00:00
the_fiddler
3f8f9b09e3
Synced with 1.0 branch.
2010-03-11 22:53:11 +00:00
the_fiddler
803636ea95
Added explicit ActiveUniformParameter enum for GetActiveUniforms function. Fixes issue [ #1443 ]: "GetActiveUniforms parameter name".
2010-02-03 20:43:42 +00:00
the_fiddler
6dcb354854
Added missing TEXTURE_LOD_BIAS token to TextureParameterName. Fixes issue [ #1531 ]: "TextureParameterName enum missing TEXTURE_LOD_BIAS element".
2010-02-03 20:17:02 +00:00
the_fiddler
99a3803e8a
Backported fix for issue [ #1538 ] from 1.0 branch.
2010-02-03 19:55:09 +00:00
the_fiddler
da7e4c7252
Backported bugfixes from 1.0 branch.
2010-02-03 19:04:42 +00:00
kanato
ea5b4f9f06
* Platform/MacOS/CarbonGLNative.cs: Fix width/height properties on Mac OS X.
2010-01-11 22:08:00 +00:00
the_fiddler
6d6ad9646a
* Source/OpenTK/Compute/CL10/CL.cs:
...
* Source/OpenTK/Compute/CL10/Core.cs:
* Source/Bind/Specifications/csharp.tm:
* Source/OpenTK/Compute/CL10/Delegates.cs: cl_context_properties
should be mapped to IntPtr, not int.
Modified CreateContext signature to return ErrorCode rather than plain
int.
* Source/OpenTK/Compute/CL10/CLHelper.cs: Added helper overloads that
convert ContextProperties enums into IntPtr internally.
2010-01-04 13:29:21 +00:00
the_fiddler
88edd6fa14
Regenerated bindings using the latest binding generator, which ensures consistent sorting order between consecutive runs.
2009-12-25 14:17:55 +00:00
the_fiddler
1e56e462ef
Merged GameWindow timing fixes and release documentation from branches/1.0.
2009-11-17 14:54:30 +00:00
the_fiddler
0484fc478b
Re-enabled CL10, ES10 and ES11 bindings in trunk.
2009-11-17 10:04:00 +00:00
the_fiddler
6b5ff5ba24
Merged fix for [ #1386 ] from branches/1.0.
2009-11-17 09:59:36 +00:00
the_fiddler
35956701ae
Merged fix for [ #1098 ] from branches/1.0.
2009-11-17 09:33:14 +00:00
the_fiddler
f12cbf1cd5
Synced trunk with 1.0 branch.
2009-11-16 18:45:41 +00:00
the_fiddler
c6ae9ae3fe
Applied fix for use of C# 3.0 features from 1.0 branch.
2009-11-11 23:16:42 +00:00
the_fiddler
c152a724d6
Synced trunk with the 1.0 beta-1 release.
2009-11-10 09:22:46 +00:00
the_fiddler
2ce4a6ecfd
Merged changes from 1.0 branch.
2009-11-10 00:04:11 +00:00
the_fiddler
089b72c9c8
Protect all Xlib calls with XLockDisplay/XUnlockDisplay. Fixes issue [ #1354 ]: "Application always run in windowed mode when using shared contexts".
2009-11-09 19:05:41 +00:00
the_fiddler
8af490627f
Fixed a large number of recurring spelling mistakes in documentation (patch by iRBiS). Fixes issue [ #1341 ]: "Vector4 constructor describes w component as z component + other spelling corrections".
2009-11-09 08:15:38 +00:00
the_fiddler
aedb514b84
Fixed documentation which describes w components as z components (patch by iRBiS).
2009-11-09 08:12:34 +00:00
kanato
62b65af462
MacOS: Hack for AGL to have access to the display device specified when a NativeWindow is created.
2009-11-09 07:50:21 +00:00
kanato
56412367c4
MacOS: Detect display boundaries so created windows are placed in the right spot.
2009-11-09 07:39:38 +00:00
kanato
c605a05ffb
MacOS: Fix event from user clicking close box to properly report that window doesn't exist anymore.
2009-11-09 07:18:54 +00:00
kanato
017c9e86d0
Mac OS X Fix for GameWindow to call glContext.Update when resized
2009-11-09 06:51:52 +00:00
the_fiddler
e35f9d5374
Disabled OpenTK.Point, Size and Rectangle structures that were meant to replace their System.Drawing implementations until the correct course of action can be determined. This change is too disruptive to existing applications, especially if they are also using Windows.Forms (see discussion here: http://www.opentk.com/node/1348 ).
2009-11-08 23:02:53 +00:00
the_fiddler
0af0916ce0
Don't display window by default, unless "Visible = true" is called. Allows the creation of invisible windows for secondary GraphicsContexts.
2009-11-08 22:46:49 +00:00