Commit graph

1994 commits

Author SHA1 Message Date
the_fiddler
8624ec0d1a Updated version numbers in preparation for release. 2009-11-01 23:07:38 +00:00
the_fiddler
289697176b 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
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. 2009-11-01 12:44:38 +00:00
the_fiddler
019f54a851 Document that these APIs are incomplete. 2009-11-01 12:40:25 +00:00
the_fiddler
81311ba037 Merged es20 branch back into trunk. 2009-10-28 23:09:25 +00:00
the_fiddler
f65df96c15 Updated mergeinfo. 2009-10-28 19:55:52 +00:00
the_fiddler
e790b327ee Merged VectorAdd fixes from trunk. 2009-10-28 15:59:46 +00:00
the_fiddler
7df7f1e392 Merged latest changes from trunk. 2009-10-28 15:45:49 +00:00
the_fiddler
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.
2009-10-28 14:54:20 +00:00
the_fiddler
2ca02070a5 Recognize and copy dds files as part of example resources. 2009-10-28 09:31:59 +00:00
the_fiddler
af94d707c0 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
6e222ebaa0 Return readonly IList<> instead of copying arrays of data. 2009-10-28 00:39:38 +00:00
the_fiddler
aec4b2feda Track mouse enter/leave events. 2009-10-27 23:58:29 +00:00
the_fiddler
a7eb81a68c Implemented INativeWindow.MouseEnter/MouseLeave events on Win32 and X11. 2009-10-27 23:57:44 +00:00
the_fiddler
923ebc7efb Renegerated bindings using the latest version of the generator (improved handling of types in the System and System.Text namespaces). 2009-10-27 22:51:57 +00:00
the_fiddler
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.
2009-10-27 22:37:05 +00:00
the_fiddler
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". 2009-10-27 22:23:11 +00:00
the_fiddler
4f2ac1753b 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
7f3829acca Provide dummy implementations for classes not available on the iPhone. 2009-10-24 10:35:15 +00:00
the_fiddler
a3518f5df3 Plane.cs belongs to the 'old' structures. 2009-10-24 10:21:14 +00:00
the_fiddler
cde8d8771b Merged Inertia's example and geometry branch, 2009-10-24 10:07:43 +00:00
the_fiddler
854f92c868 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
584e6c48a6 GetUniformLocation: name should have in-flow.
Use BlendingFunctionDest instead of BlendingFunctionDst, in order to match desktop OpenGL bindings.
2009-10-23 20:20:04 +00:00
the_fiddler
a7ff40c44c Added dllmap for OpenGL|ES on Mac OS X. 2009-10-23 20:11:40 +00:00
the_fiddler
ef48c42807 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
887766a371 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
bf89d0a6ab Fixed GetVertexPointerParameter signature to comply with the specs. 2009-10-23 15:36:02 +00:00
the_fiddler
58c12d0d05 GetAttribLocation: name parameter should have a flow of in, not out.
Fixed a number of signatures that were different from desktop OpenGL.
2009-10-23 15:32:43 +00:00
the_fiddler
3d05a448cc Normalized line endings. 2009-10-23 14:51:03 +00:00
the_fiddler
9223285fd7 Added correct enum types for GetString and ShaderBinary.
Added EnableCap tokens to GetPName, in accordance to specs.
2009-10-23 07:19:09 +00:00
the_fiddler
1803ea7004 Added applicable helper overloads from desktop OpenGL.
Added missing license information.
2009-10-23 06:59:04 +00:00
the_fiddler
b0607ede68 Regenerated bindings using the latest overrides.xml: out parameters for Get/Gen methods; fixed return types for GetError and CheckFramebufferStatus. improved consistency with desktop OpenGL bindings. 2009-10-23 06:58:04 +00:00
the_fiddler
968dc4e299 Fixed return types for GetError and CheckFramebufferStatus.
Updated enum types for consistency with OpenGL.
2009-10-23 06:54:15 +00:00
the_fiddler
61f4a8b0cc Regenerated signatures with fixed out parameters. 2009-10-22 23:06:34 +00:00
the_fiddler
8ed98ec517 Use out flow direction for pointer parameters in Get* or Gen* methods. 2009-10-22 23:01:42 +00:00
the_fiddler
d06191d464 Regenerated ES 2.0 bindings using the new, strongly-typed enums.
Fixed sample to use those new enums.
2009-10-22 21:49:11 +00:00
the_fiddler
8da604c18f Merged third part of ES 2.0 cleanup (issue [#1015]: "[ES 2.0] Cleanup #3"). 2009-10-22 21:41:30 +00:00
the_fiddler
8e67b0ace2 Merged second part of ES 2.0 cleanup (issue [#1014]: "[ES 2.0] Cleanup #2"). 2009-10-22 21:34:34 +00:00
the_fiddler
f8c49a54d4 Merged first part of ES 2.0 cleanup (issue [#1013]: "[ES 2.0] Cleanup #1"). 2009-10-22 21:24:54 +00:00
the_fiddler
ef911ad7d8 Created es20 branch for type-safe ES 2.0 bindings. 2009-10-22 21:01:29 +00:00
the_fiddler
be4e56a7a2 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
ea4b599d0e Set default class cursor to avoid invalid cursors when entering the window. 2009-10-21 20:08:04 +00:00
the_fiddler
7b8ba2eacb Added LoadCursor method.
Added CursorName enum (only default arrow cursor is defined for now).
2009-10-21 20:07:32 +00:00
the_fiddler
8fbea23db2 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
ab0a0f31ff Updated changelog with last-minute changes. 2009-10-21 14:03:14 +00:00
the_fiddler
c65d6789b0 Fixed compilation issue caused by OnUnload access modifier changed (public -> protected). 2009-10-21 13:51:39 +00:00
the_fiddler
08f40b7c8c Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. 2009-10-21 13:35:29 +00:00
the_fiddler
15cad88758 OnLoad/OnUnload should be protected, not public, to conform with the class library design guidelines. This issue was supposed to be fixed in 0.9.9-2, but was apparently overlooked. 2009-10-21 13:33:00 +00:00
the_fiddler
b92198bccc Avoid accessing OpenTK.Graphics.OpenGL from platform-specific code. Reduces coupling and code-duplication. 2009-10-21 10:16:32 +00:00
the_fiddler
7ae6858ab5 Trap WM_SYSCHAR to avoid generating system beeps on Alt+[Key] combinations. 2009-10-20 11:35:35 +00:00