mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
025e909773
Also uses the Initialize() method to make the context current.
25 lines
515 B
C++
25 lines
515 B
C++
// Copyright 2014 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include "Common/GL/GLInterface/EGL.h"
|
|
#include "Common/GL/GLX11Window.h"
|
|
|
|
class GLContextEGLX11 final : public GLContextEGL
|
|
{
|
|
public:
|
|
~GLContextEGLX11() override;
|
|
|
|
void Update() override;
|
|
|
|
protected:
|
|
EGLDisplay OpenEGLDisplay() override;
|
|
EGLNativeWindowType GetEGLNativeWindow(EGLConfig config) override;
|
|
|
|
std::unique_ptr<GLX11Window> m_render_window;
|
|
};
|