thefiddler
8360b7a2ba
Generate overloads without strong enums for 1.0 compat
...
OpenTK 1.0 and Xamarin Android/iOS do not use strongly-typed enums for
OpenGL ES. Generate overloads with the "All" enum in order to maintain
compatibility.
2013-11-11 10:03:24 +01:00
Stefanos A
d20180cd2d
gles1 API contains both versions 1.0 and 1.1
...
Khronos no longer distinguishes between ES 1.0 and 1.1.
2013-11-03 20:32:47 +01:00
Stefanos A.
c83d6ad530
DefaultOutputPath now matches OpenTK source tree
...
By default, generated bindings are placed in the source tree of
OpenTK. This can be overriden via a commandline switch.
2013-11-03 12:13:35 +01:00
Stefanos A
e8f46c87f6
Do not override user defined output files
...
The generator will now change the default output files to match its
bindings (e.g. GL vs ES), but the user is now able to override this
option.
2013-11-03 01:27:10 +01:00
Stefanos A.
e1f064b634
Updated IBind implementations to avoid singletons
...
IBind implementations must now store explicit references to Settings,
GLTypes and CSTypes instances. This allows us to use multiple
configurations in the same process.
2013-11-01 09:25:31 +01:00
Stefanos A.
a3bd227e20
Cleaned up Generator class tree
...
This significantly reduces the amount of duplicated code between
Generator implementations.
2013-10-31 00:18:07 +01:00
the_fiddler
5f4487e87b
Added support for different per-language typemaps.
2011-12-02 13:12:53 +00:00
the_fiddler
b67f479c6c
* Main.cs:
...
* ES/ESGenerator.cs: Improved handling of default namespace to avoid
clash with user overrides.
2010-12-05 02:19:47 +00:00
the_fiddler
0eef1c3629
Saner handling of various settings.
...
Improved C++ spec writer (still needs a lot of work).
2010-12-03 12:06:36 +00:00
the_fiddler
58bebc8315
Fixed handling of output path.
2010-12-03 09:42:12 +00:00
the_fiddler
2dd61c6afd
Moved overrides file to Settings class.
2010-12-03 09:02:55 +00:00
the_fiddler
c3bfa7dc9a
Moved output filenames to Settings class.
2010-12-02 21:58:49 +00:00
the_fiddler
0ce332b318
Refactored spec reading / writing functionality into its own classes.
...
Removed legacy spec reader.
2010-12-02 21:36:05 +00:00
the_fiddler
c57853abb6
Resolved token conflicts in favor of tokens without reference.
2010-11-19 11:29:02 +00:00
the_fiddler
4d49dc26fc
Read deprecated attribute.
2010-10-13 23:06:50 +00:00
the_fiddler
137818d10c
Moved enum, constant, delegate and function transformations to EnumProcessor and FuncProcessor respectively.
...
Removed global enum, delegate and function collections.
Simplified loading process and removed global Initialize() methods.
Read "count" attributes for function parameters in overrides.xml.
Disabled wgl/glx/glu generators.
Removed large amounts of stale code.
2010-10-13 21:41:06 +00:00
the_fiddler
745dae3dbe
Added support for token overrides.
2010-10-12 16:41:21 +00:00
the_fiddler
88e6aceae0
Synced trunk with 1.0 branch.
2010-10-02 18:52:34 +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
239d98e860
Added distinct /overrides/add and /overrides/replace elements.
...
Added check for the existence of override elements before trying to use them (avoids potential null reference exception).
Regenerated bindings using the latest version of the generator.
2009-10-17 21:49:35 +00:00
the_fiddler
6d2c0be7b3
Support adding new enum definitions through overrides.xml.
2009-10-14 22:50:25 +00:00
the_fiddler
92de857809
* ES/ESGenerator.cs: Set enum Type property.
...
* Structures/Enum.cs: Added enum Type property.
Removed Enum(string) constructor in favor of C# 3.0 syntax (new Enum()
{ Name = ... }).
2009-10-09 05:48:10 +00:00
the_fiddler
d6c4c801e1
Fixed line endings and set svn:eol-style to native and svn:mime-type to text/plain for .cs files.
2009-09-03 19:01:11 +00:00
the_fiddler
924ec8179e
* ES/ESGenerator.cs: Changed default output namespace to 'GL'.
2009-08-26 07:52:58 +00:00
the_fiddler
beac0d41d1
Applied Jonathan's patch for output directories.
2009-08-25 15:46:22 +00:00
the_fiddler
43e0e2c5e5
Applied Barlog's 02_Bind_2172_ShortenQualifierReferences patch.
2009-08-21 20:28:14 +00:00
the_fiddler
c487a382e1
Applied Barlog's refactoring patch for using directives.
2009-08-17 12:28:22 +00:00
the_fiddler
cdde2893f6
Added support for enum overrides.
...
Enabled enum overrides in the CL and ES generators.
Function parameters now follow enum overrides (for example, if function Foo takes enum Bar and enum Bar is overriden to Baz, this change will be reflected on function Foo).
Changed default CLGenerator settings to not generate debug helpers.
2009-08-11 14:12:20 +00:00
the_fiddler
ab26b80e2d
Modified Type.Pointer property to be an integer instead of a boolean.
...
Improved handling of string arrays.
Added handling of flow direction to ESGenerator and Delegate.TranslateParameters().
Moved FlowDirection enum outside of Parameter class.
2009-07-15 22:33:26 +00:00
the_fiddler
92374cff09
Renamed GlesGenerator.cs to ESGenerator.cs.
...
Minor changes to match the new xml specs (the root node is now 'signatures').
2009-07-15 14:59:10 +00:00