Commit graph

293 commits

Author SHA1 Message Date
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
the_fiddler
5cb5f2c74b Removed TryMouse structure left from testing the WinRawMouse code. 2008-01-18 14:01:06 +00:00
the_fiddler
d3538521ee Updated test to use the latest AudioContext version. Logic commented out for now. 2008-01-18 14:00:28 +00:00
the_fiddler
e43203675e ExampleAttribute.ToString() now ignores ExampleAttribute.Difficulty if it is zero. Simplified ExampleAttribute constructors. 2008-01-18 13:59:26 +00:00
the_fiddler
6b2169daf6 Test OpenTK.Audio.AudioContext 2008-01-17 14:07:32 +00:00
the_fiddler
bf269b2d0d Show hidden examples in debug mode. 2008-01-17 14:06:14 +00:00
the_fiddler
8d68aa3305 Updated version numbers. 2008-01-15 16:44:17 +00:00
the_fiddler
6f7286e7e0 Use Utilities.SetWindowTitle 2008-01-15 12:24:57 +00:00
the_fiddler
586e982ce0 Add SetWindowTitle utility. 2008-01-15 12:24:43 +00:00
the_fiddler
4d70f64c9a Hide from ExampleLauncher (not ready yet). 2008-01-15 12:24:36 +00:00
the_fiddler
e8cd2dc6c5 Fix for "unknown reference to KeyboardDevice" or on Mono. 2008-01-15 09:51:32 +00:00
the_fiddler
e3c67f4dcf Changed the name of a label (clashed with base GLControl). 2008-01-15 09:35:08 +00:00
the_fiddler
66f2143856 Bumped version number. 2008-01-15 00:10:12 +00:00
the_fiddler
2b378b5a99 Updated GL.DrawElements to use DrawElementsType instead of Enums.All 2008-01-15 00:03:32 +00:00
the_fiddler
ad057fbd98 Slight documentation update. 2008-01-15 00:01:46 +00:00
the_fiddler
2ad50d33b6 Got rid of some warnings. 2008-01-11 20:54:06 +00:00
the_fiddler
84f0ff047f Possible performance improvement. 2008-01-11 20:18:51 +00:00
the_fiddler
09e6d60293 Added Ctrl-F1 command to show hidden items. 2008-01-11 20:17:36 +00:00
the_fiddler
ef75237981 Initial commit. 2008-01-11 20:17:01 +00:00
the_fiddler
d008b32cd6 Renamed MouseButtons to MouseButtonsBox (clashed with Windows.Forms.MouseButtons)
Used full namespace in anonymous delegate declaration.
2008-01-06 10:56:10 +00:00
the_fiddler
f4c9e21924 Disabled from ExampleLauncher. 2008-01-06 02:35:32 +00:00
the_fiddler
6d8d4aa846 Bumped version number. 2008-01-06 02:19:08 +00:00
the_fiddler
8476ff2c08 Fixed data marshaling to winforms thread. 2008-01-06 02:18:58 +00:00
the_fiddler
bbb38b9271 Updated according to the new enums. 2008-01-04 20:55:52 +00:00
the_fiddler
33495b5d63 Updated according to the new enums. 2008-01-04 20:55:33 +00:00
the_fiddler
891bb9c6af Fixed cross-threading calls into Windows.Forms, using delegates and BeginInvoke(). 2008-01-04 20:55:15 +00:00
the_fiddler
18296ea663 Updated T08_VBO and T10_GLSL_Cube to use the more specific, updated enums. 2008-01-02 01:01:40 +00:00
the_fiddler
938b2b8519 Hooks for garbage-collectable OpenGL resources.
the [...]GLNative classes now use GLContext instead of the platform-specific [...]GLContext implementations.
Updated the IGLContext interface with functions to query the current context.
2007-12-09 18:15:51 +00:00
the_fiddler
8db2411038 Added ITextPrinter.Begin()/End() functions to speed up font rendering. Updated Fonts and Text examples. 2007-11-12 07:36:34 +00:00
the_fiddler
2a315072f2 Added MathSpeed.cs test. 2007-11-11 23:25:41 +00:00
the_fiddler
fe1d12d037 Final touches before release. 2007-11-11 21:48:00 +00:00
the_fiddler
b4f044b293 Fixed loading of Bitmap on Linux (invalid path separator). 2007-11-11 20:09:18 +00:00
the_fiddler
9725f72fb9 glControl1_Resize event was not fired. 2007-11-11 19:39:09 +00:00
the_fiddler
255e0f5cf9 Added ExampleAttribute to all examples. Improved Textures example. Modified several other examples. 2007-11-11 18:44:10 +00:00
the_fiddler
405e949a2a Added example data. 2007-11-11 18:43:16 +00:00
the_fiddler
9f1593aada Initial check-in. 2007-11-10 23:31:30 +00:00
the_fiddler
3bdcc9dbcf Changed background color to SteelBlue. Added ExampleAttribute. 2007-11-10 23:31:01 +00:00
the_fiddler
db06500dd2 Change enum in GL.TexParameter from All to more specific type. 2007-11-10 23:30:14 +00:00
the_fiddler
7bbab20112 Updated licensing information. 2007-11-10 23:29:45 +00:00
the_fiddler
0c3e912dd4 Added SansSerif font. 2007-11-08 16:43:03 +00:00
the_fiddler
bfcfe107b2 Added documentation. 2007-11-08 16:42:30 +00:00
the_fiddler
4772bfee9e Tests text rendering and layout code. 2007-11-06 21:02:27 +00:00
the_fiddler
120f96f3bc Changed implementation. Now tests font rendering on different sizes. 2007-11-06 21:02:01 +00:00
the_fiddler
37f94717de Tried to implement some things, but it's broken. 2007-11-06 21:01:35 +00:00
the_fiddler
e14a460d2a Removed an unused variable warning. 2007-11-04 16:49:19 +00:00
the_fiddler
a65e1ea45c 2007-11-04 15:33:43 +00:00
the_fiddler
455ed4213a Updated to use the new math classes. 2007-11-04 15:32:52 +00:00
the_fiddler
e556150d2f Updated to follow the new naming conventions. Fonts tutorial is broken. 2007-11-04 15:32:24 +00:00
the_fiddler
2435891f7a Updated to match latest TextureFont revision. 2007-11-01 23:24:32 +00:00
the_fiddler
c45f2d97e4 Updated font rendering code. 2007-10-26 15:55:24 +00:00
the_fiddler
bd156c4ac0 Temporarily removed font rendering. 2007-10-26 15:55:07 +00:00
the_fiddler
f7c5c73aa5 Platform neutral path separator. 2007-10-21 15:46:00 +00:00
the_fiddler
edfea5cf08 Example Data directory. 2007-10-20 14:20:09 +00:00
the_fiddler
705de68940 Example Data directory. 2007-10-20 14:19:25 +00:00
the_fiddler
5fde8da87c Bumped version number to 0.3.13.x 2007-10-20 14:18:24 +00:00
the_fiddler
20ce34c6a8 Example now reads the poem from Data\Poem.txt instead from an embedded resource. 2007-10-20 13:41:39 +00:00
the_fiddler
cff4587ebd Delete Resources.resx because it wouldn't play nice with Prebuild.exe. I should report the problem to Prebuild and add it in back in the future - resources are rather nice. 2007-10-20 13:40:24 +00:00
the_fiddler
4fa9a71fe6 Added ordering information. 2007-10-20 10:54:40 +00:00
the_fiddler
a19c45e895 Added Resources class to Examples. 2007-10-20 10:35:32 +00:00
the_fiddler
a072f32920 Simplified ExampleLauncher. Better naming scheme. 2007-10-20 10:34:29 +00:00
the_fiddler
b269cc2832 Added Fonts example (Tutorial 6) that showcases the use of the TextureFont class. 2007-10-20 10:32:52 +00:00
the_fiddler
433562e99d Cleaned up and simplified the ExampleLauncher reflection functions. Can now launch "console" examples (which utilize neither GameWindow nor Windows.Forms). Better naming scheme for loaded examples. 2007-10-20 10:29:39 +00:00
the_fiddler
3e425f23ca Deleted obsolete tests. 2007-10-17 21:14:36 +00:00
the_fiddler
7ee58e02b9 Added ability to launch console applications. 2007-10-17 11:33:11 +00:00
the_fiddler
ca79c08c7f Improved Call Performance test. It now outputs to the console / log file, and provides much better results. 2007-10-17 11:32:36 +00:00
the_fiddler
f69be39f20 Fixed build (changes to GLControl). 2007-10-15 11:16:53 +00:00
the_fiddler
f5ead52dd1 Removed Fullscreen property (fixes build issue). 2007-10-15 11:13:51 +00:00
the_fiddler
605225822a Removed the glControl.CreateControl() calls. 2007-10-05 07:46:56 +00:00
the_fiddler
0ea1aaf6cf Deleted obsolete examples. 2007-09-30 14:11:46 +00:00
the_fiddler
b9cd62e372 Now uses disposable pattern when launching GameWindows and Forms. 2007-09-30 12:38:40 +00:00
the_fiddler
1e33b950c7 Updated to use the new Shapes.Cube interface. 2007-09-30 12:36:41 +00:00
the_fiddler
0b92d270df Added some debug information. Updated to use the new Shapes.Cube interface. 2007-09-30 12:35:35 +00:00
the_fiddler
3cd9a23b17 Fixed memory corruption issue with (Cube's vertices were being moved by the GC). I think. 2007-09-30 12:34:20 +00:00
the_fiddler
0328e31356 Correct class names. 2007-09-27 01:14:09 +00:00
the_fiddler
8970ad4c94 Added UnLoad event handler. 2007-09-26 23:31:53 +00:00
the_fiddler
e2fbd2e264 OnLoad event updated to better demonstrate its usage. 2007-09-26 23:15:18 +00:00
the_fiddler
e99d642792 Rewrote from scratch, using direct OpenGL methods. Added OnUnload override to cleanup resources. 2007-09-26 23:14:50 +00:00
the_fiddler
80a951d20d Bumped version numbers. 2007-09-26 16:49:10 +00:00
the_fiddler
7e8f555329 Renamed T02 and T04 examples. 2007-09-26 16:37:24 +00:00
the_fiddler
eafe44f3b1 Added IsoSphere.cs which creates a sphere Shape using theta ad phi coordinates. 2007-09-26 16:14:32 +00:00
the_fiddler
bc2bbf9cf6 Local light for nicer looks :) 2007-09-26 16:12:59 +00:00
the_fiddler
0e297c3c4e Added general documentation to Tutorials. 2007-09-26 15:39:32 +00:00
the_fiddler
a64fd74ac1 Added Shape.cs and Plane.cs, for use in Examples. Shape is an abstract class that is parent to all shapes, and Plane derives from Shape, implementing a configurable plane (with vertex, normal, index and texcoord arrays). 2007-09-26 12:00:29 +00:00
the_fiddler
7c159bc2df Bumped version number. 2007-09-26 11:48:11 +00:00
the_fiddler
8a3ad855b0 Updated all examples. Added documentation and generally cleaned them up. 2007-09-26 11:47:30 +00:00
the_fiddler
a267b4a381 Vector and example updates. 2007-09-25 21:11:16 +00:00
the_fiddler
1b60956d3a Disabled test - InputDriver does not work with Mono's Linux Winforms yet. 2007-09-25 15:47:39 +00:00
the_fiddler
66dfecfee7 Bumped version numbers. 2007-09-24 19:58:45 +00:00
the_fiddler
c204763f3a W03_Extensions now uses the Application.Idle event to load extensions instead of the OnLoad event. Fixes flickering problems. 2007-09-24 19:57:37 +00:00
the_fiddler
4af4ca65c4 Start of T04_Lighting example. Slight updates to T10_GLSL_Cube. Updates to ExampleLauncher exception handling. 2007-09-23 13:38:03 +00:00
the_fiddler
cc00d875d5 Updated update and render frequencies for all examples. 2007-09-23 12:49:38 +00:00
the_fiddler
700393b688 Added GameWindow.SwapBuffers(). Fixed T02_Vertex_Array_Cube to 60Hz. 2007-09-23 12:37:07 +00:00
the_fiddler
a696bbc765 Added constant and variable time-step update logic to GameWindow. Updated examples to use the new GameWindow UpdateFrame and RenderFrame events. 2007-09-23 12:09:42 +00:00
the_fiddler
e361e4c10b Added timing information to UpdateFrame.
Removed T02_Resizable_Window.cs and added T02_Vertex_Array_Cube.cs
Added Shapes/Cube.cs to Examples.
2007-09-22 22:01:43 +00:00
the_fiddler
0712635670 Fixed build. 2007-09-22 15:07:28 +00:00
the_fiddler
26f5d0dff4 Updated BindStreamWriter to better handle endlines. Reverted WinRawInput to standard reads. 2007-09-22 14:59:33 +00:00
the_fiddler
e277e3b272 Windows raw input now works. 2007-09-22 13:13:17 +00:00
the_fiddler
ce48c29668 Added license to S04. 2007-09-21 23:36:59 +00:00
the_fiddler
52a6690150 Removed Move event from IMouse (too inefficient). Polled input only.
S04 now polls for the mouse position.
Keyboard now handles events generated from code and not from physical devices.
2007-09-21 22:49:42 +00:00
the_fiddler
21d6030a6a Corrected Windows.API.RawMouse class. Mouse input now works! 2007-09-21 22:39:16 +00:00
the_fiddler
b660f5af9b Updated Input Logger example. Better handling of mice. 2007-09-21 21:30:18 +00:00
the_fiddler
4bac183f77 Added S04: Input Logger test. 2007-09-21 20:45:47 +00:00
the_fiddler
55a84c70c7 Added licensing information. Added Close() call on failed initialization of W01_First_Window. Moved GLContext to OpenTK namespace. 2007-09-09 16:07:39 +00:00
the_fiddler
827b76b6e9 Improved documentation for DummyGLContext and Dummy.
Disabled S02_RawInput_Logger for updating.
Added WindowInfo.cs
2007-09-09 11:53:25 +00:00
the_fiddler
e74cfac148 Updated W03_Extensions example (background loading of extensions). 2007-09-05 13:35:40 +00:00
the_fiddler
5e28f31660 Improved GL loading speed.
Added background worker thread to W03_Extensions.
Added debug output to failed WinGLContext.MakeCurrent() calls.
Removed object field from Windows.MSG struct.
2007-09-03 21:47:34 +00:00
the_fiddler
fe0b2c66db Synced 0.3.11 to trunk. 2007-09-02 23:40:50 +00:00
the_fiddler
296f83257b Adding asynchronous extension loading. 2007-09-02 23:26:12 +00:00
the_fiddler
096d33dca4 Updated Documentation and version numbers for release. 2007-09-02 23:13:28 +00:00
the_fiddler
d757447a8f T04_Lit_Cube not ready yet. 2007-09-02 22:52:56 +00:00
the_fiddler
a813684176 Merged with Bind. Added GLU bindings. Corrected OpenGL overload trimming. 2007-09-02 22:52:00 +00:00
the_fiddler
58bad52607 Bumped version number. 2007-09-02 13:36:54 +00:00
the_fiddler
437d8fe627 Updated T10_GLSL_Cube to remove NRE exception on Mono 1.2.x.
Added debug info to the GL.LoadAll function.
Added W03_Extensions.cs example.
2007-09-02 13:34:44 +00:00
the_fiddler
1947662281 T10_GLSL_Cube now really exits when OpenGL 2.0 support is not available.
The ExampleLauncer example TextBox is now docked inside the parent form.
Bumped version numbers.
2007-09-02 08:25:10 +00:00
the_fiddler
6ddd024fbf Added System.Drawing.Color overload to GL.ClearColor.
Updated W01 and W02 examples to use this overload.
Removed 'Paint' message from W01 Paint event.
2007-09-02 08:08:12 +00:00
the_fiddler
2f09c15672 Trunk now compiles again. 2007-09-02 00:53:24 +00:00
the_fiddler
017a345927 Merged with bind branch: updated GL.cs wrappers, Glx and Glu implementation suppoort files, faster Bind. 2007-09-02 00:40:43 +00:00
the_fiddler
defa7aa9c5 Updated examples to reflect namespace change of DisplayMode and ColorMode.
Renamed T03_RotatingCube.cs to T03_Immediate_Mode_Cube.cs.
Renamed T07_DisplayLists_Cube.cs to T07_Display_Lists_Flower.cs.
Renamed Cube.cs to W02_Immediate_Mode_Cube.cs
Updated colors in T10_GLSL_Cube and T03_Immediate_Mode_Cube
Add S03_Stack_Imbalance.cs test.
Add T01_Simple_Window.cs and T02_Resizable_Window.cs tutorials.
2007-09-02 00:07:40 +00:00
the_fiddler
c2c3dac7df Moved ColorDepth and DisplayMode to the /OpenTK directory (where under /OpenTK/Platform).
Renamed ColorDepth to ColorMode, to avoid clash with System.Windows.Forms.ColorDepth
Updated examples to use the new namespace for DisplayMode and ColorMode.
2007-09-02 00:04:34 +00:00
the_fiddler
6af814b655 Example names are now more readable (ExampleLauncher.Load())
ExampleLauncher behavior is now more consistent when launching GameWindow and WinForm examples. The launcher becomes invisible, and the launched examples exist in the same thread as the launcher.
Better documentation for IExample.cs
2007-09-02 00:02:10 +00:00
the_fiddler
1d62f8521c Corrected bug affecting the GL.Load and Wgl.Load functions, where the delegates where not retrieved by the GetFields call. 2007-08-22 16:13:41 +00:00
the_fiddler
6ae06d82bd Added IDisposable to all input drivers.
Updated Cube.cs to use System.Drawing.Colors.
Improved DefRawInputProc in windows API.cs
2007-08-22 00:30:16 +00:00
the_fiddler
7cf8aa3d95 Added AdjustWindowRect to Windows.API. The client are in WinGLNative is now correctly specified. 2007-08-21 12:04:01 +00:00
the_fiddler
9e536a72e0 Improved X11GLControl compatibility - now sets a safe DisplayMode.
Added utility that control's whether xplatui should throw exceptions on X11 errors.
2007-08-21 10:48:32 +00:00
the_fiddler
7d5087f1f8 Improved GLControl event handling on initialization sequence (Resize event is now raised after loading the GL class).
Improved WinForms.Cube example to hook the GLControl events instead of the parent Form's ones.
Improved Debug output in X11GLContext and X11GLControl
2007-08-20 14:12:57 +00:00
the_fiddler
33527aa2c9 Added KeyDown and KeyUp events to IKeyboard and Keyboard.
Improved input logger test to hook on the aforementioned events.
Removed Debug printing of keys in OpenTK.Input.Keyboard.
Beautified X11Keyboard.cs
Added experimental code to handle X11 keyboard events (not used yet).
2007-08-20 13:45:04 +00:00
the_fiddler
2254388903 Merged with bind branch. 2007-08-20 12:25:48 +00:00
the_fiddler
7efeeda3ca 2007-08-20 10:46:37 +00:00
the_fiddler
273405e4a0 Improved opengl overload trimming. 2007-08-10 20:16:05 +00:00
the_fiddler
2256864b92 Improved shutdown sequence in WinGLNative and GameWindow 2007-08-10 16:55:24 +00:00
the_fiddler
7a2da17f5c Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler
318c8e619d Debugging X11GLControl crash on MakeCurrent. 2007-08-09 12:06:09 +00:00