mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
271efb450c
Refactor the EGL backend to provide a platform separation here, which is better abstracted away than the old EGL/X11 implementation.
22 lines
511 B
C++
22 lines
511 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "DolphinWX/GLInterface/EGL.h"
|
|
#include "DolphinWX/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;
|
|
};
|