mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-09 02:55:56 +00: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:
parent
5baf3bbe2e
commit
de632fc9c8
19 changed files with 364 additions and 350 deletions
|
@ -26,7 +26,7 @@ public:
|
|||
void SetRenderHandle(void* handle);
|
||||
void SetRenderFocus(bool focus);
|
||||
void SetRenderFullscreen(bool fullscreen);
|
||||
void UpdateSurface();
|
||||
void ResizeSurface(int new_width, int new_height);
|
||||
|
||||
signals:
|
||||
void RequestTitle(const QString& title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue