Commit graph

456 commits

Author SHA1 Message Date
the_fiddler 16f209497b Added support for OpenCL samples.
Added VectorAdd sample.
Bumped version number.
2009-08-11 20:18:05 +00:00
the_fiddler 0a8e6d0555 Updated version information. 2009-08-04 10:01:33 +00:00
the_fiddler a9b59d4021 Added Parrot capture & playback sample. 2009-07-19 20:57:17 +00:00
the_fiddler ce2a024c14 Updated to use latest AudioCapture / AudioContext APIs. 2009-07-19 20:56:49 +00:00
the_fiddler cc90efe8c5 Ported updates from 0.9.8. 2009-07-18 08:44:31 +00:00
the_fiddler c66871080c Updated to use latest Audio api. 2009-07-17 23:00:50 +00:00
the_fiddler 4f6f2daa5c * OpenALDiagnostics.cs: Added new diagnostics sample to Examples project. 2009-07-17 09:58:47 +00:00
the_fiddler 2d535853af Removed tabs. 2009-06-26 21:09:55 +00:00
the_fiddler 828836675b Fixed license information.
Cleaned up Main method.
2009-06-26 21:07:57 +00:00
the_fiddler 6aabf2cef5 Added nythrix's OpenGL 3.0 example. 2009-06-26 21:07:09 +00:00
the_fiddler 38947ffba5 Fixed license information. 2009-06-26 21:06:28 +00:00
the_fiddler 258f2a4e57 * 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 a7363b54e6 Removed OpenTK.Math namespace. Math functions now go directly into the OpenTK namespace. 2009-06-25 11:42:05 +00:00
the_fiddler c1db7a276b 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 d5efed9045 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 cb661c2dca Merged gw-next2 branch to trunk. 2009-06-02 15:49:39 +00:00
the_fiddler 957bae2572 Added FSAA example. 2009-06-01 11:05:00 +00:00
the_fiddler 304c90a3ff Removed obsolete using directives. 2009-06-01 10:52:45 +00:00
the_fiddler 5a0b27faa1 Added warning when launching the new sample browser.
Removed unused code.
2009-05-31 15:13:28 +00:00
the_fiddler cdfe975427 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 f39628bbb2 Fixed exception while the Sample Browser is shutting down. 2009-05-30 17:51:19 +00:00
the_fiddler 2bdf2e9828 Added workaround for broken Mono GDI+ text offset.
Commented-out unused code.
2009-05-30 17:35:42 +00:00
the_fiddler cf4a243c99 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 c83fda0419 Fixed source code resources for all examples. 2009-04-21 13:33:25 +00:00
the_fiddler f60715998a * 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 25fda5ae19 * ExampleBrowser.cs: Replaced tabs with spaces. 2009-04-21 12:58:16 +00:00
the_fiddler 5fadf449be * ExampleBrowser.cs: Worked around RichTextBox crash with empty text on Mono 2.0. 2009-04-21 12:55:43 +00:00
the_fiddler d89eed8b11 * Resources.resx: Fixed case in filenames (Visual Studio resource designer ignores case). 2009-04-21 12:47:50 +00:00
the_fiddler 8bcf089eee Fixed case (FramebufferObject.cs instead of FrameBufferObject.cs) 2009-04-21 12:28:19 +00:00
the_fiddler e05b05e517 Let Visual Studio automatically update Resources.Designer.cs. 2009-04-20 10:18:39 +00:00
the_fiddler 7a64739114 Completely removed old ExampleLauncher. 2009-04-20 10:18:13 +00:00
the_fiddler 989be84c96 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 ec7315500e 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 6f352bd9e1 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 ee5a7dac1f Fixed type (wrap around). 2009-03-30 21:31:24 +00:00
the_fiddler 6b9c4a3c78 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 0c39a6c2d4 Updated version numbers and documentation for the 0.9.6 release. 2009-03-25 22:46:31 +00:00
the_fiddler c3e1cb9ac8 Added snocrash' reverb EFX example. 2009-03-25 18:42:54 +00:00
the_fiddler 1a1d0cab6f Replaced C# 3.0 code ('var') with its C# 2.0 equivalent. 2009-03-08 22:28:32 +00:00
the_fiddler b0704762f2 Updated version numbers and documentation for 0.9.5 release. 2009-03-08 22:19:00 +00:00
the_fiddler 57a26d434c Added pokemoen's enhancements to Extensions sample (return values, parameters). 2009-03-08 19:17:36 +00:00
the_fiddler c2d9b32ff1 Modified Extensions example to request a GL3.0 context. 2009-03-07 18:33:23 +00:00
the_fiddler 4ac210a991 Prepare for 0.9.4 release. 2009-03-01 09:55:22 +00:00
the_fiddler 1f11e3f38c Fixed exception when no joystick is present. 2009-03-01 01:20:26 +00:00
the_fiddler f33d2ff498 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 0dca74a232 Implemented JoystickDevice events.
Added GameWindow interface to JoystickDevices.
Added HID support to Tests/InputLogger.
2009-03-01 00:28:31 +00:00
the_fiddler 02730b1e55 Removed unused code. 2009-02-28 23:10:25 +00:00
the_fiddler c953327f1c Improved Mono support. 2009-02-28 20:49:58 +00:00
the_fiddler c14b41b3f4 Moved to the Tests namespace. 2009-02-28 20:42:25 +00:00
the_fiddler ec45dfab24 Massively improved example: more information displayed, better layout. 2009-02-28 20:40:10 +00:00
the_fiddler 90253d5f62 Check that OpenGL resources have really been allocated, before deleting them in Unload(). 2009-02-22 16:01:29 +00:00
the_fiddler 9a32ce9f55 Set SVN mime-type to text/plain and eol-style to native. 2009-02-22 15:51:06 +00:00
the_fiddler 55c34f8a48 Check whether EXT_framebuffer_object is supported and abort if it is not. 2009-02-22 15:50:08 +00:00
the_fiddler 871a76b46b Use GameWindow.Exit() instead of GameWindow.ExitAsync(). 2009-02-22 15:49:33 +00:00
the_fiddler a22019d890 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 80c0895005 Bumped version number. 2009-02-20 19:49:07 +00:00
the_fiddler fa1165a3ab Fixed parameters on MouseDevice.Move and MouseDevice.WheelChanged event loggers. 2009-02-20 19:48:22 +00:00
kanato 81e09a2066 Merged in macos branch for Mac OS X support. 2009-02-20 18:57:57 +00:00
the_fiddler e7c3fbd1b5 Updated to use the ExampleAttribute instead of the old IExample interface. 2009-02-20 18:04:01 +00:00
the_fiddler a1a2de03c9 Update to use the new MouseDevice interface. 2009-02-20 18:03:05 +00:00
the_fiddler 7651a7a3bb Merged text branch and updated changelog. 2009-02-13 19:09:38 +00:00
the_fiddler 52eb19f93b Fixed line endings. 2009-02-12 23:43:06 +00:00
the_fiddler b75b50acb2 Changed example color to midnight blue. 2009-02-12 23:42:11 +00:00
the_fiddler ef4ab16e30 Modified to use new Text interface. 2009-02-12 23:41:29 +00:00
the_fiddler c18b522763 Exercise TextAlignment and TextDirection options. 2009-02-12 22:52:24 +00:00
the_fiddler fabc194301 Added Color4 structure serialization test. 2009-01-23 15:51:12 +00:00
kanato 180da6c5dd GameWindowStates test: Added support for jumping two WindowStates with one keystroke. 2009-01-14 19:52:27 +00:00
the_fiddler d45f6f7d6d 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 7a7718a57c Use new API.
Fix initial message to "The quick brown fox jumped over the lazy dog."
2008-12-19 15:37:09 +00:00
the_fiddler e4b5e23701 Normalized line endings. 2008-12-10 09:36:33 +00:00
kanato d3001f8a26 Correct position of buffer rect to be within the GLControl. 2008-12-09 20:10:24 +00:00
kanato 11430665f3 First commit which includes support for drawing to a WinForms control. 2008-12-09 19:44:18 +00:00
the_fiddler 52577946e3 Set compatible text rendering to false, in order to improve text rendering in the WinForms samples. 2008-11-27 16:37:48 +00:00
the_fiddler baf3247afe Initial work on new interface.
Use subpixel antialiasing.
2008-11-26 21:49:05 +00:00
the_fiddler a5c733774a UI should update when changing fonts. 2008-11-26 16:35:19 +00:00
the_fiddler 2bffcbbfcf Added new font rendering sample. 2008-11-25 19:00:06 +00:00
the_fiddler e1beaf3744 Updated examples to use the new TextPrinter. 2008-11-25 17:25:51 +00:00
the_fiddler e3535cdbb1 Use 16pt font (looks better). 2008-11-24 17:55:34 +00:00
the_fiddler a57eb8f647 First public commit of the new text renderer (WIP implementation). 2008-11-24 16:43:56 +00:00
the_fiddler 573622bf0b Removed unused variables and relevant warnings. 2008-09-19 20:57:35 +00:00
the_fiddler fb86950099 Temporarily disabled math serialization test (now examples.exe compiles). 2008-09-02 09:45:52 +00:00
the_fiddler 81888345df Added serialization test. 2008-07-10 14:01:52 +00:00
the_fiddler 49d1b68fa4 Added screenshot capabilities on F12. 2008-06-22 16:22:30 +00:00
the_fiddler 4e521ea72e Changed the fps counter color to SkyBlue. 2008-06-22 16:20:40 +00:00
the_fiddler 7bb6b91cbf * IExample.cs: Updated licensing information. 2008-05-05 17:10:53 +00:00
the_fiddler 4e754d975f * GluTessellation.cs: Updated licensing information. 2008-05-05 17:10:28 +00:00
the_fiddler 76c591a77b Added Inertia's FrameBufferObject example. 2008-05-05 17:05:11 +00:00
the_fiddler 84756e05d2 Fixed path to wav file. 2008-05-04 19:44:21 +00:00
the_fiddler d31eabf905 2008-05-04 19:16:46 +00:00
the_fiddler 35abdde1ed Normalized naming. 2008-05-04 19:14:52 +00:00
the_fiddler 7dfac94aa7 The MouseChoose combobox now has the primary mouse selected by default. 2008-05-04 18:29:03 +00:00
the_fiddler 0ac14a65f4 Trying to debug why mouse is not moving on Linux. 2008-05-04 18:15:14 +00:00
the_fiddler 08544da8ce 2008-05-04 18:09:15 +00:00
the_fiddler 79627ad0ad 2008-05-04 18:08:56 +00:00
the_fiddler e0ea97e2d1 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 d00d157cdb Renamed to InputLogger. 2008-05-04 17:48:11 +00:00
the_fiddler b9cb215d9b Added display for WheelDelta value. 2008-05-04 17:45:33 +00:00
the_fiddler 21ef7c6c5c Fixed line endings. 2008-05-04 17:44:13 +00:00
the_fiddler 1b1c4fda67 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 72704daa9c Use the same resolution as other examples. 2008-05-04 16:28:04 +00:00
the_fiddler 342338da6f Try to change bits per pixel, too. 2008-05-04 16:27:41 +00:00
the_fiddler 6864127ea0 Fixed Alt+Enter fullscreen toggling. 2008-05-04 14:45:33 +00:00
the_fiddler 49b0c413ca Fix line endings. 2008-05-04 14:42:01 +00:00
the_fiddler 67d62045ef Added GetNext and GetPrevious methods to improve toggling of window states and borders. 2008-05-04 14:40:08 +00:00
the_fiddler 8905630f12 Normalized line endings. 2008-05-03 16:34:39 +00:00
the_fiddler 70fc0db9ee * Tests/GameWindowStates.cs: Add bidirectional mode changes. 2008-05-03 16:33:17 +00:00
the_fiddler 1789c67fd2 * Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern. 2008-04-25 22:09:41 +00:00
the_fiddler 0457b857b7 * Tests/GameWindowStates.cs: Fullscreen toggling on key 3. 2008-04-25 21:49:49 +00:00
the_fiddler cfcb861ad4 * Tests/GameWindowStates.cs: Added current status to, and reduced font
size for instructions.
2008-04-25 21:32:43 +00:00
the_fiddler d54fde57b1 Test all WindowBorder and WindowStyle combinations. Add instructions. 2008-04-21 20:19:12 +00:00
the_fiddler c60558ed16 Changed all GameWindow.Fullscreen properties to GameWindow.WindowState.
Added WindowState test app.
2008-04-20 17:59:05 +00:00
the_fiddler 3d97740e1f Display a scrollbar when too many examples are loaded. 2008-04-20 15:09:30 +00:00
the_fiddler 90c7c84597 Call Dispose on the loaded bitmap. 2008-04-13 21:31:24 +00:00
the_fiddler dc56d5540c Added audio file as example. 2008-04-13 20:06:55 +00:00
the_fiddler 143d217468 Made AudioContext.Device private. Added AudioContext.SupportsExtension. 2008-04-13 19:42:37 +00:00
the_fiddler 805f2373e6 Fixed framerate rendering. 2008-04-13 18:43:15 +00:00
the_fiddler e72deb54ad Removed the example number. 2008-04-13 16:54:07 +00:00
the_fiddler 8691b50443 License. 2008-04-13 16:53:41 +00:00
the_fiddler 90cd690843 Added Inertia's Julia Fractal example. 2008-04-13 16:52:15 +00:00
the_fiddler 57b097f7d0 Moved OpenTK.Graphics.OpenGL to OpenTK.Graphics. 2008-04-13 16:45:56 +00:00
the_fiddler 3072a77a61 Now handles security exceptions. 2008-04-13 15:51:31 +00:00
the_fiddler cacb1625c6 Got rid of obsolete DisplayMode. 2008-04-13 15:51:09 +00:00
the_fiddler 0f27e3e833 Updated to use AudioLoader. 2008-04-06 14:48:47 +00:00
the_fiddler 743f92a114 Trying to fix sound popping. 2008-04-06 14:28:29 +00:00
the_fiddler 06fea0526e Updated using (AudioContext) declaration. 2008-04-06 01:28:42 +00:00
the_fiddler 670d65eada 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 6ab0b92ea3 Moved streaming code to StreamingPlayback.cs. 2008-04-04 21:33:34 +00:00
the_fiddler 97a6b4e9c7 Added licenses. 2008-04-04 21:05:03 +00:00
the_fiddler 9121937a54 Renamed TestPlayback.cs to Playback.cs 2008-04-04 21:04:39 +00:00
the_fiddler 6e7eb4db5a Renamed TestPlayback.cs to Playback.cs. 2008-04-04 20:44:47 +00:00
the_fiddler 84ad73b197 Move streaming playback to its own file. 2008-04-04 20:20:33 +00:00
the_fiddler 9ff050dfa5 Initial commit (stubbed). 2008-04-04 20:19:53 +00:00
the_fiddler 5ff51ba9fe 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 7473fe500e Added support for higher mouse buttons under X11.
Use XCheckWindowEvent instead of XNextEvent.
2008-03-24 18:18:26 +00:00
the_fiddler ef3e344d68 Do not call opengl functions when in Visual Studio designer. 2008-03-24 13:27:18 +00:00
the_fiddler 1cb0fbce22 Use GLControl. 2008-03-24 13:26:25 +00:00
the_fiddler 0a5c962c51 Updated some licenses. Remove a couple of DisplayMode warnings. 2008-03-24 13:15:25 +00:00
the_fiddler 41cba22df3 Call GL.Clear. Slightly reduce Update speed. 2008-03-10 11:38:05 +00:00
the_fiddler ef16a9d296 Moved OpenTK.Fonts to OpenTK.Graphics namespace. 2008-03-08 14:38:10 +00:00
the_fiddler 59ad653760 Report the size of uploaded VBO data, when an error occurs. 2008-03-03 12:45:18 +00:00
the_fiddler 624ca0d9c5 Updated hidden window constructor. 2008-03-01 13:16:34 +00:00
the_fiddler 57afab2496 Added screenshot capability. 2008-03-01 13:15:35 +00:00
the_fiddler ee1431279f Renamed GraphicsFormat to GraphicsMode. 2008-02-28 15:26:13 +00:00
the_fiddler 0df8f595fb 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 a9e2ce4a00 Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL. 2008-02-02 00:58:26 +00:00
the_fiddler d87e79268f Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:39:54 +00:00
the_fiddler 68dd90947a 2008-01-31 14:27:24 +00:00
the_fiddler 02dcf79fe1 Moved and renamed OpenTK.GLContext to OpenTK.Graphics.GraphicsContext. 2008-01-31 14:23:20 +00:00
the_fiddler 328abb4f1b Removed MakeCurrent() tests. 2008-01-31 14:11:56 +00:00
the_fiddler 3cd5a5b841 Fixed test. Restored fade-out/fade-in effects. 2008-01-26 14:38:35 +00:00