Commit graph

1829 commits

Author SHA1 Message Date
the_fiddler
572baf16be Removed [Obsolete] attribute from Joysticks, Keyboard and Mouse properties until the new input API is ready. 2009-09-04 22:08:51 +00:00
the_fiddler
3f2f8e46e1 Added missing XML documentation. 2009-09-04 22:08:10 +00:00
the_fiddler
080af60867 Set disposed to true when calling Dispose() method. 2009-09-04 21:46:39 +00:00
the_fiddler
685b646efa Fixed a large number of documentation warnings. 2009-09-04 21:44:39 +00:00
the_fiddler
48008d1e6a Removed this property to maintain parity with the Matrix4 structure. 2009-09-04 21:37:53 +00:00
the_fiddler
e630b600a2 Added missing XML documentation. 2009-09-04 21:31:31 +00:00
the_fiddler
c730a706a6 Applied kvark's latest NativeWindow/GameWindow patch, which improves event handling, the shutdown sequence and documentation, while removing stale code. 2009-09-04 21:27:05 +00:00
the_fiddler
6b03992812 Added missing XML documentation and fixed invalid XML doc references.
Removed deprecated methods from IGraphicsContext.
2009-09-04 21:25:29 +00:00
the_fiddler
8b60cc2018 Made GraphicsMode.Index public, as it is necessary when extending OpenTK.
Removed OpenTK.Platform.Utilities.CreateWindowInfo and made the platform-specific CreateWindowInfo methods public (e.g. CreateX11WindowInfo).
Moved Mono Windows.Forms-specific code into X11GLControl.
Removed OpenTK.Platform.Utilities.IsIdle.
Removed obsolete methods from OpenTK.Platform.Utilities.
Marked OpenTK.Platform.Utilities.CreateGraphicsContext as obsolete (use GraphicsContext constructor instead).
Made IWindowInfo implementations private.
2009-09-04 21:11:25 +00:00
the_fiddler
c5fe1bcafd Added missing resx to DerivedGLControl. 2009-09-04 13:05:24 +00:00
the_fiddler
43ec20a3dc Use CreateRotationY instead of the deprecated RotateY. 2009-09-04 13:04:42 +00:00
the_fiddler
672daa42c7 OpenAL DllImport library should be internal, not public. 2009-09-04 13:02:44 +00:00
the_fiddler
6c5d3a90c3 Added missing Matrix4./Matrix4d.CreateRotation[XYZ] methods.
Added missing Matrix4d.CreateFromAxisAngle method.
Fixed Matrix4d constructor to take double parameters instead of float.
2009-09-04 13:02:23 +00:00
the_fiddler
e29c681f11 Add conditional compilation for assembly signature. 2009-09-04 12:45:58 +00:00
the_fiddler
8a9ee45b22 * Source/Build/Resources/OpenTK.Prebuild.xml: Added conditional
compiler define for assembly signing.

* Source/Build/Build.cs: Removed unused code.
Added check for the existence of OpenTK.snk.
Improved help and usage information.
Removed unused code.

* Build.exe: Updated to 0.9.9-2.
Added strong name.
2009-09-04 10:35:27 +00:00
the_fiddler
0a33452e76 * Source/Build/Properties/AssemblyInfo.cs:
* Source/OpenTK/Properties/AssemblyInfo.cs:
* Source/Examples/Properties/AssemblyInfo.cs:
* Source/GLControl/Properties/AssemblyInfo.cs:
* Source/Compatibility/Properties/AssemblyInfo.cs: Added
  AssemblyKeyFile and AllowPartialTrustCallers attributes.

* Source/OpenTK/Configuration.cs: Added [assemly: AssemblyKeyFile]
  attribute.
Added missing license information.
Moved [assembly: CLSCompliant] to Properies/AssemblyInfo.cs.
2009-09-04 10:34:18 +00:00
the_fiddler
29cf2bf7cf * Keyboard.cs: Disabled fixed buffer due to gmcs 2.0.1 compiler bug
(bogus CS0214) warning.
Added license information.

* Mouse.cs:
* MouseState.cs:
* MouseDevice.cs:
* MouseButton.cs:
* KeyboardState.cs:
* KeyboardDevice.cs: Added license information.

* Key.cs: Added missing LastKey enum.
2009-09-03 21:15:12 +00:00
the_fiddler
1ba91af399 * GamePad.cs:
* GamePadState.cs: Added initial implementations.
* Keyboard.cs:
* KeyboardState.cs: Added a number of public members, experimentally.
2009-09-03 20:53:48 +00:00
the_fiddler
a02e3cf4ca * GLCore.cs:
* GLDelegates.cs: Added [Obsolete] attribute to nested classes, in order to remove a large number of deprecation warnings.
2009-09-03 20:32:23 +00:00
the_fiddler
60eb0db94e Added ColorAttachmenti tokens to ReadBufferMode enum. Fixes issue [#1140]: "ColorAttachment values on ReadBufferMode". 2009-09-03 20:14:54 +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
019504f739 * enumext.spec: Added COLOR_ATTACHMENTi tokens to ReadBuffersMode enum. 2009-09-03 12:51:43 +00:00
the_fiddler
3c26795d7a * Source/GLControl/GLControl.cs: Validate internal state when public
members are accessed (issue [#1141]: "Unhandled exception in
  GlControl possible bug in rev 2207"). Throw ObjectDisposedException
  if public members are accessed after the GLControl has been
  disposed. Force the create/recreation of the control if a public
  member is called and the control handle or context does not exist.
2009-09-03 12:26:42 +00:00
the_fiddler
95c88baf3d * Source/OpenTK/Platform/Egl/EglContext.cs:
* Source/OpenTK/Graphics/GraphicsContext.cs:
* Source/OpenTK/Graphics/IGraphicsContext.cs:
* Source/OpenTK/Platform/MacOS/AglContext.cs:
* Source/OpenTK/Platform/X11/X11GLContext.cs:
* Source/OpenTK/Graphics/GraphicsContextBase.cs:
* Source/OpenTK/Platform/Windows/WinGLContext.cs:
* Source/OpenTK/Platform/Dummy/DummyGLContext.cs: Added IsDisposed
  property to IGraphicsContext and implemented in all context classes.
  Removed 'bool disposed' fields from these classes in favor of the
  new property.
2009-09-03 12:23:11 +00:00
the_fiddler
3822044e17 Removed unused code. 2009-09-02 23:02:14 +00:00
the_fiddler
babb202015 Do not call IGraphicsContextInternal.LoadAll() in design-mode. The DummyGLContext would need extensive modifications to support the runtime checks performed by this call and the extra work is not worth it. 2009-09-02 22:56:46 +00:00
the_fiddler
c3d643f2fa 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
bdb48acdcd Merged nativewindow branch to trunk. 2009-09-02 13:36:34 +00:00
the_fiddler
de2cb816f6 * 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
cd77ad6f29 * 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
924ec8179e * ES/ESGenerator.cs: Changed default output namespace to 'GL'. 2009-08-26 07:52:58 +00:00
the_fiddler
e079daa6cc * 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
f692a3c069 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
ec3ef00a4e * GeometryShaderAdvanced.cs: Committed pokemoen's advanced geometry shader tutorial. 2009-08-25 23:06:20 +00:00
the_fiddler
52744c1661 Applied Barlog's "arrange this qualifier" patch. 2009-08-25 15:59:57 +00:00
the_fiddler
beac0d41d1 Applied Jonathan's patch for output directories. 2009-08-25 15:46:22 +00:00
the_fiddler
fba220efae Removed Build folder. 2009-08-25 15:39:20 +00:00
the_fiddler
3d1cfb40dc Changed default namespace to OpenTK.Examples. 2009-08-25 15:38:50 +00:00
the_fiddler
f5358ca13c Removed OpenTK.GLControl.csproj - this is generated by Build.exe. 2009-08-25 15:38:27 +00:00
the_fiddler
efeb4c512a Updated ignored files. 2009-08-25 15:36:40 +00:00
the_fiddler
1031f0c10c Added QuickStart project. 2009-08-25 15:35:42 +00:00
the_fiddler
11f194ac73 Simplified build and usage instructions. Moved Instructions.txt to documentation folder. 2009-08-25 14:46:01 +00:00
the_fiddler
47f57b6591 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
a0efdb25b5 Moved Build.exe to project root. 2009-08-25 14:32:58 +00:00
the_fiddler
0ab4a76b6f * DesktopGraphicsContext.cs: Removed unecessary using directives. 2009-08-25 10:36:46 +00:00
the_fiddler
0089e89202 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
5018a2113b * 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
8de1f8b0c8 * 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
43e0e2c5e5 Applied Barlog's 02_Bind_2172_ShortenQualifierReferences patch. 2009-08-21 20:28:14 +00:00
the_fiddler
7970282d7b Ensured System.Windows.Forms.NativeWindow is resolved correctly.
Renamed OpenTK.NativeWindow0 to OpenTK.NativeWindow.
2009-08-21 19:34:20 +00:00