Commit graph

50 commits

Author SHA1 Message Date
the_fiddler
9daced745e Fixed '*Indexed' functions (they were wrapped as '*Indexe', with a missing 'd'). 2009-03-29 14:27:07 +00:00
the_fiddler
44560392b9 Fixed Draw*Instanced (were missing the 'd' from Instanced). Bug [#586]. 2009-03-28 14:48:20 +00:00
the_fiddler
7a57fbd8a7 Added automatic error checking for all OpenGL function calls (debug mode only). Begin()-End() regions are handled correctly. 2009-03-25 17:55:37 +00:00
the_fiddler
2062d231d0 Bind now maps 'void*' to generics ('ref T', 'T[]', 'T[,]' and 'T[,,]') instead of 'object'.
The doc processor can now document more OpenGL functions (e.g. GL.Color3).
Cleaned up several pieces of code in Bind (but I'm afraid it's hopeless - spaghetti code at its greatest).
2009-03-21 21:44:07 +00:00
the_fiddler
04ebcff4fb Corrected the mapping of Byte/SByte wrappers -> entry points. Swapped CLSCompliant attribute between Byte and SByte (Bytes are, SBytes are not). 2009-03-08 22:00:13 +00:00
the_fiddler
a29c32d774 Fixed the mapping between unsigned and signed wrappers -> entry points (no unsigned <-> signed casting). Regenerated bindings. 2009-03-08 19:19:52 +00:00
the_fiddler
01f618c00b Now prints the OpenTK license and adds the [AutoGenerated] attribute to the generated bindings. 2009-02-28 19:29:34 +00:00
the_fiddler
8ba07860e5 Merged changes from gl3 branch. 2009-02-28 18:50:16 +00:00
the_fiddler
a22019d890 Normalize line endings and set the mime-type=text/plain and eol-style=native properties on all files. 2009-02-22 10:43:35 +00:00
the_fiddler
084a561ba8 Fixed GL.ReadPixels (was GL.ReadPixel) 2008-03-01 13:11:15 +00:00
the_fiddler
c47b6168ad Fixed type translation. 2008-02-02 13:24:41 +00:00
the_fiddler
a9e2ce4a00 Completed move of OpenTK.OpenGL to OpenTK.Graphics.OpenGL. 2008-02-02 00:58:26 +00:00
the_fiddler
a249816865 Updated FBO specs with specific enums.
Fixed GL.Ext.CheckFramebufferStatus (was CheckFramebufferStat before)
Moved default namespace to OpenTK.Graphics.OpenGL.
Moved OpenTK.Graphics.OpenGL.Enums to OpenTK.Graphics.OpenGL.
2008-02-02 00:23:06 +00:00
the_fiddler
5d51050576 Fixed capitalization of Texture2D etc. 2008-01-24 09:16:49 +00:00
the_fiddler
d4a63df42b Added JTalton's double precision mathlib. 2008-01-20 17:14:12 +00:00
the_fiddler
8cb0f0e0b7 Fixed NewTess and DeleteTess (were NewTes and DeleteTes).
Fixed wrapper generation for functions with both pointer and generic parameters.
2008-01-19 15:25:30 +00:00
the_fiddler
2deb63cf99 Made the ParameterCollection.Rebuild property public. 2008-01-19 15:24:34 +00:00
the_fiddler
e65c0c13e7 Fixed a possible NRE (raised with Glu) 2008-01-15 09:34:01 +00:00
the_fiddler
1e0ed3c477 Added setting to DropMultipleTokens. Disabled this functionality (caused problems with some enums) 2008-01-14 23:41:53 +00:00
the_fiddler
1ae880a266 Fixed a possible null key exception when no AuxEnums are loaded. 2008-01-03 00:52:55 +00:00
the_fiddler
424c0b17dd Duplicate enums are now dropped (Core > ARB > EXT > Vendor-specific).
Final values are calculated for all tokens (no "Foo = (int)Bar.Baz" anymore)
EnumCollection keys are now updated after translating the enums.
2008-01-03 00:08:49 +00:00
the_fiddler
b14814fe5c Fixed GL.Scale (was GL.Scaled) 2008-01-02 13:50:43 +00:00
the_fiddler
270e19ab53 Corrected casing of ExtTextureSrgb. 2007-11-10 18:33:44 +00:00
the_fiddler
58d5b7838a Fixed mismatch between Delegate and Import declarations. 2007-11-10 12:29:17 +00:00
the_fiddler
2ede6cab5a Fixed IntPtr processing - real pointers (with object overloads) are now differentiated from plain IntPtr parameters (e.g. offsets). Fixed Tao bindings generation. 2007-11-10 10:28:22 +00:00
the_fiddler
4354f68f2e Doesn't trim EdgeFlagv anymore. 2007-11-04 16:48:57 +00:00
the_fiddler
af25a9808b Fixed ReturnType and Parameters translation to follow .Net naming conventions. 2007-11-04 15:21:50 +00:00
the_fiddler
f1ac7e2104 Fixed IsEnabled which had its ending trimmed. 2007-11-04 15:21:00 +00:00
the_fiddler
3156428e3f Translation code to follow .Net naming conventions. 2007-11-04 15:20:19 +00:00
the_fiddler
9364a4af10 Added translation code to follow the .Net naming conventions. 2007-11-04 15:19:38 +00:00
the_fiddler
4f21d69dc9 Split translation code between Type.Translate() and Parameter.Translate(). 2007-11-04 15:19:01 +00:00
the_fiddler
1b4da37c54 Fixed a regression where pure IntPtr parameters (size etc etc) obtained 'object' overloads. 2007-10-31 17:42:29 +00:00
the_fiddler
55d785249e Moved the Wrapper generation to Function instead of Delegate. Simplified the code. 2007-10-26 12:55:26 +00:00
the_fiddler
25eeeab609 Rather big update: turned void* to IntPtr, to avoid problems with .Net and Tao functions directly IntPtr (the object overload would be called and all hell would break loose).
Minor cleanup. Added code to turn ALL_CAPS enums into .Net CamelCase enums - must take care of the extensions before enabling this.
Added a couple new commandline options, and fixed a misspelling (NestedEnumsClass was NestedEunmsClass, ugh!)
2007-10-21 15:48:52 +00:00
the_fiddler
b2ac1d4c61 Updated BindStreamWriter to better handle endlines. Reverted WinRawInput to standard reads. 2007-09-22 14:59:33 +00:00
the_fiddler
eea200eb1d Added partial modifier to internal Delegates and Imports class. Removed constructors (they now reside in GLHelper.cs). Renamed GL.DrawArray to GL.DrawArrays. 2007-09-05 19:59:54 +00:00
the_fiddler
cc23dac7a8 Merged with Bind. Added GLU bindings. Corrected OpenGL overload trimming. 2007-09-02 22:52:00 +00:00
the_fiddler
9120a732ea Merged with bind branch: updated GL.cs wrappers, Glx and Glu implementation suppoort files, faster Bind. 2007-09-02 00:40:43 +00:00
the_fiddler
61048d6ae1 Wgl structs now reside in the OpenTK.Platform.Windows namespace, notin OpenTK.Platform.Windows.API. 2007-09-01 23:59:47 +00:00
the_fiddler
ffe8ce7795 Merged with bind branch. 2007-08-20 12:25:48 +00:00
the_fiddler
9295a44c60 2007-08-20 10:46:37 +00:00
the_fiddler
164876a723 Added wgl binding generator. 2007-08-12 16:14:23 +00:00
the_fiddler
ac2a2f9a70 Improved opengl overload trimming. 2007-08-10 20:16:05 +00:00
the_fiddler
e220f3a71a Updated Build.exe to correctly generate sharpdev and sharpdev2 projects.
Removed some unused variables.
Added licensing information.
2007-08-10 09:27:13 +00:00
the_fiddler
09bd00885c Merged with gl3 branch. Resolved conflicts. Added IMouseDriver.cs 2007-08-04 23:39:56 +00:00
the_fiddler
672a82983a Major updates to keyboard input. The infrastructure (drivers etc) is ready. Windows raw input works (now implementing multiple devices). The examples need updating for the new input methods.
Updated the ExampleLauncher to not process exceptions. Updated the IExample interface to contain the Launch method. Updated examples and the ExampleLauncher according to the IExample interface.
Synced with gl3 branch.
2007-08-03 00:14:31 +00:00
the_fiddler
c5ad62c12b Synced with gl3 branch. 2007-08-01 22:28:54 +00:00
the_fiddler
d5022b1b56 Sycned with gl3 branch. 2007-08-01 21:14:39 +00:00
the_fiddler
c1d3fbe2f1 Merged with gl3 branch. 2007-08-01 09:27:57 +00:00
the_fiddler
3d23105b0d 'Merged' windowing branch. Ugly, but it seems to have worked. 2007-07-23 00:15:18 +00:00