Added missing TextureEnvMode.Replace token. Fixes issue [#2791]: "TextureEnvMode.Replace missing".

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3111 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
GraphicsMode was not set when initializing a DummyGLContext with an explicit handle. Corrected now.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3112 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Process overrides to Constant.Reference.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3113 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Ensured function names are trimmed using the same code as documentation and function parameters. Improved trimming for functions with '64' suffices.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3114 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Further improvements to suffix trimming regexes. Now matches GetInteger(ui)64 and does not match functions ending in "Coord", "Attrib", "Access" and more.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3115 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Removed invalid TextureParameterName.Red token. Fixes issue [#2789]: "TextureParameterName.Red".

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3116 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Added conditional compilation and the necessary classes to compile OpenTK without referencing System.Drawing.dll. To build without System.Drawing, add "MINIMAL" to the conditional compilation symbols. Note that this is an experimental feature that will result in a source- and binary-incompatible dll.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3117 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Avoid using the global namespace in the MINIMAL configuration, as it confuses the Mono compiler.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3118 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Added minimal SystemEvents definition to allow compilation on mobile devices.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3119 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Use Debug.WriteLine instead of Debug.Print on a single-parameter string. Fixes compilation on mobile devices.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3120 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Use new DisplayDevice.GetDisplay() interface instead of obsolete AvailableDisplays.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3121 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Added overloads for Gen* and Delete* functions with single objects as parameters.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3122 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Use singular form for single-object overloads, because plural looks weird when generating a single name.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3123 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Minor documentation updates.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3125 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Fixed incorrect reference in GetDisplay() documentation.

git-svn-id: https://svn.code.sf.net/p/opentk/code/trunk@3126 ebc5dd9b-fb1d-0410-b6f8-d24c324e9604
Exclude code MonoTouch doesn't need / can't use
Use fewer indirections, which speeds up startup significantly
Back out r2377 for iOS, it's breaking source compatibility
Add hack to parse apple's gl headers
Change FrameEventArgs so that the Time property can be 0 (which it will be during the first event).