Commit graph

493 commits

Author SHA1 Message Date
Andy Korth 5a6f5a870e Test for basic mouse input 2013-01-03 10:07:50 -06:00
Andy Korth d029a73c68 Test for mouseUp event firing when mouse is outside of the window 2012-12-21 21:22:55 -06:00
Andy Korth c98d9e4503 Supress printing of some keyboard non-errors. 2012-12-21 18:43:19 -06:00
Andy Korth 39c3f3f543 Replication project for Mac OS mouse input issue, and fix. OpenTK issues 3242 and 2800 2012-12-21 17:11:39 -06:00
Andy Korth 3c609872fe New test for Basic Mouse Input. Does not work on Mac. 2012-12-21 15:22:37 -06:00
Andy Korth 02ce1430ab Reduce debugging a little for now 2012-12-20 16:19:54 -06:00
Andy Korth fb507db838 Fix unparsable characters in shader, OpenTK issue 3186 2012-12-20 13:45:56 -06:00
Andy Korth 0847b2ca5c Build.UpdateVersion can track the git revision now, in addition to svn and bzr. 2012-12-20 13:35:58 -06:00
the_fiddler 7569345e0a Use new DisplayDevice.GetDisplay() interface instead of obsolete AvailableDisplays. 2011-12-15 11:30:39 +00:00
the_fiddler 39297e5f6c Corrected version checks in examples. Finally fixes issue [#1898]: "Minor and major OpenGL version incorrect." 2011-09-06 12:55:19 +00:00
the_fiddler 3297ed54ed Moved GL.TexParameter calls to before GL.TexImage2D, as recommended by AMD/ATI. This ensures that no slow format conversion will take place. 2011-09-06 12:15:51 +00:00
the_fiddler c7b8453f24 Corrected TexCount check (needs at least 1 texture set, not at least 2). Fixes issue [#2677]: "Framebuffer Object sample crashes". 2011-09-06 12:14:42 +00:00
the_fiddler 36349f667f Use v1.0 GL.ClearDepth(double) instead of v4.1 GL.ClearDepth(float). 2011-05-30 12:31:39 +00:00
the_fiddler f4a7bf2a93 Cleaned up license information. 2011-01-18 11:40:49 +00:00
the_fiddler 5c5cda64f2 Added new TextRendering sample. 2011-01-18 11:15:49 +00:00
the_fiddler 4ef9b876ab * Main.cs, ExampleBrowser.cs:
Fixed display of debug output in the sample browser.
2010-12-08 07:51:41 +00:00
the_fiddler 5c23242665 * ExampleBrowser.cs:
Fixed support console and persistent tracing.
2010-12-08 07:43:43 +00:00
the_fiddler 5639c5a4dc * ExampleBrowser.cs: Correctly use the assembly location to locate
the Source directory.
2010-11-24 18:11:01 +00:00
the_fiddler 9d3ab5c74b * ExampleBrowser.cs: Do not crash if Source directory is not found. 2010-11-24 18:08:20 +00:00
the_fiddler ce85a5f481 * Source/OpenTK/OpenTK.csproj:
* Source/Bind/Generator.Bind.csproj:
* Source/Examples/OpenTK.Examples.csproj:
* Source/GLControl/OpenTK.GLControl.csproj:
* Source/Converter/Generator.Convert.csproj:
* Source/Build.UpdateVersion/Build.UpdateVersion.csproj: Normalized
"Documentation" configuration with "Release" configuration.
2010-11-02 17:39:43 +00:00
the_fiddler bf89608157 * OpenTK/Test/GameWindowStates.cs: Print information on pressed
keyboard keys and mouse buttons.
2010-11-01 07:57:21 +00:00
chrisbrandtner 2ea1b56b9d Changed FBO example and documentation to be more useful. 2010-10-28 15:58:10 +00:00
the_fiddler 03c97e306b Fixed keyboard_old assignment. 2010-10-28 11:11:19 +00:00
the_fiddler bb1619161f Read OpenTK.Input.Keyboard state. Should gradually replace existing keyboard/mouse events with the new input API. 2010-10-28 10:37:20 +00:00
chrisbrandtner 261b3958c8 Added anaglyph rendering example (for red/cyan glasses). 2010-10-27 16:28:38 +00:00
chrisbrandtner a93d43c590 Added OpenGL Diagnostics program, similar to OpenAL Diagnostics. 2010-10-24 14:29:27 +00:00
the_fiddler 202bd2a96e Avoid using deprecated GLControl.GrabScreenshot() method. 2010-10-22 15:04:04 +00:00
the_fiddler f0dd1370d8 Suppressed unused field warnings. The code is like that on purpose. 2010-10-22 15:03:35 +00:00
the_fiddler 5ed98455d9 Do not use deprecated methods. 2010-10-22 15:03:06 +00:00
the_fiddler 3d87bc7e8f Fixed text anti-aliasing on Windows. 2010-10-22 09:29:41 +00:00
the_fiddler 6276057c65 * Test/GameWindowStates.cs: Added relative mouse motion indicator. Improved text antialiasing. Moved to GameWindow category. 2010-10-21 13:14:36 +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 f201c3bed9 * Source/Examples/OpenTK/Test/GameWindowStates.cs: Handle
MouseButtonUp event to make mouse visible.
2010-10-18 15:48:32 +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 148578b1eb Fixed code formatting. 2010-10-09 19:59:06 +00:00
the_fiddler 0f80ff8f1d Avoid deprecated EnableClientState(EnableCap) in favor of EnableClientState(ArrayCap). 2010-10-09 19:56:33 +00:00
the_fiddler f80133a9cd Populate ImageList manually to avoid crash issue when cross-compiling from Mono. 2010-10-05 17:43:33 +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 eee1a236c4 Do not import OpenCL namespace if "EXPERIMENTAL" is not defined. 2010-10-04 08:40:57 +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 579b6a60f6 Fixed incorrect output paths. 2010-10-03 09:25:52 +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 da7e4c7252 Backported bugfixes from 1.0 branch. 2010-02-03 19:04:42 +00:00
the_fiddler f5642b91c5 Added BlittableValueType test from branches/1.0. 2009-11-17 10:00:52 +00:00
the_fiddler f12cbf1cd5 Synced trunk with 1.0 branch. 2009-11-16 18:45:41 +00:00
the_fiddler c152a724d6 Synced trunk with the 1.0 beta-1 release. 2009-11-10 09:22:46 +00:00
the_fiddler 20216d0d2b * OpenTK/Test/Multithreading.cs: Replaced anonymous delegate by a private function for easier debugging.
Switch to/from fullscreen when Key.Space is pressed.
2009-11-09 19:14:14 +00:00
the_fiddler d3ba9e61e0 * ImmediateMode.cs: Added missing calls to base.On* events. Removed tabs. 2009-11-09 17:34:24 +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 7c82f66942 Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS. 2009-11-06 16:46:28 +00:00
the_fiddler c0789ffa6e Cleaned up deprecated methods. 2009-11-04 20:48:31 +00:00
the_fiddler 2073a8805c Added missing base.On* calls. 2009-11-04 17:01:44 +00:00
the_fiddler 8ce46fafde Set window title and icon. 2009-11-04 11:47:58 +00:00
the_fiddler 507a890ceb Doubled the size of particles and made them slightly faster. 2009-11-04 10:47:20 +00:00
the_fiddler 74657d94f8 Cleaned up sample, added color and motion. 2009-11-04 10:44:56 +00:00
the_fiddler f58fe867e8 Added default icon to samples and the example browser. 2009-11-04 01:19:35 +00:00
the_fiddler 72045f4901 Added default application icon. 2009-11-04 00:57:14 +00:00
the_fiddler baf44cff90 No need to burn 100% CPU time just for a spinning cube! (Especially important for the multithreading test, which opens multiple such windows). 2009-11-03 13:03:35 +00:00
the_fiddler c2a40d0b66 Added multithreading test to verify GameWindow behavior with multiple threads. 2009-11-03 09:58:39 +00:00
the_fiddler 9d8cf134c1 Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size. 2009-11-02 09:37:18 +00:00
the_fiddler af2d77cdc5 Updated version numbers in preparation for release. 2009-11-01 23:07:38 +00:00
the_fiddler 792c4e3645 Merged es20 branch back into trunk. 2009-10-28 23:09:25 +00:00
the_fiddler fca4dde7cf Initialize input vectors to random values.
Use smaller data blocks that can be verified visually.
Perform error checking when executing the kernel.
Wait for the command queue to finish before displaying the results.
2009-10-28 14:54:20 +00:00
the_fiddler 8e9ebf4fe1 Renamed dds textures to not contain strange characters that confuse Prebuild.
Added checks for extension support to SwizzledParallax sample.
2009-10-28 09:05:13 +00:00
the_fiddler 0c0acfbf75 Track mouse enter/leave events. 2009-10-27 23:58:29 +00:00
the_fiddler 198c12ef35 Plane.cs belongs to the 'old' structures. 2009-10-24 10:21:14 +00:00
the_fiddler fe5b0afe5b Merged Inertia's example and geometry branch, 2009-10-24 10:07:43 +00:00
the_fiddler b8bdfcd3a5 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). 2009-10-21 13:51:39 +00:00
the_fiddler 7066b8bb8b Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. 2009-10-21 13:35:29 +00:00
the_fiddler 895e416ca1 OnLoad/OnUnload should be protected, not public, to conform with the class library design guidelines. This issue was supposed to be fixed in 0.9.9-2, but was apparently overlooked. 2009-10-21 13:33:00 +00:00
the_fiddler cf859d7694 * OpenCL/VectorAdd.cs: Use hCmdQueue instead of hContext and added
missing CL.EnqueueWriteBuffer calls (patch by mike vasiljevs, fixes
  issue [#1233]: "OpenCL - AddVector.cs - example corrections").
Output calculation results.
2009-10-19 17:45:50 +00:00
the_fiddler 48c85b313a Indicate whether the window is focused or not. 2009-10-18 15:58:48 +00:00
the_fiddler 856e13fcb8 Fixed several code instances that relies on C# 3.0 features. 2009-09-07 23:28:59 +00:00
the_fiddler 66e17487b0 Updated in preparation of 0.9.9-2 release. 2009-09-05 18:35:20 +00:00
the_fiddler fb08c51881 * GameWindowStates.cs: Increased texture size to ensure the text fits inside. 2009-09-04 23:48:44 +00:00
the_fiddler 6fdf37f99f Added KeyboardKeyEventArgs.
Modified KeyboardDevice.KeyDown/KeyUp to follow the class library design guidelines.
Modified samples to use the new KeyDown/KeyUp event signatures.
2009-09-04 22:10:50 +00:00
the_fiddler 9425b187c9 Added missing resx to DerivedGLControl. 2009-09-04 13:05:24 +00:00
the_fiddler ba7f7ea6eb Use CreateRotationY instead of the deprecated RotateY. 2009-09-04 13:04:42 +00:00
the_fiddler aa11568b72 Add conditional compilation for assembly signature. 2009-09-04 12:45:58 +00:00
the_fiddler 2c4e0feb1a * Source/Build/Properties/AssemblyInfo.cs:
* Source/OpenTK/Properties/AssemblyInfo.cs:
* Source/Examples/Properties/AssemblyInfo.cs:
* Source/GLControl/Properties/AssemblyInfo.cs:
* Source/Compatibility/Properties/AssemblyInfo.cs: Added
  AssemblyKeyFile and AllowPartialTrustCallers attributes.

* Source/OpenTK/Configuration.cs: Added [assemly: AssemblyKeyFile]
  attribute.
Added missing license information.
Moved [assembly: CLSCompliant] to Properies/AssemblyInfo.cs.
2009-09-04 10:34:18 +00:00
the_fiddler f6da09177e Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files. 2009-09-03 19:01:11 +00:00
the_fiddler 3081d38199 * GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial. 2009-08-25 23:06:20 +00:00
the_fiddler 501e690c85 Changed default namespace to OpenTK.Examples. 2009-08-25 15:38:50 +00:00
the_fiddler 2695db5b79 * GeometryShader.cs: Changed the number of output vertices so that output_vertices * num_varying_components is not larger than MaxGeometryTotalOutputComponents. Moved ProgramParameter calls before LinkProgram. 2009-08-25 09:33:01 +00:00
the_fiddler 6581d66007 Suppressed "Example Browser not ready" message box. 2009-08-20 22:16:11 +00:00
the_fiddler 483ce0e533 Added pokemoen's Geometry Shader sample. 2009-08-20 22:15:54 +00:00
the_fiddler ed9cdeee47 Removed unused code. 2009-08-19 13:20:45 +00:00
the_fiddler 6b46659b0e Deleted OpenTK.Utilities project. 2009-08-17 10:36:38 +00:00
the_fiddler bb49daff4c Added OpenGL|ES 2.0 sample. 2009-08-17 10:34:50 +00:00
the_fiddler c1f41d1eb9 Moved Alut to OpenTK.Compatibility.
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +00:00
the_fiddler af7175ea0a Manually check for OpenGL version. Removed TextPrinter references. 2009-08-17 09:57:43 +00:00
the_fiddler 33e90d1b97 Manually check for OpenGL extension support.
Removed TextPrinter reference.
2009-08-17 09:56:43 +00:00
the_fiddler 48973cdebc Manually check OpenGL version. 2009-08-17 09:56:16 +00:00
the_fiddler 78df834e1d Disabled TextPrinter samples.
Removed TextPrinter references.
2009-08-17 09:32:50 +00:00
the_fiddler 28eec56fa5 Fixed Matrix4.CreatePerspectiveFieldOfView calls to use radians instead of degrees. 2009-08-15 17:52:49 +00:00