mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Renderer: Handle resize events on-demand instead of polling
We now differentiate between a resize event and surface change/destroyed event, reducing the overhead for resizes in the Vulkan backend. It is also now now safe to change the surface multiple times if the video thread is lagging behind.
This commit is contained in:
@ -23,7 +23,7 @@ signals:
|
||||
void Closed();
|
||||
void HandleChanged(void* handle);
|
||||
void StateChanged(bool fullscreen);
|
||||
void SizeChanged();
|
||||
void SizeChanged(int new_width, int new_height);
|
||||
|
||||
private:
|
||||
void HandleCursorTimer();
|
||||
|
Reference in New Issue
Block a user