Add ClearAll to rasterizer cache for fully wiping the cache on save/load

This commit is contained in:
James Rowe
2020-02-13 17:42:11 +08:00
committed by zhupengfei
parent 3e34ad6890
commit 55c75b5e3e
9 changed files with 57 additions and 4 deletions
+3
View File
@@ -55,6 +55,9 @@ public:
/// and invalidated
virtual void FlushAndInvalidateRegion(PAddr addr, u32 size) = 0;
/// Removes as much state as possible from the rasterizer in preparation for a save/load state
virtual void ClearAll(bool flush) = 0;
/// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0
virtual bool AccelerateDisplayTransfer(const GPU::Regs::DisplayTransferConfig& config) {
return false;