Commit graph

1804 commits

Author SHA1 Message Date
the_fiddler
ced435c072 Create the WinGLControl unconditionally in the constructor. Construction/destruction is done lazily when the actual GLControl handle is created/destroyed. 2009-09-02 22:55:51 +00:00
the_fiddler
9d3561dc4e Merged nativewindow branch to trunk. 2009-09-02 13:36:34 +00:00
the_fiddler
ad714d3f4c * GLControl.cs: Removed call to CreateControl from the GLControl constructor. The GLControl is now constructed lazily, as regular UserControls do. Fixes issue [#1071]: "Not firing Load event for GLControl." 2009-09-02 12:06:41 +00:00
the_fiddler
7be5bc9648 * GLControl.cs: Delayed creation of IGLControl implementation until
the OnHandleCreated event.

* X11GLControl.cs: Removed unused Control field.
Added checks for null parameters.
2009-09-02 12:00:44 +00:00
the_fiddler
da8355de48 * ES/ESGenerator.cs: Changed default output namespace to 'GL'. 2009-08-26 07:52:58 +00:00
the_fiddler
e0d33e995d * Main.cs: * Main.cs: Fixed a potential index out of range exception
when setting dirName (output path).
2009-08-26 07:52:35 +00:00
the_fiddler
08bc033ff0 Fixed default input and output paths now that the compiled assembly is placed into Binaries/Generator/[Debug|Release] instead of Binaries/[Debug|Release]. 2009-08-26 07:51:16 +00:00
the_fiddler
3081d38199 * GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial. 2009-08-25 23:06:20 +00:00
the_fiddler
d09c341dc5 Applied Barlog's "arrange this qualifier" patch. 2009-08-25 15:59:57 +00:00
the_fiddler
ccc4f5291b Applied Jonathan's patch for output directories. 2009-08-25 15:46:22 +00:00
the_fiddler
6dcfb9ed3b Removed Build folder. 2009-08-25 15:39:20 +00:00
the_fiddler
501e690c85 Changed default namespace to OpenTK.Examples. 2009-08-25 15:38:50 +00:00
the_fiddler
bdb052201d Removed OpenTK.GLControl.csproj - this is generated by Build.exe. 2009-08-25 15:38:27 +00:00
the_fiddler
20f3135f2c Updated ignored files. 2009-08-25 15:36:40 +00:00
the_fiddler
f285573885 Added QuickStart project. 2009-08-25 15:35:42 +00:00
the_fiddler
a3538b59b4 Simplified build and usage instructions. Moved Instructions.txt to documentation folder. 2009-08-25 14:46:01 +00:00
the_fiddler
c4d6f56511 Major cleanup. Removed dead code. Removed obsolete targets (MonoDevelop 1, SharpDevelop 1). Added new project for Bind and Converter. Added new QuickStart project. Added Prebuild and the various projects as embedded resources. 2009-08-25 14:36:19 +00:00
the_fiddler
416ffadf6f Moved Build.exe to project root. 2009-08-25 14:32:58 +00:00
the_fiddler
37f5c99d58 * DesktopGraphicsContext.cs: Removed unecessary using directives. 2009-08-25 10:36:46 +00:00
the_fiddler
b5244f22c2 Added EmbeddedGraphicsContext as the foundation of all ES context implementations and modified EglContext to inherit from this. 2009-08-25 10:36:14 +00:00
the_fiddler
2695db5b79 * GeometryShader.cs: Changed the number of output vertices so that output_vertices * num_varying_components is not larger than MaxGeometryTotalOutputComponents. Moved ProgramParameter calls before LinkProgram. 2009-08-25 09:33:01 +00:00
the_fiddler
63314b0f82 * X11GLContext.cs: Remove context field in favor of GraphicsContextBase.Handle. Fixes issue 1121: "GraphicsContext fails with KeyNotFoundException on SVN trunk". 2009-08-25 09:03:19 +00:00
the_fiddler
41f4adb09e Applied Barlog's 02_Bind_2172_ShortenQualifierReferences patch. 2009-08-21 20:28:14 +00:00
the_fiddler
6581d66007 Suppressed "Example Browser not ready" message box. 2009-08-20 22:16:11 +00:00
the_fiddler
483ce0e533 Added pokemoen's Geometry Shader sample. 2009-08-20 22:15:54 +00:00
the_fiddler
7363110f7e Do not trim 's' from methods ending in "IDs". 2009-08-20 21:38:23 +00:00
the_fiddler
ecb70f9fd3 Fixed issue 1119: "[Compute] 'CL.GetPlatformIDs' missing 's'". 2009-08-20 21:36:57 +00:00
the_fiddler
014fc031b7 Removed stale debugging code. 2009-08-20 21:35:09 +00:00
the_fiddler
c6516c2255 Moved OpenTK.GLControl to its own project. 2009-08-19 14:17:47 +00:00
the_fiddler
073109c8c7 Fixed documentation warnings.
Removed duplicate code (due to BindingsBase class).
2009-08-19 13:22:12 +00:00
the_fiddler
ed9cdeee47 Removed unused code. 2009-08-19 13:20:45 +00:00
the_fiddler
a282f44983 Marked all classes as obsolete.
Silenced all compiler warnings.
2009-08-19 13:20:41 +00:00
the_fiddler
d114762fb3 Fixed handling of resx files.
Suppressed documentation warnings (1591) on OpenTK.Compatibility.
2009-08-19 13:19:29 +00:00
the_fiddler
750b2d9431 Ensure OpenTK.Graphics.GL.LoadAll() is called in OpenTK.Compatibility. 2009-08-19 10:47:12 +00:00
the_fiddler
a7aba38fa2 Added Tao.OpenGl, Tao.OpenAl and Tao.Platform.Windows.SimpleOpenGlControl to OpenTK.Compatibility.
Added Tao Framework license information.
Updated and clarified license information.
2009-08-19 10:04:17 +00:00
the_fiddler
fb1ba33352 Applied Barlog's refactoring patch for using directives. 2009-08-17 12:28:22 +00:00
the_fiddler
f37c2fbc4f Removed all references to OpenTK.Utilities. 2009-08-17 11:09:22 +00:00
the_fiddler
1a69c8f015 Really moved TextPrinter to OpenTK.Compatibility. 2009-08-17 10:56:48 +00:00
the_fiddler
6b46659b0e Deleted OpenTK.Utilities project. 2009-08-17 10:36:38 +00:00
the_fiddler
bb49daff4c Added OpenGL|ES 2.0 sample. 2009-08-17 10:34:50 +00:00
the_fiddler
c1f41d1eb9 Moved Alut to OpenTK.Compatibility.
Moved SoundData and SoundFormat to OpenTK.Compatibility.
Moved AL and Alc classes to OpenTK.Audio.OpenAL and added the previous namespace to OpenTK.Compatibility.
Removed SoundData wrappers from AL class.
Updated samples to use the new API.
2009-08-17 10:32:20 +00:00
the_fiddler
7f970763a7 Moved GdiPlus wrappers to OpenTK.Compatibility.
Moved TextPrinter to OpenTK.Compatibility.
2009-08-17 10:29:51 +00:00
the_fiddler
192e99a6ad Disabled OpenTK.Utilities project. 2009-08-17 10:28:01 +00:00
the_fiddler
775f158269 Removed Destroy event and RegisterForDisposal method from IGraphicsContext.
Added GraphicsContextBase, which acts as the foundation of all IGraphicsContext implementations.
Added DesktopGraphicsContext, which acts as the foundation of all desktop (i.e. not ES) IGraphicsContext implementations.
Modified all IGraphicsContext implementations to inherit from GraphicsContextBase and/or DesktopGraphicsContext.
2009-08-17 10:23:16 +00:00
the_fiddler
2747869a92 Added BindingsBase class that provides a common base for all generated bindings.
Made the OpenGL and OpenGL|ES bindings non static.
Made the OpenGL and OpenGL|ES bindings inherit from BindingsBase.
2009-08-17 10:20:42 +00:00
the_fiddler
ebaf16bf8a Now use "Core" as default Settings.ImportsClass. 2009-08-17 10:15:29 +00:00
the_fiddler
b19154b9c5 Now use "Core" as default Settings.ImportsClass. 2009-08-17 10:15:22 +00:00
the_fiddler
af7175ea0a Manually check for OpenGL version. Removed TextPrinter references. 2009-08-17 09:57:43 +00:00
the_fiddler
33e90d1b97 Manually check for OpenGL extension support.
Removed TextPrinter reference.
2009-08-17 09:56:43 +00:00
the_fiddler
48973cdebc Manually check OpenGL version. 2009-08-17 09:56:16 +00:00