Commit graph

2527 commits

Author SHA1 Message Date
the_fiddler
46d7abc467 Fixed eglGetProcAddress entry point (was eglCopyBuffer). 2011-05-07 18:52:47 +00:00
the_fiddler
cf4619fe6d Added PFD_SUPPORT_COMPOSITION on Vista and higher, to avoid inadvertently disabling Aero.
Allow non-accelerated formats when all accelerated ones fail. Fixes issue [#2224]: "Getting GraphicsModeException from WinGraphicsMode constructor".
2011-02-09 00:23:43 +00:00
the_fiddler
4595d424f0 Added missing double-precision radian-to-degree conversion routines. 2011-02-08 20:10:42 +00:00
the_fiddler
36913ab2bb Add DrawToWindow and SupportOpenGL flags to GetModesARB and check whether Wgl.Arb.ChoosePixelFormat() worked correctly (to avoid undefined results). 2011-01-18 22:34:06 +00:00
the_fiddler
5d1777ffab Cleaned up license information. 2011-01-18 11:40:49 +00:00
the_fiddler
263f33ca5b Added new TextRendering sample. 2011-01-18 11:15:49 +00:00
the_fiddler
3d5cc0e39a Added pidb files to the ignore list. 2011-01-18 10:07:04 +00:00
the_fiddler
c5e9cea43b * Egl.cs:
* EglContext.cs:
* EglGraphicsMode.cs: Added a parameter to indicate which ES renderer
  version we wish to use. Fixes issue [#2247]: "CreateEGLGraphicsMode
  should select the correct renderer".
2011-01-18 00:29:38 +00:00
the_fiddler
b62effc488 * EglWindowInfo.cs: Corrected error checking for
CreateWindowSurface. Fixes issue [#2248]: "EGL CreateWindowSurface
  function is incorrect".
2011-01-17 23:55:48 +00:00
the_fiddler
799b321375 * EglGraphicsMode.cs:
Removed unused Egl.GetConfigs call.
2011-01-14 10:28:37 +00:00
the_fiddler
0c27512d5f * EglGraphicsMode.cs:
Added missing RENDERABLE_TYPE bits to EGL mode selection. This is
required by the OpenGL ES spec.
2011-01-14 01:57:59 +00:00
the_fiddler
23f96f4d83 * Configuration.cs:
Reverted OpenTK.dll.config extraction on Mono, since it doesn't (and
unfortunately cannot) work. The config file should be bundled with the
application.
2010-12-14 11:53:29 +00:00
the_fiddler
e7aef8537c * Toolkit.cs, Configuration.cs:
Made initialization thread-safe.
2010-12-08 08:58:52 +00:00
the_fiddler
f7cce64eed * Configuration.cs:
Added missing namespace to embedded resource name. Embedded OpenTK.dll.config now loads correctly.
2010-12-08 08:06:01 +00:00
the_fiddler
3181275d1e * Configuration.cs:
Made handling of OpenTK.dll.config more robust (still doesn't work, however).
2010-12-08 08:00:44 +00:00
the_fiddler
6d1404fcdd * Main.cs, ExampleBrowser.cs:
Fixed display of debug output in the sample browser.
2010-12-08 07:51:41 +00:00
the_fiddler
fa687adceb * ExampleBrowser.cs:
Fixed support console and persistent tracing.
2010-12-08 07:43:43 +00:00
the_fiddler
184ffc19fc Add APIENTRY to allow calling convention definitions. 2010-12-07 01:26:11 +00:00
the_fiddler
9664a2a57e Use namespaces instead of structs, since C++ does not support partial structures (which are necessary for the core/compatibility split). 2010-12-06 22:32:47 +00:00
the_fiddler
fed983f51f Keep a reference to the file being read. 2010-12-06 22:32:11 +00:00
the_fiddler
b4839fd78b Improved argument parsing code. 2010-12-06 15:19:45 +00:00
the_fiddler
1db9c38ed8 Do not reuse a single StreamReader for reading signatures. Avoids issues with XPathDocument closing the stream behind our backs. 2010-12-06 14:34:16 +00:00
the_fiddler
c000fd4bb4 Synced with newest version of the binding generator: use IntPtr instead of System.IntPtr; update license text.
Reverted breaking change to Gl3Dfx* enums (the gl4 branch turned those into Gl3dfx).
2010-12-06 14:33:33 +00:00
the_fiddler
5b40433350 * XmlSpecReader.cs:
* EnumProcessor.cs:
* GL2/Generator.cs:
* FuncProcessor.cs: Fixed handling of overrides file: we now add
  signatures as requested and reset the stream after we are done
  reading the file.
2010-12-06 12:29:18 +00:00
the_fiddler
029957c03a * EnumProcessor.cs:
* FuncProcessor.cs: Corrected the XPath for signature overrides.
2010-12-06 11:53:50 +00:00
the_fiddler
1c8a0b2bda * CppSpecWriter.cs: Do not use macros to define enumerations, as
this makes debugging difficult.
2010-12-06 10:26:06 +00:00
the_fiddler
c09a6dc34b * CppSpecWriter.cs: Do not allow namespaces that start with a digit. 2010-12-06 09:52:05 +00:00
the_fiddler
b74d3339a3 * CppSpecWriter.cs: Added inclusion guards to gldefs++ header. 2010-12-06 00:50:36 +00:00
the_fiddler
d6484bd630 * CppSpecWriter.cs: Renamed output files to gldef++.
Added preprocessor macros for enum generation.
2010-12-06 00:46:23 +00:00
the_fiddler
b4a6448261 * Main.cs: Do not use "/" as a separator, because this breaks
filesystem paths on Unix.
2010-12-05 22:58:20 +00:00
the_fiddler
d542896f59 * CppSpecWriter.cs: Fixed indentation for #if-#endif directives. 2010-12-05 22:58:05 +00:00
the_fiddler
4f6de33c10 * CppSpecWriter.cs: Fixed enumeration of deprecated functions.
Fixed declaration of Init() methods.
2010-12-05 16:28:30 +00:00
the_fiddler
24bba46fa4 * CppSpecWriter.cs: Fixed namespace paths for delegate loader. 2010-12-05 16:19:49 +00:00
the_fiddler
490bb5312d * CppSpecWriter.cs: Replace String[] parameters by String*, as the
former is not valid C++ syntax.
2010-12-05 16:03:42 +00:00
the_fiddler
1d9c62b324 * CppSpecWriter.cs: Remove unnecessary transformation for namespace
separators.
2010-12-05 15:54:14 +00:00
the_fiddler
177813e47a * FuncProcessor.cs:
* Structures/Parameter.cs: Avoid qualifying IntPtr fully ((a) it's
  unnecessary, since we have "using System;" already and (b) the
  namespace qualification is not portable to C++).
2010-12-05 15:53:04 +00:00
the_fiddler
82ba7143bb * Main.cs:
* Settings.cs:
* FuncProcessor.cs:
* Structures/Type.cs:
* Structures/Constant.cs:
* Structures/Delegate.cs: Do not hardcode namespace separator to ".".
2010-12-05 15:45:23 +00:00
the_fiddler
828f0c0a8b * CppSpecWriter.cs: Fixed handling of return types in wrappers.
Removed [OutAttribute] from the header.
2010-12-05 15:33:09 +00:00
the_fiddler
a5924bb414 * CppSpecWriter.cs: FIxed handling of enum parameters.
Moved delegates to private structures.
2010-12-05 15:26:54 +00:00
the_fiddler
3594036be4 * CppSpecWriter.cs: Added definitions for GL types. 2010-12-05 11:52:51 +00:00
the_fiddler
fe37db4077 * CppSpecWriter.cs: Move 3dfx namespace to T3dfx, since namespaces
may not start with a digit.
2010-12-05 11:32:49 +00:00
the_fiddler
bb4d969dad * Main.cs:
* Settings.cs:
* Utilities.cs: Use separate keyword lists for each language.
2010-12-05 11:24:05 +00:00
the_fiddler
4e9edea02b * CppSpecWriter.cs: Fixed declaration of function pointers. Modified
to use the delegate-wrapper paradigm, instead of exposing function
  pointers directly. This way we can rely on the compiler for overload
  resolution.
2010-12-05 10:47:06 +00:00
the_fiddler
b6b1142ac5 * Specifications/License.txt: Removed #region-#endregion from the
license file, in order to make it compatible with C++.
2010-12-05 10:46:09 +00:00
the_fiddler
99e9531b1e * CppSpecWriter.cs: Defined Init() methods, declared all OpenGL
functions and fixed the formatting of the header.
2010-12-05 09:51:36 +00:00
the_fiddler
6b95ee466a * CppSpecWriter.cs: Added constructor declaration. 2010-12-05 09:08:57 +00:00
the_fiddler
9feb6a6b7c * CppSpecWriter.cs: Mark deprecated functions. 2010-12-05 08:48:44 +00:00
the_fiddler
778ddbe0e8 * CppSpecWriter.cs: Improved C++ output (still needs work). 2010-12-05 02:20:18 +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
f9365a4cc4 Merged gl4 branch into trunk 2010-12-04 21:51:40 +00:00