mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-25 01:01:37 -05:00
GLContext: Get size using eglQuerySurface()
Also no longer assumes that a nullptr display is not headless (needed for fbdev)
This commit is contained in:
@@ -34,15 +34,14 @@ protected:
|
||||
virtual EGLDisplay OpenEGLDisplay();
|
||||
virtual EGLNativeWindowType GetEGLNativeWindow(EGLConfig config);
|
||||
|
||||
bool Initialize(void* display_handle, void* window_handle, bool stereo, bool core) override;
|
||||
bool Initialize(const WindowSystemInfo& wsi, bool stereo, bool core) override;
|
||||
|
||||
bool CreateWindowSurface();
|
||||
void DestroyWindowSurface();
|
||||
void DetectMode(bool has_handle);
|
||||
void DetectMode();
|
||||
void DestroyContext();
|
||||
|
||||
void* m_host_display = nullptr;
|
||||
void* m_host_window = nullptr;
|
||||
WindowSystemInfo m_wsi = {};
|
||||
|
||||
EGLConfig m_config;
|
||||
bool m_supports_surfaceless = false;
|
||||
|
||||
Reference in New Issue
Block a user