Commit graph

1454 commits

Author SHA1 Message Date
the_fiddler 9ba8566b39 Do not set the "indexed" flag for 0 bpp. 2009-06-01 11:04:10 +00:00
the_fiddler 42ae25022c Removed obsolete using directives. 2009-06-01 10:52:45 +00:00
the_fiddler ad602ecc92 Use GraphicsMode.Default for DummyGLContext. 2009-05-31 16:02:15 +00:00
the_fiddler 5bee43a503 Updated changelog with changes from the last revision. 2009-05-31 15:55:31 +00:00
the_fiddler c0f9f057f3 Merged Get(Float|Double|Integer) and Viewport helpers from gw-next2. 2009-05-31 15:54:17 +00:00
the_fiddler 043d79e26a Mesa3d indirect reports bogus InvalidOperation error when using ListMode.CompileAndExecute (bug reported as https://bugs.freedesktop.org/show_bug.cgi?id=22014). Use ListMode.Compile as a workaround. 2009-05-31 15:48:05 +00:00
the_fiddler 05b92257b1 Added matrix stack improvements to release notes. 2009-05-31 15:32:20 +00:00
the_fiddler 52d5410219 Removed extra whitespace. 2009-05-31 15:18:09 +00:00
the_fiddler 7328c5c0af Updated changelog, release notes and bumped version numbers in preparation for release. 2009-05-31 15:17:12 +00:00
the_fiddler bb08884480 Updated Build.exe with the latest fixes. 2009-05-31 15:14:36 +00:00
the_fiddler 6b56856da7 Added warning when launching the new sample browser.
Removed unused code.
2009-05-31 15:13:28 +00:00
the_fiddler d91cf4101c Improved diagnostic message when nant is not installed.
Fixed bug that caused OpenTK.sln generation to run twice.
2009-05-31 15:02:27 +00:00
the_fiddler d92e410cbb Last parameter of Alc.CaptureSamples should be an int, not IntPtr. 2009-05-31 11:10:16 +00:00
the_fiddler 9df8a0c51f Fixed Alc.CaptureSamples according to http://www.opentk.com/node/911. Added convenience overloads. 2009-05-31 11:08:34 +00:00
the_fiddler b6c81ee278 Added display list cache to GL1TextOutputProvider. This change improves peak TextPrinter speed by more than 10x (1.6M glyphs per second as measured on a 1.8GHz Core 2 with a 8400M card). We still need a cache eviction strategy.
Modified ITextOutputProvider interface to pass TextBlocks by reference.
2009-05-31 10:12:41 +00:00
the_fiddler 8d83b41a63 Changed libopenal.so.0 dllmap (OpenAL SI) to libopenal.so.1 (OpenAL Soft). 2009-05-30 21:51:44 +00:00
the_fiddler 0498b3e92a Replaced XAutoRepeatOff by XkbSetDetectableAutoRepeat, because the former must be reset before the program exits (and this is not always possible). 2009-05-30 21:41:45 +00:00
the_fiddler 407d6fdf08 Added XAutoRepeatOn() method. 2009-05-30 21:40:42 +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 76641d46d6 Added GraphicsContext.GetCurrentContextDelegate to IPlatformFactory.
Improved CreateDummyContext logic to detect and use the context handle of the current thread or a specified handle.
Removed GetCurrentContext() methods from platform-specific context implementations (everything now goes through the relevant IPlatformFactories).
2009-05-30 19:27:52 +00:00
the_fiddler 9c98321c76 Added call to XAutoRepeatOff() to disable keyboard autorepeat on X11Input. 2009-05-30 18:15:13 +00:00
the_fiddler 88f1ce081f Do not render text that doesn't fit inside the clip rectangle. Fixes bug [#847]: "TextPrinter layout when width, height are zero." (http://www.opentk.com/node/847). 2009-05-30 17:58:41 +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 2b6928da66 Actually sort wrapper methods in GL.cs. 2009-05-30 15:28:52 +00:00
the_fiddler 8bafa218e6 Updated tokens for DrawBuffer() method. Fixes issue [#851]: "[OpenGL] DrawBuffer and DrawBuffers tokens" (http://www.opentk.com/node/851). 2009-05-29 16:52:48 +00:00
the_fiddler 4129b676e5 Added M11-M44 properties to Matrix4 and Matrix4d.
Implemented CreateOrthographic and CreateOrthographicOffCenter static methods. Fixes issue [#676]: "Add Matrix4.Ortho method" (http://www.opentk.com/node/676).
Implemented CreateTranslation methods. Obsoleted Translation() in favor of the new methods.
2009-05-29 16:44:12 +00:00
the_fiddler 9ed2bc59ba Corrected tokens for TexBuffer. Fixes issue [#749]: "ARB_texture_ buffer_object" (http://www.opentk.com/node/749). 2009-05-29 16:02:50 +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 deadbdf6cb Merged TextPrinter optimization changes from gw-next2 branch. 2009-05-27 18:40:29 +00:00
the_fiddler 11fbdbf403 Removed ambiguous OpenGL overloads, because they confuse languages that don't distinguish between pass-by-reference and pass-by-value in the call-site (e.g. VB.Net). This affects functions that can take a single parameter either by reference or by value. 2009-05-21 23:34:20 +00:00
the_fiddler 7c95a25c52 Re-enabled nant support (necessary for commandline builds on Linux until xbuild matures).
Use Directory.GetParent() instead of manually calculating the parent directory.
2009-05-21 09:26:07 +00:00
the_fiddler 324008ca39 Updated Build.exe in the Build/ folder. 2009-05-20 21:02:33 +00:00
the_fiddler 077de936ca Clarified build options.
Disabled support for building with nant. Commandline builds should now use msbuild/xbuild.
2009-05-20 20:37:16 +00:00
the_fiddler d686adb42a Ensured IWindowInfo.Dispose() is called when the GLControl handle is destroyed.
WinGLContext.SwapBuffers now throws an exception on failure.
2009-05-19 09:48:47 +00:00
the_fiddler 9bdc21cabd Added diagnostic message when ReleaseDC fails. 2009-05-19 09:45:36 +00:00
the_fiddler 2277bf8576 Modified Wgl.SupportsExtension to be more defensive when calling Wgl.Arb.GetExtensionString. It now bails out if the extension string is empty. 2009-05-19 09:44:47 +00:00
the_fiddler 5cb476942a Fixed a large number of XML documentation warnings. 2009-05-17 15:06:26 +00:00
the_fiddler 083478e8a5 Added ColorAttachment[0-15] tokens to DrawBuffersEnum (page 182 of the 3.1 specs). 2009-05-11 13:20:35 +00:00
the_fiddler 09f783f860 Synced OpenGL docs with Khronos SVN. 2009-05-11 10:59:17 +00:00
the_fiddler a7ce3c0c4e Use managed Stack<Matrix4> instead of the OpenGL matrix stack, as the latter may be broken in some driver implementations (e.g. S3 graphics twister). 2009-05-11 10:32:15 +00:00
the_fiddler 6a17953ba0 Fixed potential NRE during extension loading. 2009-05-11 10:31:50 +00:00
kanato 57bd7e623e Implement PointToScreen via poor man's method of just inverting result from PointToClient. 2009-05-11 02:18:22 +00:00
kanato d272d0b15c Correct PointToClient so that returned point is relative to upper left corner of game window, consistent with the documentation. 2009-05-11 02:13:46 +00:00
kanato 5817a46f65 Implement PointToClient for MacOS. 2009-05-11 01:10:09 +00:00
kanato 768528ca81 Add overload to OpenTK.Platform.Utilities.CreateGraphicsContext which takes version number and flag parameters. Deprecate old CreateGraphicsContext methods. 2009-05-10 04:49:31 +00:00
the_fiddler c02b693062 Added initial support for GameWindow.PointToClient. 2009-05-07 19:48:22 +00:00
kanato 889822e06c Fix AGL buffer rectangle when destination control is inside a container inside a form. 2009-05-07 16:32:15 +00:00
the_fiddler 466e4af8f5 Use rgba textures instead of alpha on SavagePro/Twister renderers. Workaround for bug [#833] "TextPrinter problem" (http://www.opentk.com/node/833). 2009-05-07 10:38:05 +00:00
the_fiddler f2b1fb20da Cleaned up tokens for SGI_color_table (promoted by OpenGL 1.2). Fixes bug [#834] "Problem between GL.ColorTable and Version12 enum" (http://www.opentk.com/node/834),
Started implementing tokens for EXT_convolution.
2009-05-07 10:31:44 +00:00