mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
VideoBackendBase: Do save state logic on the GPU thread
This commit is contained in:
parent
a25a4e0708
commit
b26bb0605b
7 changed files with 40 additions and 30 deletions
|
@ -13,6 +13,7 @@
|
|||
#include "Common/Flag.h"
|
||||
|
||||
struct EfbPokeData;
|
||||
class PointerWrap;
|
||||
|
||||
class AsyncRequests
|
||||
{
|
||||
|
@ -28,6 +29,7 @@ public:
|
|||
SWAP_EVENT,
|
||||
BBOX_READ,
|
||||
PERF_QUERY,
|
||||
DO_SAVE_STATE,
|
||||
} type;
|
||||
u64 time;
|
||||
|
||||
|
@ -64,6 +66,11 @@ public:
|
|||
struct
|
||||
{
|
||||
} perf_query;
|
||||
|
||||
struct
|
||||
{
|
||||
PointerWrap* p;
|
||||
} do_save_state;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue