Commit graph

1445 commits

Author SHA1 Message Date
kanato
721e45a5d4 Implement PointToClient for MacOS. 2009-05-11 01:10:09 +00:00
kanato
043421c7bc 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
2f54b29ed8 Added initial support for GameWindow.PointToClient. 2009-05-07 19:48:22 +00:00
kanato
bc236a7c0b Fix AGL buffer rectangle when destination control is inside a container inside a form. 2009-05-07 16:32:15 +00:00
the_fiddler
3c522d26ee 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
91c36efd6e 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
the_fiddler
62a013bddc 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-06 18:40:36 +00:00
the_fiddler
a27c15cf32 Fixed sync attribute in AudioContext constructor (patch by erluk). Fixes bug [#830] "AudioContext: Wrong parameters passed to Alc.CreateContext" (http://www.opentk.com/node/830). 2009-05-06 09:09:00 +00:00
the_fiddler
370396ab7f The generator now detects and adds the FlagsAttribute to bitwise collections. Fixes bug [#792] "Resharper - Bitwise operation on enum which is not marked by [Flags] attribute" (http://www.opentk.com/node/792). 2009-05-05 21:00:48 +00:00
the_fiddler
9f6e2bf323 Added non-EXT EXT_blend_color constants to BlendingFactorDest/Src enums (promoted by GL1.2).
Added ARB_fragment_shaderFragmentShaderDerivativeHint to HintTarget enum (promoted by GL2.0).
Fixes bug [#774]: "Some Token corrections" (http://www.opentk.com/node/774)
2009-05-05 20:24:09 +00:00
the_fiddler
5cde2cac88 Reset texture matrix in GL1TextOutputProvider .Begin() and restore in GL1TextOutputProvider .End(). Fixes bug [#810] "Bad texture matrix in TextPrinter" (http://www.opentk.com/node/810)). 2009-05-05 20:13:21 +00:00
the_fiddler
56e95f9bf9 Fixed UniformMatrix4(..., ref Matrix4) overload (count should be 1). 2009-04-29 13:00:27 +00:00
the_fiddler
5c1656f691 Fixed Uniform2[234] overloads for Vector[234]. 2009-04-29 11:02:45 +00:00
the_fiddler
67d8b1f54c Fixed potential crash-bug in the WGL_ARB_create_context path (missing 0 attribute). 2009-04-29 11:02:12 +00:00
the_fiddler
4335a458eb Automatic OpenGL error checking now throws an OpenGLErrorException. This is internal, as it should not be caught by the user.
Added Color4 overload to GL.Uniform4.
2009-04-28 17:38:08 +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
5eaf379247 Added 'localCopy' directive for OpenTK.dll and OpenTK.Utilities.dll to Examples project in Prebuild.xml. 2009-04-20 10:27:53 +00:00
the_fiddler
f84e4e062a Bumped version number. 2009-04-20 10:19:55 +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
202c8f13f0 Examples.exe is now a WinExe project. Fixed Examples.exe entry point. 2009-04-20 08:11:07 +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
675e8378ca Disabled printing of available resolutions and extensions in debug builds. 2009-04-20 06:58:39 +00:00
the_fiddler
0ecdd1c9e3 Fixed issue http://www.opentk.com/node/794 (suppress array overloads for functions that receive/return pointers to single elements). 2009-04-15 13:14:41 +00:00
the_fiddler
75db59c202 Fixed Uniform[234] overloads for Vector[234] (they were all named Uniform2).
Removed 'count' parameter from UniformMatrix4 overload for Matrix4 (it is always 16).
2009-04-12 19:59:12 +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
a128220c27 Generator now trims 'v' suffixes from all functions and marks resulting non cls-compliant overloads as such.
Bumped version number.
2009-04-12 18:23:01 +00:00
the_fiddler
bfcee69961 Changed default output path for the generator to overwrite OpenTK/Graphics/GL. 2009-04-12 17:08:16 +00:00
the_fiddler
dd84fddf19 Added new matrix constructors that take 16 distinct matrix elements. 2009-04-12 16:34:35 +00:00
the_fiddler
c189bf7e75 Fixed bug #776 (Incorrect XDelta and YDelta values...) 2009-04-04 23:05:53 +00:00
the_fiddler
ee5a7dac1f Fixed type (wrap around). 2009-03-30 21:31:24 +00:00
the_fiddler
d91c7af694 Removed OpenAL/History.txt (issue http://www.opentk.com/node/744). 2009-03-30 12:50:00 +00:00
the_fiddler
5336190bbb Updated assembly information and documentation for the 0.9.7 release. 2009-03-29 21:59:15 +00:00
the_fiddler
eb183f4cfe Added stack traces to automatic error checking.
Added GraphicsContext.ErrorChecking property to temporarily disable error checking if necessary.
Error checking is now added to all functions in debug mode (the generator would miss specific CLS-compliant overloads before).
2009-03-29 21:41:30 +00:00
the_fiddler
b4f0b86239 Updated tokens for EXT_transform_feedback (http://www.opentk.com/node/602). Updated tokens for ARB_uniform_ buffer_object (http://www.opentk.com/node/748). The generator no longer trims the 's' suffix from Varyings. 2009-03-29 19:26:57 +00:00
the_fiddler
364bef5478 Updated tokens for ARB_uniform_ buffer_object (Issue http://www.opentk.com/node/748).
Added tokens for GetIntegeri_v/GetBooleani_v.
2009-03-29 17:44:55 +00:00
the_fiddler
b60bea7e8c Generator is now able to trim function suffixes similar to 'i_v' (first introduced in OpenGL 3.0). 2009-03-29 16:11:37 +00:00
the_fiddler
d88faf0245 Updated tokens for NV_conditional_render. Issue http://www.opentk.com/node/597 2009-03-29 16:05:13 +00:00
the_fiddler
71d75282e4 Updated tokens for ARB_instanced_arrays (non-core). Issue http://www.opentk.com/node/590 2009-03-29 15:58:54 +00:00
the_fiddler
f39fc9c394 Updated tokens for ARB_copy_buffer (issue http://www.opentk.com/node/747). 2009-03-29 15:47:09 +00:00
the_fiddler
16809ca0db Updated tokens for APPLE_flush_buffer_range (issue http://www.opentk.com/node/598). 2009-03-29 15:35:58 +00:00
the_fiddler
4abac1f814 Updated tokens for ARB_map_buffer_range (issue http://www.opentk.com/node/591). 2009-03-29 15:26:58 +00:00
the_fiddler
3bb28d6bd9 Updated tokens for EXT_texture_ shared_exponent (issue [#600]), EXT_packed_float (issue [#599]) and added new OpenGL 3.0 tokens to GetPName (major/minor version, num_extensions and context_flags) and GetStringi. 2009-03-29 15:19:53 +00:00
the_fiddler
0d5af73465 Updated tokens for EXT_gpu_shader4 (issue [#604]). 2009-03-29 14:49:28 +00:00