mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 20:25:58 +00:00
Add back X11 support to EGL
Refactor the EGL backend to provide a platform separation here, which is better abstracted away than the old EGL/X11 implementation.
This commit is contained in:
parent
e39543b963
commit
271efb450c
8 changed files with 134 additions and 23 deletions
|
@ -12,11 +12,15 @@
|
|||
|
||||
class cInterfaceEGL : public cInterfaceBase
|
||||
{
|
||||
private:
|
||||
protected:
|
||||
void DetectMode();
|
||||
EGLSurface egl_surf;
|
||||
EGLContext egl_ctx;
|
||||
EGLDisplay egl_dpy;
|
||||
|
||||
virtual EGLDisplay OpenDisplay() = 0;
|
||||
virtual EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) = 0;
|
||||
virtual void ShutdownPlatform() = 0;
|
||||
public:
|
||||
void SwapInterval(int Interval);
|
||||
void Swap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue