Commit graph

424 commits

Author SHA1 Message Date
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
the_fiddler 73914709ba Call GL.Clear. Slightly reduce Update speed. 2008-03-10 11:38:05 +00:00
the_fiddler 1e397fcee5 Moved OpenTK.Fonts to OpenTK.Graphics namespace. 2008-03-08 14:38:10 +00:00
the_fiddler edd10b86d9 Report the size of uploaded VBO data, when an error occurs. 2008-03-03 12:45:18 +00:00
the_fiddler 459cbb0c8f Updated hidden window constructor. 2008-03-01 13:16:34 +00:00
the_fiddler 6213551844 Added screenshot capability. 2008-03-01 13:15:35 +00:00
the_fiddler 7d6d34c686 Renamed GraphicsFormat to GraphicsMode. 2008-02-28 15:26:13 +00:00
the_fiddler 9145d0b6ca Updated examples to use GraphicsFormat instead of DisplayMode.
Improved S04_Input_Logger and W03_Extensions shutdown.
2008-02-28 13:57:48 +00:00
the_fiddler 4fe6d37770 Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL. 2008-02-02 00:58:26 +00:00
the_fiddler 5b9991cba3 Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:39:54 +00:00
the_fiddler 8c899ab16a 2008-01-31 14:27:24 +00:00
the_fiddler 22c80f5b2e Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:23:20 +00:00
the_fiddler 7380c1616e Removed MakeCurrent() tests. 2008-01-31 14:11:56 +00:00
the_fiddler 2f6f12f935 Fixed test. Restored fade-out/fade-in effects. 2008-01-26 14:38:35 +00:00
the_fiddler 76566b840e Updated test. 2008-01-26 14:21:02 +00:00
the_fiddler 6f9deacc85 Added fadeout and fadein effect. 2008-01-26 14:02:58 +00:00
the_fiddler 1caf0c77eb Explicitly change to 640x480@60Hz. 2008-01-26 10:40:20 +00:00
the_fiddler e17439384b Fullscreen mode changes now work! 2008-01-24 12:36:40 +00:00
the_fiddler 793744402e WinDisplayDevice is now multiple-monitor aware.
Added SelectResolution function to DisplayDevice.
Updated test to change settings on all available monitors.
2008-01-24 10:50:39 +00:00
the_fiddler 542fd0b2f7 Added test for DisplayDevice. 2008-01-24 09:25:43 +00:00
the_fiddler 70ad9b8714 Fixed capitalization of Texture2D etc. 2008-01-24 09:25:24 +00:00
the_fiddler 40e9857c6f Reverted last commit (bogus!) 2008-01-24 09:24:11 +00:00
the_fiddler d8860a6aaa Fixed capitalization of Texture2D etc. 2008-01-24 09:17:07 +00:00
the_fiddler 3c7d4e27b0 Disabled multiple AudioContext under linux.
Moved AudioContext.LoadAvailableDevices() call outside the static constructor.
2008-01-22 21:18:47 +00:00
the_fiddler 5ec6a23527 Added as hidden example. 2008-01-22 14:54:11 +00:00
the_fiddler 5ec59ff280 Use Utilities.SetWindowTitle() 2008-01-22 14:54:00 +00:00
the_fiddler f3916e3357 Still trying to debug crash on Mono. Reverted changes. 2008-01-20 22:35:46 +00:00
the_fiddler 9c0087e1bf Commented out IsCurrent = true to help debug crash on Mono. 2008-01-20 22:19:52 +00:00
the_fiddler 8153d50b3e Removed Suspend call before MakeCurrent() 2008-01-20 22:17:23 +00:00
the_fiddler ec9b9fd59c Corrected an assertion. 2008-01-20 22:12:04 +00:00
the_fiddler cf0747df6c Trying to debug alcMakeContextCurrent crash on Linux. 2008-01-20 22:04:41 +00:00
the_fiddler a8353d7e33 Worked around a Mono bug with unsafe inline constructors. 2008-01-20 19:42:01 +00:00
the_fiddler 878af03601 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler 5a66d44f19 Documentation updates. Getting rid of warnings. 2008-01-20 19:00:03 +00:00
the_fiddler b0116f903c Updated version numbers. 2008-01-20 17:29:29 +00:00
the_fiddler 5716c6a334 Updated example attribute and tessellation function. It now works! 2008-01-20 17:21:04 +00:00
the_fiddler 66ab195cec Spelling. 2008-01-20 09:29:48 +00:00
the_fiddler 98f7e0a837 Removed unused code. 2008-01-20 09:22:58 +00:00
the_fiddler 5d1aa04bc6 Update to Keyboard Handling. 2008-01-20 09:00:15 +00:00
the_fiddler f24139c26a Added example. 2008-01-20 08:42:19 +00:00
the_fiddler cf729f5df6 Updated licensing information. Added more test data. 2008-01-19 15:26:16 +00:00
the_fiddler 57caf66538 Updated licensing information. 2008-01-19 15:25:51 +00:00
the_fiddler 3174141b23 Fixed AudioContext.IsCurrent getter (would throw if no context was current). 2008-01-18 15:10:25 +00:00
the_fiddler c3b14818ea Renamed TestContext.cs to TestAudioContext.cs 2008-01-18 14:13:30 +00:00
the_fiddler f36fe39044 Start testing of AudioContext class. 2008-01-18 14:13:04 +00:00
the_fiddler f2f59590ac Removed MathSpeed.Difficulty. 2008-01-18 14:01:25 +00:00