mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Refactoring and cleanup of GLInterface (now GLContext)
This commit is contained in:
@ -7,17 +7,17 @@
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "Common/GL/GLInterface/EGL.h"
|
||||
#include "Common/GL/GLInterface/X11_Util.h"
|
||||
#include "Common/GL/GLX11Window.h"
|
||||
|
||||
class cInterfaceEGLX11 : public cInterfaceEGL
|
||||
class GLContextEGLX11 : public GLContextEGL
|
||||
{
|
||||
private:
|
||||
cX11Window XWindow;
|
||||
Display* dpy;
|
||||
public:
|
||||
~GLContextEGLX11() override;
|
||||
|
||||
protected:
|
||||
EGLDisplay OpenDisplay() override;
|
||||
EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window,
|
||||
EGLConfig config) override;
|
||||
void ShutdownPlatform() override;
|
||||
EGLDisplay OpenEGLDisplay() override;
|
||||
EGLNativeWindowType GetEGLNativeWindow(EGLConfig config) override;
|
||||
|
||||
Display* m_display = nullptr;
|
||||
std::unique_ptr<GLX11Window> m_x_window;
|
||||
};
|
||||
|
Reference in New Issue
Block a user