mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
GLContext: Use host connection
This also removes the need for a sleeping event thread.
This commit is contained in:
parent
1d827a5223
commit
9c57a98723
18 changed files with 68 additions and 97 deletions
|
@ -23,12 +23,12 @@ public:
|
|||
int GetWidth() const { return m_width; }
|
||||
int GetHeight() const { return m_height; }
|
||||
|
||||
void UpdateDimensions();
|
||||
|
||||
static std::unique_ptr<GLX11Window> Create(Display* display, Window parent_window,
|
||||
XVisualInfo* vi);
|
||||
|
||||
private:
|
||||
void XEventThread();
|
||||
|
||||
Display* m_display;
|
||||
Window m_parent_window;
|
||||
Colormap m_color_map;
|
||||
|
@ -36,6 +36,4 @@ private:
|
|||
|
||||
int m_width;
|
||||
int m_height;
|
||||
|
||||
std::thread m_event_thread;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue