Commit graph

  • 3ca21ed1b6 Initialize threads before calling any other X methods. the_fiddler 2009-11-04 10:04:16 +0000
  • 11dc8fc4cd Initialize threads before calling any other X methods. the_fiddler 2009-11-04 10:04:16 +0000
  • 9f96fe71c1 Removed unnecessary debugging messages from main loop. the_fiddler 2009-11-04 10:03:50 +0000
  • e5469f38d1 Removed unnecessary debugging messages from main loop. the_fiddler 2009-11-04 10:03:50 +0000
  • f5de2fc8d3 Added Toolkit.Init() method that can be used to configure the underlying platform correctly when using OpenTK along with other toolkits (e.g. OpenTK+GTK# on X, where GTK# does not initialize threads). the_fiddler 2009-11-04 09:46:45 +0000
  • 907d2bd7e9 Added Toolkit.Init() method that can be used to configure the underlying platform correctly when using OpenTK along with other toolkits (e.g. OpenTK+GTK# on X, where GTK# does not initialize threads). the_fiddler 2009-11-04 09:46:45 +0000
  • 765f54917e Default window style flags can be constants rather than static readonly fields. Throw an exception if we fail to register the window class, the previous solution (check for "class already exists" error) was a workaround for a threading issue that has been solved. Set the small icon when registering the class. the_fiddler 2009-11-04 09:21:41 +0000
  • 331b7d0f63 Default window style flags can be constants rather than static readonly fields. Throw an exception if we fail to register the window class, the previous solution (check for "class already exists" error) was a workaround for a threading issue that has been solved. Set the small icon when registering the class. the_fiddler 2009-11-04 09:21:41 +0000
  • 5d303f6257 Now recognizes Resources folder for Examples project. Added icon to Examples project. the_fiddler 2009-11-04 01:20:13 +0000
  • 6452cf4629 Now recognizes Resources folder for Examples project. Added icon to Examples project. the_fiddler 2009-11-04 01:20:13 +0000
  • f58fe867e8 Added default icon to samples and the example browser. the_fiddler 2009-11-04 01:19:35 +0000
  • 7bf742575e Added default icon to samples and the example browser. the_fiddler 2009-11-04 01:19:35 +0000
  • 72045f4901 Added default application icon. the_fiddler 2009-11-04 00:57:14 +0000
  • e60df8ba28 Added default application icon. the_fiddler 2009-11-04 00:57:14 +0000
  • 15ab0d3ea7 Fixed ClassName and ModalLoopTimerId when constructing multiple WinGLNative windows in parallel. WinGLNative windows are now correctly focused when clicked on the client area. the_fiddler 2009-11-03 23:42:06 +0000
  • eec0033297 Fixed ClassName and ModalLoopTimerId when constructing multiple WinGLNative windows in parallel. WinGLNative windows are now correctly focused when clicked on the client area. the_fiddler 2009-11-03 23:42:06 +0000
  • 544cf9d405 Serialize context construction to avoid threading issues with shared contexts. the_fiddler 2009-11-03 23:39:03 +0000
  • 2ba3e5357e Serialize context construction to avoid threading issues with shared contexts. the_fiddler 2009-11-03 23:39:03 +0000
  • 7e1ebfea6b Avoid static caching of extension strings and improve multithreading behavior - WGL extension checking is fast enough that caching is not very useful. the_fiddler 2009-11-03 23:36:37 +0000
  • 40940d1430 Avoid static caching of extension strings and improve multithreading behavior - WGL extension checking is fast enough that caching is not very useful. the_fiddler 2009-11-03 23:36:37 +0000
  • bd3334dd2b Added SyncRoot object to BindingsBase that can be used to protect shared state in the various bindings. the_fiddler 2009-11-03 23:26:57 +0000
  • ddb56a1952 Added SyncRoot object to BindingsBase that can be used to protect shared state in the various bindings. the_fiddler 2009-11-03 23:26:57 +0000
  • 9b63078b11 Fixed race condition in GraphicsMode.Default. the_fiddler 2009-11-03 13:16:59 +0000
  • 043e0fec2f Fixed race condition in GraphicsMode.Default. the_fiddler 2009-11-03 13:16:59 +0000
  • baf44cff90 No need to burn 100% CPU time just for a spinning cube! (Especially important for the multithreading test, which opens multiple such windows). the_fiddler 2009-11-03 13:03:35 +0000
  • 92c5cbfaf2 No need to burn 100% CPU time just for a spinning cube! (Especially important for the multithreading test, which opens multiple such windows). the_fiddler 2009-11-03 13:03:35 +0000
  • 18109103e3 Use new string(sbyte*) instead of Marshal.PtrToStringAnsi to increase performance when calling GetString to retrieve the list of available extensions. the_fiddler 2009-11-03 12:59:25 +0000
  • 1af4990517 Use new string(sbyte*) instead of Marshal.PtrToStringAnsi to increase performance when calling GetString to retrieve the list of available extensions. the_fiddler 2009-11-03 12:59:25 +0000
  • eb92aa8223 Implemented Tranform(Vector, Quaternion) overloads. Fixes issue [#1028]: "[Math] Add vector transformation by quaternion". the_fiddler 2009-11-03 12:20:21 +0000
  • 70140e62ef Implemented Tranform(Vector, Quaternion) overloads. Fixes issue [#1028]: "[Math] Add vector transformation by quaternion". the_fiddler 2009-11-03 12:20:21 +0000
  • b5eb7fdb93 Deprecated Mult in favor of Multiply. Modified operator * to use Multiply internally (reduces code duplication). the_fiddler 2009-11-03 12:11:51 +0000
  • d7a85401da Deprecated Mult in favor of Multiply. Modified operator * to use Multiply internally (reduces code duplication). the_fiddler 2009-11-03 12:11:51 +0000
  • eeda1bf866 Fixed Vector3.Transform signature to return a Vector3, not a Vector4. It was previously impossible to transform a Vector3 structure without intermediate conversions to Vector4. the_fiddler 2009-11-03 11:45:20 +0000
  • 9ce7437cbd Fixed Vector3.Transform signature to return a Vector3, not a Vector4. It was previously impossible to transform a Vector3 structure without intermediate conversions to Vector4. the_fiddler 2009-11-03 11:45:20 +0000
  • 4d3e84701c Modified Transform(ref Vector4, ref Matrix4, out Vector4) overload to work correctly when the ref and out parameters point to the same Vector4. Modified Transform(Vector4, Matrix4): Vector4 to call the reference overload internally. Faster and reduces code duplication. the_fiddler 2009-11-03 11:41:36 +0000
  • 3d6d476d16 Modified Transform(ref Vector4, ref Matrix4, out Vector4) overload to work correctly when the ref and out parameters point to the same Vector4. Modified Transform(Vector4, Matrix4): Vector4 to call the reference overload internally. Faster and reduces code duplication. the_fiddler 2009-11-03 11:41:36 +0000
  • d757b00e0a Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [#1313]: "TextureBuffer target". the_fiddler 2009-11-03 10:33:24 +0000
  • 26b969b23e Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [#1313]: "TextureBuffer target". the_fiddler 2009-11-03 10:33:24 +0000
  • dc572d7a6f Added type-safe parameters to FramebufferTexture (fixes issue [#1303]: "[GL] fix FramebufferTexture parameters"). the_fiddler 2009-11-03 10:22:50 +0000
  • a333532d69 Added type-safe parameters to FramebufferTexture (fixes issue [#1303]: "[GL] fix FramebufferTexture parameters"). the_fiddler 2009-11-03 10:22:50 +0000
  • c2a40d0b66 Added multithreading test to verify GameWindow behavior with multiple threads. the_fiddler 2009-11-03 09:58:39 +0000
  • a313386ee2 Added multithreading test to verify GameWindow behavior with multiple threads. the_fiddler 2009-11-03 09:58:39 +0000
  • 00d966641b * DocProcessor.cs: Remove any trailing newlines in XML docs. Output between Mono/Linux and .Net/Windows is now consistent. the_fiddler 2009-11-03 08:48:49 +0000
  • 3e5f1fb994 * DocProcessor.cs: Remove any trailing newlines in XML docs. Output between Mono/Linux and .Net/Windows is now consistent. the_fiddler 2009-11-03 08:48:49 +0000
  • 74bae3e196 Use more aggressive xlib locking following the advice of the multithreaded X manpages (needs work). the_fiddler 2009-11-02 22:37:13 +0000
  • 974641086c Use more aggressive xlib locking following the advice of the multithreaded X manpages (needs work). the_fiddler 2009-11-02 22:37:13 +0000
  • 0bfb7897b0 Do not allow MakeCurrent() to change the display connection of the context. This would result in an X error and the change allows us to simplify shutdown/cleanup logic. the_fiddler 2009-11-02 20:50:16 +0000
  • 2a1924c62c Do not allow MakeCurrent() to change the display connection of the context. This would result in an X error and the change allows us to simplify shutdown/cleanup logic. the_fiddler 2009-11-02 20:50:16 +0000
  • 1073c8ccac * Matrix4d.cs: M44 should be 1.0 to conform with GL.Ortho(). Fixes issue [#1307]: "GL.Ortho behaves other than combination of OpenTK.Matrix4d.CreateOrthographic and GL.MultMatrix". the_fiddler 2009-11-02 13:25:41 +0000
  • 1a9fc63a57 * Matrix4d.cs: M44 should be 1.0 to conform with GL.Ortho(). Fixes issue [#1307]: "GL.Ortho behaves other than combination of OpenTK.Matrix4d.CreateOrthographic and GL.MultMatrix". the_fiddler 2009-11-02 13:25:41 +0000
  • 9d8cf134c1 Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size. the_fiddler 2009-11-02 09:37:18 +0000
  • ef183b18cc Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size. the_fiddler 2009-11-02 09:37:18 +0000
  • c8c652131e Added experimental Icon and IconConverter implementations from Mono. Modified INativeWindow implementations to not qualify Icon class fully, so we can change the implementation between System.Drawing and OpenTK at will (using the EXPERIMENTAL #define). the_fiddler 2009-11-02 09:33:53 +0000
  • ea1765ec75 Added experimental Icon and IconConverter implementations from Mono. Modified INativeWindow implementations to not qualify Icon class fully, so we can change the implementation between System.Drawing and OpenTK at will (using the EXPERIMENTAL #define). the_fiddler 2009-11-02 09:33:53 +0000
  • 600f657b70 Improved interoperation with System.Drawing with new addition, subtraction and implicit conversion operators, as well as additional method overloads. Only expose fields through public properties to allow for parameter validation. the_fiddler 2009-11-02 07:20:59 +0000
  • 2f522e790b Improved interoperation with System.Drawing with new addition, subtraction and implicit conversion operators, as well as additional method overloads. Only expose fields through public properties to allow for parameter validation. the_fiddler 2009-11-02 07:20:59 +0000
  • af2d77cdc5 Updated version numbers in preparation for release. the_fiddler 2009-11-01 23:07:38 +0000
  • 8624ec0d1a Updated version numbers in preparation for release. the_fiddler 2009-11-01 23:07:38 +0000
  • 041c491f19 Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [#1300]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary". the_fiddler 2009-11-01 19:15:44 +0000
  • 289697176b Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [#1300]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary". the_fiddler 2009-11-01 19:15:44 +0000
  • ff572e83b7 Added experimental OpenTK.Point/Size/Rectangle alternatives to System.Drawing, to make OpenTK usable without referencing System.Drawing (disabled by default, #define EXPERIMENTAL to test). Modified a number of using directives and namespace qualifiers to accommodate this change. the_fiddler 2009-11-01 12:44:38 +0000
  • 2340e87eda Added experimental OpenTK.Point/Size/Rectangle alternatives to System.Drawing, to make OpenTK usable without referencing System.Drawing (disabled by default, #define EXPERIMENTAL to test). Modified a number of using directives and namespace qualifiers to accommodate this change. the_fiddler 2009-11-01 12:44:38 +0000
  • 4914574bd4 Document that these APIs are incomplete. the_fiddler 2009-11-01 12:40:25 +0000
  • 019f54a851 Document that these APIs are incomplete. the_fiddler 2009-11-01 12:40:25 +0000
  • 792c4e3645 Merged es20 branch back into trunk. the_fiddler 2009-10-28 23:09:25 +0000
  • 81311ba037 Merged es20 branch back into trunk. the_fiddler 2009-10-28 23:09:25 +0000
  • f65df96c15 Updated mergeinfo. the_fiddler 2009-10-28 19:55:52 +0000
  • e790b327ee Merged VectorAdd fixes from trunk. the_fiddler 2009-10-28 15:59:46 +0000
  • 7df7f1e392 Merged latest changes from trunk. the_fiddler 2009-10-28 15:45:49 +0000
  • fca4dde7cf Initialize input vectors to random values. Use smaller data blocks that can be verified visually. Perform error checking when executing the kernel. Wait for the command queue to finish before displaying the results. the_fiddler 2009-10-28 14:54:20 +0000
  • 7fbfd334c2 Initialize input vectors to random values. Use smaller data blocks that can be verified visually. Perform error checking when executing the kernel. Wait for the command queue to finish before displaying the results. the_fiddler 2009-10-28 14:54:20 +0000
  • 13a77d5452 Recognize and copy dds files as part of example resources. the_fiddler 2009-10-28 09:31:59 +0000
  • 2ca02070a5 Recognize and copy dds files as part of example resources. the_fiddler 2009-10-28 09:31:59 +0000
  • 8e9ebf4fe1 Renamed dds textures to not contain strange characters that confuse Prebuild. Added checks for extension support to SwizzledParallax sample. the_fiddler 2009-10-28 09:05:13 +0000
  • af94d707c0 Renamed dds textures to not contain strange characters that confuse Prebuild. Added checks for extension support to SwizzledParallax sample. the_fiddler 2009-10-28 09:05:13 +0000
  • 038e140e41 Return readonly IList<> instead of copying arrays of data. the_fiddler 2009-10-28 00:39:38 +0000
  • 6e222ebaa0 Return readonly IList<> instead of copying arrays of data. the_fiddler 2009-10-28 00:39:38 +0000
  • 0c0acfbf75 Track mouse enter/leave events. the_fiddler 2009-10-27 23:58:29 +0000
  • aec4b2feda Track mouse enter/leave events. the_fiddler 2009-10-27 23:58:29 +0000
  • 3d0a3dfb4e Implemented INativeWindow.MouseEnter/MouseLeave events on Win32 and X11. the_fiddler 2009-10-27 23:57:44 +0000
  • a7eb81a68c Implemented INativeWindow.MouseEnter/MouseLeave events on Win32 and X11. the_fiddler 2009-10-27 23:57:44 +0000
  • 923ebc7efb Renegerated bindings using the latest version of the generator (improved handling of types in the System and System.Text namespaces). the_fiddler 2009-10-27 22:51:57 +0000
  • 97e07a6e24 * GL2/Generator.cs: Refactored WriteWrappers() into smaller methods. Added "using System.Text;" to all generated files that may contain StringBuilder parameters. * Main.cs: Removed unused comments. Improved parameter handling. Added -o:keep_untyped_parameters option. * Settings.cs: Added KeepUntypedEnums compatibility setting. * Structures/Delegate.cs: Removed stale comments. Refactored CreateWrappers() method to support untyped enum overload generation and simplified method implementation. Replaced CurrentType translations with QualifiedType. * Structures/Function.cs: Removed stale code. Fixed copy constructors to copy all necessary fields. Use QualifiedType instead of CurrentType in WrapReturnType and CreateBody methods. Made Body statement lists static to improve performance. Added hack to modify callstring casts in keep_untyped_enums wrappers. Generate call string from the Function CreateBody was called on, rather than the current Function (solves issues with invalid casts in specific cases). * Structures/Parameter.cs: Use fully qualified type instead of current type in several caeses. * Structures/Type.cs: Added explicit support for fully qualified types. the_fiddler 2009-10-27 22:37:05 +0000
  • 852fdc3662 Generate UpdateFrame events even if TargetUpdateFrequency is 0. According to the documentation, setting this value to 0 will result in unconstrained UpdateFrame frequency. Fixes issue [#1294]: "OnUpdateFrame function does not work with maximum update rate". the_fiddler 2009-10-27 22:23:11 +0000
  • 68b2a5942b Generate UpdateFrame events even if TargetUpdateFrequency is 0. According to the documentation, setting this value to 0 will result in unconstrained UpdateFrame frequency. Fixes issue [#1294]: "OnUpdateFrame function does not work with maximum update rate". the_fiddler 2009-10-27 22:23:11 +0000
  • 721277d7f7 Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary. the_fiddler 2009-10-24 10:35:49 +0000
  • 4f2ac1753b Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary. the_fiddler 2009-10-24 10:35:49 +0000
  • f25e37c22a Provide dummy implementations for classes not available on the iPhone. the_fiddler 2009-10-24 10:35:15 +0000
  • 7f3829acca Provide dummy implementations for classes not available on the iPhone. the_fiddler 2009-10-24 10:35:15 +0000
  • 198c12ef35 Plane.cs belongs to the 'old' structures. the_fiddler 2009-10-24 10:21:14 +0000
  • a3518f5df3 Plane.cs belongs to the 'old' structures. the_fiddler 2009-10-24 10:21:14 +0000
  • fe5b0afe5b Merged Inertia's example and geometry branch, the_fiddler 2009-10-24 10:07:43 +0000
  • cde8d8771b Merged Inertia's example and geometry branch, the_fiddler 2009-10-24 10:07:43 +0000
  • 0c25f266d3 Fixed x86-specific ABI assumption (do not pass structure directly when a pointer is expected). Patch by jonp. the_fiddler 2009-10-23 22:06:15 +0000
  • 854f92c868 Fixed x86-specific ABI assumption (do not pass structure directly when a pointer is expected). Patch by jonp. the_fiddler 2009-10-23 22:06:15 +0000
  • 584e6c48a6 GetUniformLocation: name should have in-flow. Use BlendingFunctionDest instead of BlendingFunctionDst, in order to match desktop OpenGL bindings. the_fiddler 2009-10-23 20:20:04 +0000
  • b8f8e46bab Added dllmap for OpenGL|ES on Mac OS X. the_fiddler 2009-10-23 20:11:40 +0000
  • a7ff40c44c Added dllmap for OpenGL|ES on Mac OS X. the_fiddler 2009-10-23 20:11:40 +0000
  • ca540e2626 Debug.WriteLine(object, string) does not work as intended (the first parameter defines the category). Use Debug.Print instead. the_fiddler 2009-10-23 17:45:14 +0000
  • ef48c42807 Debug.WriteLine(object, string) does not work as intended (the first parameter defines the category). Use Debug.Print instead. the_fiddler 2009-10-23 17:45:14 +0000