mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-30 22:25:40 +00:00
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.
20 lines
657 B
C#
20 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();
|
|
}
|
|
}
|