summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/GLInterface/EGLX11.h
blob: 15d37ae87f087b544fb93a31824dae1a92b0fad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <X11/Xlib.h>

#include "VideoBackends/OGL/GLInterface/EGL.h"
#include "VideoBackends/OGL/GLInterface/X11_Util.h"

class cInterfaceEGLX11 : public cInterfaceEGL
{
private:
	cX11Window XWindow;
	Display *dpy;
protected:
	EGLDisplay OpenDisplay() override;
	EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) override;
	void ShutdownPlatform() override;
};