ThVoss
ThVoss
Hi, just as an addition to this issue: If you add multiple controls to to your application, which are used at the same time, even the DispatcherPriority.Render might cause the...
Sure, you can find that Setting in SharpGL.WPF.OpenGLControl.cs in the OnApplyTemplate method. Just Change: timer = new DispatcherTimer(DispatcherPriority.Render); to: timer = new DispatcherTimer(DispatcherPriority.ApplicationIdle); or: timer = new DispatcherTimer(DispatcherPriority.SystemIdle); Cheers Thomas
Hi Dave, the changes to the OpenGL.Create and RenderContext.Create methods are fairly simple (Step1). The rest see "Step 2". Step 1 I overloaded the methods and added a sharing render...
Hi, no Problem. I will copy it into the comment as others might want to have it as well and I don't have any permanent download site. So let's start...
This is the continued commend from my last post: SharpGL.OpenGL.cs: ``` c# /// /// Creates the OpenGL instance. /// /// The OpenGL version requested. /// Type of the render context....
SharpGL.RenderContextProviders.IRenderContextProvider: ``` c# /// /// Defines the contract for a type that can provide an OpenGL render context. /// public interface IRenderContextProvider : IDisposable { /// /// Creates the render...
And as an example for the render context Providers: FBORenderContextProvider: ``` c# /// /// Creates the render context provider. Must also create the OpenGL extensions. /// /// The desired OpenGL...
And the create method is handed even further down the inheritance: HiddenWindowRenderContextProvider: ``` c# /// /// Creates the render context provider. Must also create the OpenGL extensions. /// /// The...
And last but not least: RenderContextProvider: ``` c# /// /// Creates the render context provider. Must also create the OpenGL extensions. /// /// The desired OpenGL version. /// The OpenGL...
Hi, I've found the similar issue and suggested a slightly different solution on codeplex: https://sharpgl.codeplex.com/discussions/561740 The advantage of using a GC Thread which blocks until GC is done is that...