Commit graph

354 commits

Author SHA1 Message Date
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
the_fiddler
199ae0f760 Updated test. 2008-01-26 14:21:02 +00:00
the_fiddler
c6d9dd5df3 Added fadeout and fadein effect. 2008-01-26 14:02:58 +00:00
the_fiddler
3ab17902de Explicitly change to 640x480@60Hz. 2008-01-26 10:40:20 +00:00
the_fiddler
3a026d5d5e Fullscreen mode changes now work! 2008-01-24 12:36:40 +00:00
the_fiddler
a4fe343d73 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
30c63d6e3a Added test for DisplayDevice. 2008-01-24 09:25:43 +00:00
the_fiddler
1a4c5adf89 Fixed capitalization of Texture2D etc. 2008-01-24 09:25:24 +00:00
the_fiddler
f572f0e9ba Reverted last commit (bogus!) 2008-01-24 09:24:11 +00:00
the_fiddler
9449447981 Fixed capitalization of Texture2D etc. 2008-01-24 09:17:07 +00:00
the_fiddler
baf59abb6e Disabled multiple AudioContext under linux.
Moved AudioContext.LoadAvailableDevices() call outside the static constructor.
2008-01-22 21:18:47 +00:00
the_fiddler
0b10d4f16b Added as hidden example. 2008-01-22 14:54:11 +00:00
the_fiddler
c3777ac9fe Use Utilities.SetWindowTitle() 2008-01-22 14:54:00 +00:00
the_fiddler
14594d9a96 Still trying to debug crash on Mono. Reverted changes. 2008-01-20 22:35:46 +00:00
the_fiddler
58c4a16972 Commented out IsCurrent = true to help debug crash on Mono. 2008-01-20 22:19:52 +00:00
the_fiddler
8f621f4586 Removed Suspend call before MakeCurrent() 2008-01-20 22:17:23 +00:00
the_fiddler
72ae7b6b00 Corrected an assertion. 2008-01-20 22:12:04 +00:00
the_fiddler
9855854b39 Trying to debug alcMakeContextCurrent crash on Linux. 2008-01-20 22:04:41 +00:00
the_fiddler
582d4fb569 Worked around a Mono bug with unsafe inline constructors. 2008-01-20 19:42:01 +00:00
the_fiddler
40f32f4867 Documentation updates. Getting rid of all remaining warnings in debug build. 2008-01-20 19:29:42 +00:00
the_fiddler
3d2bc15a84 Documentation updates. Getting rid of warnings. 2008-01-20 19:00:03 +00:00
the_fiddler
a384059b1b Updated version numbers. 2008-01-20 17:29:29 +00:00
the_fiddler
8ffe65e58a Updated example attribute and tessellation function. It now works! 2008-01-20 17:21:04 +00:00
the_fiddler
6422281e7c Spelling. 2008-01-20 09:29:48 +00:00
the_fiddler
55c4e4d4da Removed unused code. 2008-01-20 09:22:58 +00:00
the_fiddler
71843190b2 Update to Keyboard Handling. 2008-01-20 09:00:15 +00:00
the_fiddler
cdab33e4a6 Added example. 2008-01-20 08:42:19 +00:00
the_fiddler
70abd051e8 Updated licensing information. Added more test data. 2008-01-19 15:26:16 +00:00
the_fiddler
a959d1b6b8 Updated licensing information. 2008-01-19 15:25:51 +00:00
the_fiddler
50fd919bae Fixed AudioContext.IsCurrent getter (would throw if no context was current). 2008-01-18 15:10:25 +00:00
the_fiddler
94eff55469 Renamed TestContext.cs to TestAudioContext.cs 2008-01-18 14:13:30 +00:00
the_fiddler
004360d0a7 Start testing of AudioContext class. 2008-01-18 14:13:04 +00:00
the_fiddler
6fc2297fbb Removed MathSpeed.Difficulty. 2008-01-18 14:01:25 +00:00
the_fiddler
a2262697a2 Removed TryMouse structure left from testing the WinRawMouse code. 2008-01-18 14:01:06 +00:00
the_fiddler
44ed570bb1 Updated test to use the latest AudioContext version. Logic commented out for now. 2008-01-18 14:00:28 +00:00
the_fiddler
65019c5c53 ExampleAttribute.ToString() now ignores ExampleAttribute.Difficulty if it is zero. Simplified ExampleAttribute constructors. 2008-01-18 13:59:26 +00:00
the_fiddler
4809fccd8d Test OpenTK.Audio.AudioContext 2008-01-17 14:07:32 +00:00
the_fiddler
a875f40354 Show hidden examples in debug mode. 2008-01-17 14:06:14 +00:00
the_fiddler
ef52e1106d Updated version numbers. 2008-01-15 16:44:17 +00:00
the_fiddler
0ecdcd19b3 Use Utilities.SetWindowTitle 2008-01-15 12:24:57 +00:00
the_fiddler
5e1d36e44d Add SetWindowTitle utility. 2008-01-15 12:24:43 +00:00
the_fiddler
8fe7d77747 Hide from ExampleLauncher (not ready yet). 2008-01-15 12:24:36 +00:00
the_fiddler
a44747d0c2 Fix for "unknown reference to KeyboardDevice" or on Mono. 2008-01-15 09:51:32 +00:00
the_fiddler
2567fc266d Changed the name of a label (clashed with base GLControl). 2008-01-15 09:35:08 +00:00
the_fiddler
13e2bbbac5 Bumped version number. 2008-01-15 00:10:12 +00:00
the_fiddler
7ff108d35a Updated GL.DrawElements to use DrawElementsType instead of Enums.All 2008-01-15 00:03:32 +00:00
the_fiddler
88cfad13b9 Slight documentation update. 2008-01-15 00:01:46 +00:00
the_fiddler
c11735a22f Got rid of some warnings. 2008-01-11 20:54:06 +00:00
the_fiddler
d318722e70 Possible performance improvement. 2008-01-11 20:18:51 +00:00
the_fiddler
ea7c9ec0e6 Added Ctrl-F1 command to show hidden items. 2008-01-11 20:17:36 +00:00
the_fiddler
d8a6892b5c Initial commit. 2008-01-11 20:17:01 +00:00
the_fiddler
1586dfa7b8 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
59cbd7661d Disabled from ExampleLauncher. 2008-01-06 02:35:32 +00:00
the_fiddler
fd888e0fdf Bumped version number. 2008-01-06 02:19:08 +00:00
the_fiddler
95119bfb38 Fixed data marshaling to winforms thread. 2008-01-06 02:18:58 +00:00
the_fiddler
6553940157 Updated according to the new enums. 2008-01-04 20:55:52 +00:00
the_fiddler
9228f5ab9d Updated according to the new enums. 2008-01-04 20:55:33 +00:00
the_fiddler
b51c6f5163 Fixed cross-threading calls into Windows.Forms, using delegates and BeginInvoke(). 2008-01-04 20:55:15 +00:00
the_fiddler
0c709c618f Updated T08_VBO and T10_GLSL_Cube to use the more specific, updated enums. 2008-01-02 01:01:40 +00:00
the_fiddler
107951c4d1 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
e2a515429b 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
02fcd2fc80 Added MathSpeed.cs test. 2007-11-11 23:25:41 +00:00
the_fiddler
91c0baf678 Final touches before release. 2007-11-11 21:48:00 +00:00
the_fiddler
3822655209 Fixed loading of Bitmap on Linux (invalid path separator). 2007-11-11 20:09:18 +00:00
the_fiddler
e0ec0b2035 glControl1_Resize event was not fired. 2007-11-11 19:39:09 +00:00
the_fiddler
7be851a68a Added ExampleAttribute to all examples. Improved Textures example. Modified several other examples. 2007-11-11 18:44:10 +00:00
the_fiddler
c72890769a Added example data. 2007-11-11 18:43:16 +00:00
the_fiddler
b9e51c4db8 Initial check-in. 2007-11-10 23:31:30 +00:00
the_fiddler
3085f9ab95 Changed background color to SteelBlue. Added ExampleAttribute. 2007-11-10 23:31:01 +00:00
the_fiddler
c74f9a677b Change enum in GL.TexParameter from All to more specific type. 2007-11-10 23:30:14 +00:00
the_fiddler
aa66b14d98 Updated licensing information. 2007-11-10 23:29:45 +00:00
the_fiddler
7c187e705e Added SansSerif font. 2007-11-08 16:43:03 +00:00
the_fiddler
04585824dc Added documentation. 2007-11-08 16:42:30 +00:00
the_fiddler
c45c390ede Tests text rendering and layout code. 2007-11-06 21:02:27 +00:00
the_fiddler
afd70b2e25 Changed implementation. Now tests font rendering on different sizes. 2007-11-06 21:02:01 +00:00
the_fiddler
72eebfa51c Tried to implement some things, but it's broken. 2007-11-06 21:01:35 +00:00
the_fiddler
9a435c6194 Removed an unused variable warning. 2007-11-04 16:49:19 +00:00
the_fiddler
501da27b1a 2007-11-04 15:33:43 +00:00
the_fiddler
70c5a90312 Updated to use the new math classes. 2007-11-04 15:32:52 +00:00
the_fiddler
75cd2b0994 Updated to follow the new naming conventions. Fonts tutorial is broken. 2007-11-04 15:32:24 +00:00
the_fiddler
d1663fcd6d Updated to match latest TextureFont revision. 2007-11-01 23:24:32 +00:00
the_fiddler
a98f46524e Updated font rendering code. 2007-10-26 15:55:24 +00:00
the_fiddler
bf95f9c3c6 Temporarily removed font rendering. 2007-10-26 15:55:07 +00:00
the_fiddler
32d854cae9 Platform neutral path separator. 2007-10-21 15:46:00 +00:00
the_fiddler
1fa4641781 Example Data directory. 2007-10-20 14:20:09 +00:00
the_fiddler
225385b5c5 Example Data directory. 2007-10-20 14:19:25 +00:00
the_fiddler
ea52ac2b38 Bumped version number to 0.3.13.x 2007-10-20 14:18:24 +00:00
the_fiddler
eb31744ad0 Example now reads the poem from Data\Poem.txt instead from an embedded resource. 2007-10-20 13:41:39 +00:00
the_fiddler
35c1e7ae3b 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
a78449d6f2 Added ordering information. 2007-10-20 10:54:40 +00:00
the_fiddler
d41d741d2f Added Resources class to Examples. 2007-10-20 10:35:32 +00:00
the_fiddler
97e145c2a9 Simplified ExampleLauncher. Better naming scheme. 2007-10-20 10:34:29 +00:00
the_fiddler
73474632db Added Fonts example (Tutorial 6) that showcases the use of the TextureFont class. 2007-10-20 10:32:52 +00:00
the_fiddler
3416fc515d 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
765cff1142 Deleted obsolete tests. 2007-10-17 21:14:36 +00:00
the_fiddler
ac515347d0 Added ability to launch console applications. 2007-10-17 11:33:11 +00:00
the_fiddler
6c4372edbc 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
fcfc35dc18 Fixed build (changes to GLControl). 2007-10-15 11:16:53 +00:00
the_fiddler
e257702212 Removed Fullscreen property (fixes build issue). 2007-10-15 11:13:51 +00:00
the_fiddler
f71bb87fe1 Removed the glControl.CreateControl() calls. 2007-10-05 07:46:56 +00:00
the_fiddler
de5df88e8c Deleted obsolete examples. 2007-09-30 14:11:46 +00:00
the_fiddler
50733e421d Now uses disposable pattern when launching GameWindows and Forms. 2007-09-30 12:38:40 +00:00
the_fiddler
cccb14446a Updated to use the new Shapes.Cube interface. 2007-09-30 12:36:41 +00:00