the_fiddler
d1f2d7b33e
Updated everything to use plain (int width, int height parameters) instead of DisplayMode.Width/.Height.
2008-01-23 14:17:09 +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
bf22f52597
Re-added input polling.
2008-01-15 13:01:55 +00:00
the_fiddler
7ffbde31d1
Temporarily disabled GameWindowExitException.
2008-01-15 12:08:09 +00:00
the_fiddler
b9c7a62d4f
Debugging GameWindow.Exit() sequence on Mono.
2008-01-15 11:23:34 +00:00
the_fiddler
a2673bf5ff
Changed the INativeGLWindow.CreateWindow interface to return an IGLContext instead of a GLContext.
2008-01-15 10:48:48 +00:00
the_fiddler
4a5b8e81d8
Refactored context creation to be done inside the *GLNative classes, instead of the GameWindow class. Should refactor in the next version.
2008-01-15 10:31:03 +00:00
the_fiddler
1aa19633f9
Fixed window destruction.
2008-01-15 00:10:56 +00:00
the_fiddler
b82bf0a073
Fixed GLContext creation on Windows.
2008-01-14 22:38:09 +00:00
the_fiddler
f8ec5ffcd0
Solved context creation on windows.
2008-01-11 20:37:09 +00:00
the_fiddler
ef1ee1386f
GameWindow.Exit() now works when called from a different thread.
2008-01-06 02:29:54 +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
f23bafa6a4
Added instructions on how to disable warning on OpenTK.GameWindowExitException when running under the Visual Studio debug process.
2007-11-12 19:21:45 +00:00
the_fiddler
180fb083b9
Some comments.
2007-11-12 07:45:34 +00:00
the_fiddler
e020c2f55f
Added a call to StopWatch.Reset() to avoid starting the timers before their time.
2007-11-11 23:32:58 +00:00
the_fiddler
815eb7ef55
Fixed shutdown sequence in Windows, so that GameWindow.Exit() and pressing the 'close' button behave the same.
2007-11-11 20:23:25 +00:00
the_fiddler
6dc133d9eb
Fixed shutdown sequence on Linux. GameWindow.Exit() and clicking the 'close' button now produce the same result.
2007-11-11 20:10:08 +00:00
the_fiddler
d1e7e6a351
Use GameWindowExitException to exit GameWindow now. No need for the GameWindow.Exit(); return; idiom any more.
2007-11-11 19:28:13 +00:00
the_fiddler
d2270f8eef
Reverted to 0.3.12 way of handling input events.
2007-11-10 18:26:05 +00:00
the_fiddler
ffcf353c4c
Enabled VSyncing by default.
2007-11-08 15:57:10 +00:00
the_fiddler
865f8ffd08
Corrected some warnings.
2007-11-06 13:37:19 +00:00
the_fiddler
e0c804a456
Updated to work with the new bindings.
2007-11-04 15:41:10 +00:00
the_fiddler
1c2e6c55a1
Split up lines that were longer than 100 characters.
2007-11-01 23:28:31 +00:00
the_fiddler
6c76aa72e0
Cleaned up warnings. Updated documentation. Cleaned up some functions.
2007-10-26 15:54:35 +00:00
the_fiddler
bc2eac92c1
GameWindow.Exit() now throws an exception that is caught inside GameWindow.Run() to signal end of execution. Simplifies code and removes some ugly conditionals.
2007-10-20 14:22:39 +00:00
the_fiddler
ac2d5046b8
The Resize event is now fired before the Load event.
2007-10-20 10:28:02 +00:00
the_fiddler
6559df8533
GameWindow constructor now creates a window. Made CreateWindow private. Added InputDriver.
2007-10-19 20:03:53 +00:00
the_fiddler
f0e5cbb8aa
Major update! Updated timing routines. Added documentation. Added VSync property.
2007-10-15 11:12:56 +00:00
the_fiddler
96b6ccebd8
Big update: added timing information. Improved update and render frequency limiting algorithms (they extremely accurate now!) Added VSync property and VSyncMode enum. Adaptive VSync not available yet.
2007-09-30 12:44:42 +00:00
the_fiddler
9aaa45ace2
Added Unload event.
2007-09-26 23:13:57 +00:00
the_fiddler
40b6f1040f
Added NotImplementedException to Visible property.
2007-09-26 15:43:28 +00:00
the_fiddler
8138033b2a
Improved documentation. Split On*** event methods between On***Internal and On***, to protect user's from forgetting to call base.On*** (no need to call that now). Improved Resize event handling (goes through OnUpdateFrameInternal now, removes duplicate events).
2007-09-26 11:50:44 +00:00
the_fiddler
42c1affe34
Added X11 Mouse support. X11 Keyboard support is faster now.
...
Made GameWindow.Dispose() virtual.
2007-09-25 16:45:12 +00:00
the_fiddler
80f541bd17
Fixed renderFrequency and updateFrequency (they were render_frequency and update_frequency respectively).
2007-09-23 12:39:15 +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
e277e3b272
Windows raw input now works.
2007-09-22 13:13:17 +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
a813684176
Merged with Bind. Added GLU bindings. Corrected OpenGL overload trimming.
2007-09-02 22:52:00 +00:00
the_fiddler
b25edb985d
Improved the Disposable pattern (finalizer was not needed).
...
Removed Dispose() call from glWindow_Destroy function.
Added obsolete warning to the Create and OnCreate events/methods.
2007-09-02 00:13:52 +00:00
the_fiddler
df70c0c531
Corrected a bug where GL.LoadAll wasn't called on time in X11GLNative.
...
Moved MakeCurrent call to X11GLNative and WinGLNative, instead of GameWindow.
2007-08-21 12:21:01 +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
3b5d61a337
Improved exception handling in GameWindow
...
X11GLContext now requests formats with alpha channels. Removed debug output from X11 SwapBuffers.
Corrected X11GLNative window creation (context is now made current). Beautified X11GLNative.cs
2007-08-20 13:47:14 +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
2256864b92
Improved shutdown sequence in WinGLNative and GameWindow
2007-08-10 16:55:24 +00:00
the_fiddler
c67859d7ca
Keyboard handling now plays well with normal event handling on X11.
...
One more issue to go: GLControl on X11 throws when calling MakeCurrent.
2007-08-06 12:13:50 +00:00
the_fiddler
863a8e9557
Added Create and Destroy events to NativeGLWindow.
2007-08-06 11:22:18 +00:00
the_fiddler
f30e7f6df8
Major updates to shutdown sequence (should correct bug where GameWindow hangs on exit). Enhanced the IGameWindow interface by adding the Keyboard and IsExiting properties.
...
Fully implemented keyboard on X11. Renamed some OpenTK keys.
2007-08-06 09:22:04 +00:00