VideoBackendBase: Do save state logic on the GPU thread

This commit is contained in:
Stenzek
2019-06-29 18:35:12 +10:00
parent a25a4e0708
commit b26bb0605b
7 changed files with 40 additions and 30 deletions

View File

@ -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;
};
};