2014-08-09 14:31:27 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-08-09 14:31:27 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
|
2015-09-18 16:40:00 +00:00
|
|
|
#include "Common/GL/GLInterface/EGL.h"
|
|
|
|
#include "Common/GL/GLInterface/X11_Util.h"
|
2014-08-09 14:31:27 +00:00
|
|
|
|
|
|
|
class cInterfaceEGLX11 : public cInterfaceEGL
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
cX11Window XWindow;
|
|
|
|
Display *dpy;
|
|
|
|
protected:
|
|
|
|
EGLDisplay OpenDisplay() override;
|
|
|
|
EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) override;
|
|
|
|
void ShutdownPlatform() override;
|
|
|
|
};
|