4a2a223751
Added OpenGL 3.0 support for GLX contexts. Added support for creating dummy contexts (useful if you are creating contexts from an external library). Cleaned up unused and stale code.
19 lines
657 B
C#
19 lines
657 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface IPlatformFactory
|
|
{
|
|
INativeGLWindow CreateGLNative();
|
|
|
|
IGLControl CreateGLControl(OpenTK.Graphics.GraphicsMode mode, GLControl owner);
|
|
|
|
OpenTK.Graphics.IDisplayDeviceDriver CreateDisplayDeviceDriver();
|
|
|
|
OpenTK.Graphics.IGraphicsContext CreateGLContext(OpenTK.Graphics.GraphicsMode mode, IWindowInfo window, OpenTK.Graphics.IGraphicsContext shareContext, bool DirectRendering, int major, int minor, OpenTK.Graphics.GraphicsContextFlags flags);
|
|
|
|
OpenTK.Graphics.IGraphicsMode CreateGraphicsMode();
|
|
}
|
|
}
|