the_fiddler
5d303f6257
Now recognizes Resources folder for Examples project.
...
Added icon to Examples project.
2009-11-04 01:20:13 +00:00
the_fiddler
f58fe867e8
Added default icon to samples and the example browser.
2009-11-04 01:19:35 +00:00
the_fiddler
72045f4901
Added default application icon.
2009-11-04 00:57:14 +00:00
the_fiddler
15ab0d3ea7
Fixed ClassName and ModalLoopTimerId when constructing multiple WinGLNative windows in parallel.
...
WinGLNative windows are now correctly focused when clicked on the client area.
2009-11-03 23:42:06 +00:00
the_fiddler
544cf9d405
Serialize context construction to avoid threading issues with shared contexts.
2009-11-03 23:39:03 +00:00
the_fiddler
7e1ebfea6b
Avoid static caching of extension strings and improve multithreading behavior - WGL extension checking is fast enough that caching is not very useful.
2009-11-03 23:36:37 +00:00
the_fiddler
bd3334dd2b
Added SyncRoot object to BindingsBase that can be used to protect shared state in the various bindings.
2009-11-03 23:26:57 +00:00
the_fiddler
9b63078b11
Fixed race condition in GraphicsMode.Default.
2009-11-03 13:16:59 +00:00
the_fiddler
baf44cff90
No need to burn 100% CPU time just for a spinning cube! (Especially important for the multithreading test, which opens multiple such windows).
2009-11-03 13:03:35 +00:00
the_fiddler
18109103e3
Use new string(sbyte*) instead of Marshal.PtrToStringAnsi to increase performance when calling GetString to retrieve the list of available extensions.
2009-11-03 12:59:25 +00:00
the_fiddler
eb92aa8223
Implemented Tranform(Vector, Quaternion) overloads. Fixes issue [ #1028 ]: "[Math] Add vector transformation by quaternion".
2009-11-03 12:20:21 +00:00
the_fiddler
b5eb7fdb93
Deprecated Mult in favor of Multiply.
...
Modified operator * to use Multiply internally (reduces code duplication).
2009-11-03 12:11:51 +00:00
the_fiddler
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.
2009-11-03 11:45:20 +00:00
the_fiddler
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.
2009-11-03 11:41:36 +00:00
the_fiddler
d757b00e0a
Added missing TextureBuffer token to BufferTarget and TextureTarget enums (promoted from ARB_texture_buffer_object). Fixes issue [ #1313 ]: "TextureBuffer target".
2009-11-03 10:33:24 +00:00
the_fiddler
dc572d7a6f
Added type-safe parameters to FramebufferTexture (fixes issue [ #1303 ]: "[GL] fix FramebufferTexture parameters").
2009-11-03 10:22:50 +00:00
the_fiddler
c2a40d0b66
Added multithreading test to verify GameWindow behavior with multiple threads.
2009-11-03 09:58:39 +00:00
the_fiddler
00d966641b
* DocProcessor.cs: Remove any trailing newlines in XML docs. Output
...
between Mono/Linux and .Net/Windows is now consistent.
2009-11-03 08:48:49 +00:00
the_fiddler
74bae3e196
Use more aggressive xlib locking following the advice of the multithreaded X manpages (needs work).
2009-11-02 22:37:13 +00:00
the_fiddler
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.
2009-11-02 20:50:16 +00:00
the_fiddler
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".
2009-11-02 13:25:41 +00:00
the_fiddler
9d8cf134c1
Qualify System.Drawing.Rectangle/Point/Size structs fully when necessary, to avoid namespace clash with OpenTK.Rectangle/Point/Size.
2009-11-02 09:37:18 +00:00
the_fiddler
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).
2009-11-02 09:33:53 +00:00
the_fiddler
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.
2009-11-02 07:20:59 +00:00
the_fiddler
af2d77cdc5
Updated version numbers in preparation for release.
2009-11-01 23:07:38 +00:00
the_fiddler
041c491f19
Fixed an issue where "const unsigned [type] [pointer]" parameters where not parsed correctly. Solves issue [ #1300 ]: "[OpenCL] Possible bug at CL.CreateProgramWithBinary".
2009-11-01 19:15:44 +00:00
the_fiddler
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.
2009-11-01 12:44:38 +00:00
the_fiddler
4914574bd4
Document that these APIs are incomplete.
2009-11-01 12:40:25 +00:00
the_fiddler
792c4e3645
Merged es20 branch back into trunk.
2009-10-28 23:09:25 +00:00
the_fiddler
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.
2009-10-28 14:54:20 +00:00
the_fiddler
13a77d5452
Recognize and copy dds files as part of example resources.
2009-10-28 09:31:59 +00:00
the_fiddler
8e9ebf4fe1
Renamed dds textures to not contain strange characters that confuse Prebuild.
...
Added checks for extension support to SwizzledParallax sample.
2009-10-28 09:05:13 +00:00
the_fiddler
038e140e41
Return readonly IList<> instead of copying arrays of data.
2009-10-28 00:39:38 +00:00
the_fiddler
0c0acfbf75
Track mouse enter/leave events.
2009-10-27 23:58:29 +00:00
the_fiddler
3d0a3dfb4e
Implemented INativeWindow.MouseEnter/MouseLeave events on Win32 and X11.
2009-10-27 23:57:44 +00:00
the_fiddler
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".
2009-10-27 22:23:11 +00:00
the_fiddler
721277d7f7
Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary.
2009-10-24 10:35:49 +00:00
the_fiddler
f25e37c22a
Provide dummy implementations for classes not available on the iPhone.
2009-10-24 10:35:15 +00:00
the_fiddler
198c12ef35
Plane.cs belongs to the 'old' structures.
2009-10-24 10:21:14 +00:00
the_fiddler
fe5b0afe5b
Merged Inertia's example and geometry branch,
2009-10-24 10:07:43 +00:00
the_fiddler
0c25f266d3
Fixed x86-specific ABI assumption (do not pass structure directly when a pointer is expected). Patch by jonp.
2009-10-23 22:06:15 +00:00
the_fiddler
b8f8e46bab
Added dllmap for OpenGL|ES on Mac OS X.
2009-10-23 20:11:40 +00:00
the_fiddler
ca540e2626
Debug.WriteLine(object, string) does not work as intended (the first parameter defines the category). Use Debug.Print instead.
2009-10-23 17:45:14 +00:00
the_fiddler
8527483c0b
Fixed x86-specific ABI assumption (do not return structure directly when a pointer is expected). Patch by jonp.
2009-10-23 16:10:55 +00:00
the_fiddler
823149b343
Do not force control to create its handle in Resize event (the designer places code that raises this event before the rest of the events are hooked). Instead, suppress the event and raise it once the handle is actually created.
2009-10-22 17:56:55 +00:00
the_fiddler
a7ccef9ae8
Set default class cursor to avoid invalid cursors when entering the window.
2009-10-21 20:08:04 +00:00
the_fiddler
f1fc4b5b4e
Added LoadCursor method.
...
Added CursorName enum (only default arrow cursor is defined for now).
2009-10-21 20:07:32 +00:00
the_fiddler
f127ddf031
Use StringBuilder.Capacity to specify the available buffer size in OpenGL interop (StringBuilder.Length is invalid in this case).
...
Added workaround for Mono 1.9.1 issue, where StringBuilder return truncated results when used in interop. Doubling the StringBuilder capacity fixes this issue.
2009-10-21 17:26:07 +00:00
the_fiddler
38de4dd053
Updated changelog with last-minute changes.
2009-10-21 14:03:14 +00:00
the_fiddler
b8bdfcd3a5
Fixed compilation issue caused by OnUnload access modifier changed (public -> protected).
2009-10-21 13:51:39 +00:00