Commit graph

469 commits

Author SHA1 Message Date
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
the_fiddler 3462e80978 Moved OpenTK.Graphics.GL class to the OpenTK.Graphics.OpenGL namespace (reason: necessary for OpenGL|ES support; necessary for support of different OpenGL profiles). OpenTK.Graphics.GL has been moved to the OpenTK.Compatibility library.
Removed OpenTK.Graphics.Glu class (reason: deprecated upstream; most functionality provided by OpenTK math; not compatible with OpenGL 3.0+.) OpenTK.Graphics.Glu can be accessed through OpenTK.Compatibility.
Added OpenGL|ES-specific ErrorHelper classes.
Moved OpenTK.Graphics.DisplayDevice and OpenTK.Graphics.DisplayResolution to the root OpenTK namespace (reason: their functionality is not specific and does not depend on OpenTK.Graphics).
Split Graphics*Exception classes into different files.
Made GraphicsErrorException public (reason: necessary for OpenTK.Compatibility).
2009-08-14 13:13:28 +00:00
the_fiddler 2841a635a7 Added support for OpenCL samples.
Added VectorAdd sample.
Bumped version number.
2009-08-11 20:18:05 +00:00
the_fiddler 5408787be8 Updated version information. 2009-08-04 10:01:33 +00:00
the_fiddler b88ce5438b Added Parrot capture & playback sample. 2009-07-19 20:57:17 +00:00
the_fiddler 6b2bb1d79b Updated to use latest AudioCapture / AudioContext APIs. 2009-07-19 20:56:49 +00:00
the_fiddler 5ca63466aa Ported updates from 0.9.8. 2009-07-18 08:44:31 +00:00
the_fiddler 3222b976b3 Updated to use latest Audio api. 2009-07-17 23:00:50 +00:00
the_fiddler 1037fd2ca6 * OpenALDiagnostics.cs: Added new diagnostics sample to Examples project. 2009-07-17 09:58:47 +00:00
the_fiddler b38c7610cb Removed tabs. 2009-06-26 21:09:55 +00:00
the_fiddler 7f39df3460 Fixed license information.
Cleaned up Main method.
2009-06-26 21:07:57 +00:00
the_fiddler b24ae1e28b Added nythrix's OpenGL 3.0 example. 2009-06-26 21:07:09 +00:00
the_fiddler 619a8dcb82 Fixed license information. 2009-06-26 21:06:28 +00:00
the_fiddler 00221ba225 * OpenGL/1.1/DisplayLists.cs: Avoid Glu in favor of OpenTK.Matrix4.
* OpenAL/Test/TestAudioContext.cs: Remove deprecated Alut calls.
* OpenTK/GLControl/SimpleGLControl.Designer.cs: Use DockStyle.Fill instead of anchoring.
2009-06-25 22:47:59 +00:00
the_fiddler df6671cb4a Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler 36edcad914 Merged OpenTK.Compute from the cl branch.
Merged changes from the 0.9.8 branch.
Updated version numbers for 0.9.9 release.
2009-06-24 15:47:41 +00:00
the_fiddler f230535dfc Removed obsolete IResizable, DisplayMode and ColorMode APIs.
Marked carbon API class as internal.
Added a large number of missing XML comments.
2009-06-04 11:31:02 +00:00
the_fiddler 7df9a448d6 Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler 95a1e9d297 Added FSAA example. 2009-06-01 11:05:00 +00:00
the_fiddler 42ae25022c Removed obsolete using directives. 2009-06-01 10:52:45 +00:00
the_fiddler 6b56856da7 Added warning when launching the new sample browser.
Removed unused code.
2009-05-31 15:13:28 +00:00
the_fiddler a2c0cd8b30 Replaced Control.Invoke() by Control.BeginInvoke() to avoid deadlock when Debug.Print() is called from the finalizing thread. 2009-05-30 21:06:51 +00:00
the_fiddler 7244b80332 Fixed exception while the Sample Browser is shutting down. 2009-05-30 17:51:19 +00:00
the_fiddler 2fd79b720e Added workaround for broken Mono GDI+ text offset.
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler 339348bb95 Merged the latest specs from opengl.org.
Replaced all instances of Version14, Version15, Version20, Version30 and Version31 enums by type-safe equivalents.
Added gloverrides.xml to support overrides to function parameters / return types. This will make future spec updates easier to merge.
Improved handling of invalid tokens in the specs.
Bindings are now written in alphabetical order. This will reduce patch size for future updates and make side-by-side comparisons easier to perform.
2009-05-29 15:57:01 +00:00
the_fiddler 03f9857bd2 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler e8dff6f102 * ExampleBrowser.cs: Output TextBox now uses a monospace font.
* ExampleBrowser.Designer.cs: Worked around RichTextBox scrolling artifacts on Mono 1.9.2/2.0.
2009-04-21 13:06:50 +00:00
the_fiddler 8cbbb4087f * ExampleBrowser.cs: Replaced tabs with spaces. 2009-04-21 12:58:16 +00:00
the_fiddler 5c633fef8b * ExampleBrowser.cs: Worked around RichTextBox crash with empty text on Mono 2.0. 2009-04-21 12:55:43 +00:00
the_fiddler 4eb5af7ef7 * Resources.resx: Fixed case in filenames (Visual Studio resource designer ignores case). 2009-04-21 12:47:50 +00:00
the_fiddler e7694a5a18 Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs) 2009-04-21 12:28:19 +00:00
the_fiddler 548bbd36c2 Let Visual Studio automatically update Resources.Designer.cs. 2009-04-20 10:18:39 +00:00
the_fiddler 632f6b9f1b Completely removed old ExampleLauncher. 2009-04-20 10:18:13 +00:00
the_fiddler 6bbaad8bfb Moved and renamed examples to match the new example structurs.
Made example source code visible for all examples in example browser.
Updated Prebuild.exe to newest SVN version (resolves issues with resources).
Added .rtf and .resx files to Examples project in Prebuild.xml.
2009-04-20 09:48:33 +00:00
the_fiddler 7851bbff84 New sample browser with documentation and source code display.
Reduced example categories to OpenGL, OpenAL, OpenTK. Updated all samples to reflect this change.
Moved startup and loading code into separate files.
2009-04-20 07:20:25 +00:00
the_fiddler 8a0d494069 Updated OpenGL bindings: 'v' suffixes are now trimmed from all functions.
Added Matrix4 and Vector* overloads to Uniform* methods.
2009-04-12 18:24:56 +00:00
the_fiddler 046bdbb403 Fixed type (wrap around). 2009-03-30 21:31:24 +00:00
the_fiddler 484432ce36 GLU tesselation example is no longer visible in release builds (it fails on Mono).
FrameBufferObject example: upldated title to match the rest of the examples.
2009-03-25 23:15:03 +00:00
the_fiddler bae796307d Updated version numbers and documentation for the 0.9.6 release. 2009-03-25 22:46:31 +00:00
the_fiddler 6b82a491e8 Added snocrash' reverb EFX example. 2009-03-25 18:42:54 +00:00
the_fiddler d8ab1e972b Replaced C# 3.0 code ('var') with its C# 2.0 equivalent. 2009-03-08 22:28:32 +00:00
the_fiddler 280b8525ea Updated version numbers and documentation for 0.9.5 release. 2009-03-08 22:19:00 +00:00
the_fiddler 8eaa30ea33 Added pokemoen's enhancements to Extensions sample (return values, parameters). 2009-03-08 19:17:36 +00:00
the_fiddler f4b6f1d0f2 Modified Extensions example to request a GL3.0 context. 2009-03-07 18:33:23 +00:00
the_fiddler 87c04d5bfc Prepare for 0.9.4 release. 2009-03-01 09:55:22 +00:00
the_fiddler f46deb7103 Fixed exception when no joystick is present. 2009-03-01 01:20:26 +00:00
the_fiddler 8b31086055 Added missing parameters to joystick event loggers.
Updated to use the JoystickAxis and JoystickButton enumerations.
2009-03-01 01:18:00 +00:00
the_fiddler 2eeb1a7bd9 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler 837ea0d90c Removed unused code. 2009-02-28 23:10:25 +00:00
the_fiddler 047eee206c Improved Mono support. 2009-02-28 20:49:58 +00:00
the_fiddler 7a4e5bb4c4 Moved to the Tests namespace. 2009-02-28 20:42:25 +00:00
the_fiddler 8a53a142bb Massively improved example: more information displayed, better layout. 2009-02-28 20:40:10 +00:00
the_fiddler 37755cb398 Check that OpenGL resources have really been allocated, before deleting them in Unload(). 2009-02-22 16:01:29 +00:00
the_fiddler 6e5eaf4653 Set SVN mime-type to text/plain and eol-style to native. 2009-02-22 15:51:06 +00:00
the_fiddler 5dfa3e4de2 Check whether EXT_framebuffer_object is supported and abort if it is not. 2009-02-22 15:50:08 +00:00
the_fiddler 5e85dfc40e Use GameWindow.Exit() instead of GameWindow.ExitAsync(). 2009-02-22 15:49:33 +00:00
the_fiddler 69b17fa43f Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler ef6562d266 Bumped version number. 2009-02-20 19:49:07 +00:00
the_fiddler 1fbbeff3be Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers. 2009-02-20 19:48:22 +00:00
kanato c2fd0e5eb2 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler 12d81be831 Updated to use the ExampleAttribute instead of the old IExample interface. 2009-02-20 18:04:01 +00:00
the_fiddler d443691b74 Update to use the new MouseDevice interface. 2009-02-20 18:03:05 +00:00
the_fiddler db690b144f Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00
the_fiddler 8919350730 Fixed line endings. 2009-02-12 23:43:06 +00:00
the_fiddler 2b7f413fc9 Added Color4 structure serialization test. 2009-01-23 15:51:12 +00:00
the_fiddler 0468453761 Add a call to Application.DoEvents() before launching the example. This should ensure that the launcher window disappears before the example is launched and should also take care of any keyboard/mouse handling issues. 2008-12-25 00:57:00 +00:00
the_fiddler 3606f4ec5c Normalized line endings. 2008-12-10 09:36:33 +00:00
the_fiddler c084833d48 Removed unused variables and relevant warnings. 2008-09-19 20:57:35 +00:00
the_fiddler 437273f215 Temporarily disabled math serialization test (now examples.exe compiles). 2008-09-02 09:45:52 +00:00
the_fiddler 1c1bf9dad8 Added serialization test. 2008-07-10 14:01:52 +00:00
the_fiddler 0a8f1a9c6a Added screenshot capabilities on F12. 2008-06-22 16:22:30 +00:00
the_fiddler ab3e0d8c13 Changed the fps counter color to SkyBlue. 2008-06-22 16:20:40 +00:00
the_fiddler 30a1834dec * IExample.cs: Updated licensing information. 2008-05-05 17:10:53 +00:00
the_fiddler 5e7a9f9299 * GluTessellation.cs: Updated licensing information. 2008-05-05 17:10:28 +00:00
the_fiddler a8eee8da11 Added Inertia's FrameBufferObject example. 2008-05-05 17:05:11 +00:00
the_fiddler 029e2e24ef Fixed path to wav file. 2008-05-04 19:44:21 +00:00
the_fiddler 1e6b7dd913 2008-05-04 19:16:46 +00:00
the_fiddler ae6d22c0f3 Normalized naming. 2008-05-04 19:14:52 +00:00
the_fiddler 201f671cd9 The MouseChoose combobox now has the primary mouse selected by default. 2008-05-04 18:29:03 +00:00
the_fiddler 9ea06f2895 Trying to debug why mouse is not moving on Linux. 2008-05-04 18:15:14 +00:00
the_fiddler bd238a8d85 2008-05-04 18:09:15 +00:00
the_fiddler 93f9ee797f 2008-05-04 18:08:56 +00:00
the_fiddler 3c6fc58750 Temporarily remove MouseDevice.Move event, due to issues with deltas when the mouse stops moving. 2008-05-04 18:08:03 +00:00
the_fiddler 7bcfee4bc4 Renamed to InputLogger. 2008-05-04 17:48:11 +00:00
the_fiddler 025b57d428 Added display for WheelDelta value. 2008-05-04 17:45:33 +00:00
the_fiddler 949f1e9ee2 Fixed line endings. 2008-05-04 17:44:13 +00:00
the_fiddler 5dbf0c100b Make ExampleAttribute.Visible a named parameter, that is true by default (even for test examples). 2008-05-04 16:32:11 +00:00
the_fiddler a8eafbd367 Use the same resolution as other examples. 2008-05-04 16:28:04 +00:00
the_fiddler e64ce559d8 Try to change bits per pixel, too. 2008-05-04 16:27:41 +00:00
the_fiddler 50ff7cdc08 Fixed Alt+Enter fullscreen toggling. 2008-05-04 14:45:33 +00:00
the_fiddler 03765583da Fix line endings. 2008-05-04 14:42:01 +00:00
the_fiddler 1540fab506 Added GetNext and GetPrevious methods to improve toggling of window states and borders. 2008-05-04 14:40:08 +00:00
the_fiddler 3d07e2597f Normalized line endings. 2008-05-03 16:34:39 +00:00
the_fiddler cecc9c4867 * Tests/GameWindowStates.cs: Add bidirectional mode changes. 2008-05-03 16:33:17 +00:00
the_fiddler dab5111c3a * Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern. 2008-04-25 22:09:41 +00:00
the_fiddler 655b706221 * Tests/GameWindowStates.cs: Fullscreen toggling on key 3. 2008-04-25 21:49:49 +00:00
the_fiddler d4201c810e * Tests/GameWindowStates.cs: Added current status to, and reduced font
size for instructions.
2008-04-25 21:32:43 +00:00
the_fiddler cd3a577285 Test all WindowBorder and WindowStyle combinations. Add instructions. 2008-04-21 20:19:12 +00:00
the_fiddler 8000c46892 Changed all GameWindow.Fullscreen properties to GameWindow.WindowState.
Added WindowState test app.
2008-04-20 17:59:05 +00:00
the_fiddler 21cd2fd536 Display a scrollbar when too many examples are loaded. 2008-04-20 15:09:30 +00:00
the_fiddler 43b43fc256 Call Dispose on the loaded bitmap. 2008-04-13 21:31:24 +00:00
the_fiddler 3db006f122 Added audio file as example. 2008-04-13 20:06:55 +00:00
the_fiddler d4590f183b Made AudioContext.Device private. Added AudioContext.SupportsExtension. 2008-04-13 19:42:37 +00:00
the_fiddler 1ef220c5ab Fixed framerate rendering. 2008-04-13 18:43:15 +00:00
the_fiddler c56152fe3b Removed the example number. 2008-04-13 16:54:07 +00:00
the_fiddler bd8cc95bc2 License. 2008-04-13 16:53:41 +00:00
the_fiddler 2b744c07c4 Added Inertia's Julia Fractal example. 2008-04-13 16:52:15 +00:00
the_fiddler fb13f49a85 Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics. 2008-04-13 16:45:56 +00:00
the_fiddler 537015b337 Now handles security exceptions. 2008-04-13 15:51:31 +00:00
the_fiddler 2645abef72 Got rid of obsolete DisplayMode. 2008-04-13 15:51:09 +00:00
the_fiddler 71407f76d0 Updated to use AudioLoader. 2008-04-06 14:48:47 +00:00
the_fiddler 1474e3b9bc Trying to fix sound popping. 2008-04-06 14:28:29 +00:00
the_fiddler 55bbd2d5f8 Updated using (AudioContext) declaration. 2008-04-06 01:28:42 +00:00
the_fiddler 2fa1330f3b Fixed SoundReader prermissions.
Fixed a problem with SoundReader.EndOfFile.
Removed a Dispose() call i Playback.cs (was not necessecary).
Streaming code updates.
2008-04-04 22:14:42 +00:00
the_fiddler 98ded8fd9e Moved streaming code to StreamingPlayback.cs. 2008-04-04 21:33:34 +00:00
the_fiddler 224f917a49 Added licenses. 2008-04-04 21:05:03 +00:00
the_fiddler ddf7f3ac34 Renamed TestPlayback.cs to Playback.cs 2008-04-04 21:04:39 +00:00
the_fiddler 5f4a639ebd Renamed TestPlayback.cs to Playback.cs. 2008-04-04 20:44:47 +00:00
the_fiddler b5974951d7 Move streaming playback to its own file. 2008-04-04 20:20:33 +00:00
the_fiddler feea08d121 Initial commit (stubbed). 2008-04-04 20:19:53 +00:00
the_fiddler 7001076f5a Moved OpenTK.OpenAL to OpenTK.Audio.
Added SoundReader class.
Added OpenTK.Math.Functions.NextPowerOfTwo 
Fixed several AL functions, and added overloads to AL.BufferData.
Added OpenAL wave playback sample.
2008-04-04 19:46:08 +00:00
the_fiddler 26f1ac30d0 Added support for higher mouse buttons under X11.
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler ac68af8730 Do not call opengl functions when in Visual Studio designer. 2008-03-24 13:27:18 +00:00
the_fiddler be13869712 Use GLControl. 2008-03-24 13:26:25 +00:00
the_fiddler e1a30509cb Updated some licenses. Remove a couple of DisplayMode warnings. 2008-03-24 13:15:25 +00:00