mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:25:37 +00:00
95318a8366
X11 and Windows GLControl and GLNative implementation now use IGLContext interfaces instead of direct X11GLContext and WinGLContext. Decouples the two (good!). Updated all Native, Control, Context classes to use the new interfaces.
19 lines
552 B
C#
19 lines
552 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
/// <summary>
|
|
/// Provides methods to
|
|
/// </summary>
|
|
public interface IMutableWindowInfo : IWindowInfo
|
|
{
|
|
IWindowInfo GetInfoFrom(System.Windows.Forms.Control control);
|
|
IWindowInfo GetInfoFrom(System.Windows.Forms.NativeWindow window);
|
|
IWindowInfo GetInfoFrom(OpenTK.GameWindow window);
|
|
IWindowInfo GetInfoFrom(IWindowInfo info);
|
|
void CopyInfoFrom(IWindowInfo info);
|
|
}
|
|
}
|