Commit graph

23 commits

Author SHA1 Message Date
the_fiddler 2cf543d988 MacOS may have an X server installed. Prefers the native Carbon/Quartz platform driver over X in this case (same issue as rev. 2465). 2009-11-06 18:51:06 +00:00
the_fiddler e2b3bda885 Return proper CarbonWindowInfo instance instead of DummyWindowInfo. 2009-11-06 15:33:53 +00:00
the_fiddler ac0930d109 Updated deprecation message with specific instructions on how to solve the issue. 2009-11-04 20:47:06 +00:00
the_fiddler 8624ec0d1a Updated version numbers in preparation for release. 2009-11-01 23:07:38 +00:00
the_fiddler be4e56a7a2 Do not force control to create its handle in Resize event (the designer places code that raises this event before the rest of the events are hooked). Instead, suppress the event and raise it once the handle is actually created. 2009-10-22 17:56:55 +00:00
the_fiddler 08f40b7c8c Bumped version numbers and updated documentation in preparation of 0.9.9-3 release. 2009-10-21 13:35:29 +00:00
the_fiddler ac404e35fb * GLControlFactory.cs: More defensive checks for null GraphicsModes.
* GLControl.cs: More defensive checks for null GraphicsModes.
Set flags, context version and GraphicsMode before calling
  InitializeComponents(), as the latter might cause the context to be
  created (and we need this information before creating the context).
  Fixes ArgumentNullException on Linux.
2009-10-19 17:38:16 +00:00
the_fiddler c54d4d180b Added workaround for the "Resize event called before GraphicsContext is ready" issue. 2009-10-15 14:52:57 +00:00
the_fiddler 6a0b75d67c Clarified GrabScreenshot() ObsoleteAttribute message. 2009-10-15 14:15:26 +00:00
the_fiddler 0798c8d45c Setting VSync mode should not force control creation. Fixes issue [#1071]: "Not firing Load event for GLControl." 2009-09-18 15:46:00 +00:00
the_fiddler ba53b6851d * GLControl.cs: Added a public getter for the IWindowInfo of the GLControl. 2009-09-10 14:05:59 +00:00
the_fiddler 8e9045ad54 Added AllowPartialTrustedCallers attribute. 2009-09-06 14:19:52 +00:00
the_fiddler 2dbea66a1f Updated in preparation of 0.9.9-2 release. 2009-09-05 18:35:20 +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 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 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 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 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 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 f5358ca13c Removed OpenTK.GLControl.csproj - this is generated by Build.exe. 2009-08-25 15:38:27 +00:00
the_fiddler d72a75f2fc Moved OpenTK.GLControl to its own project. 2009-08-19 14:17:47 +00:00