diff options
| author | Robin Kertels <robin.kertels@gmail.com> | 2022-09-26 23:41:56 +0200 |
|---|---|---|
| committer | Robin Kertels <robin.kertels@gmail.com> | 2022-10-01 18:08:38 +0200 |
| commit | 779fe13e62e6c0e9d591f2cb33d00a89191dd6a6 (patch) | |
| tree | 5f7031e7f6e5ab8cb022ba05692079fb94551600 /Source/Core/VideoCommon/Fifo.cpp | |
| parent | c196c47e8119de714124d0720f0aead7d9b3cca6 (diff) | |
VideoCommon: Update EFB peek cache on draw done and tokens
Massively improves performance in Mario Galaxy on Android.
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 5b31589e82..faea454147 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -26,6 +26,7 @@ #include "VideoCommon/CPMemory.h" #include "VideoCommon/CommandProcessor.h" #include "VideoCommon/DataReader.h" +#include "VideoCommon/FramebufferManager.h" #include "VideoCommon/OpcodeDecoding.h" #include "VideoCommon/VertexLoaderManager.h" #include "VideoCommon/VertexManagerBase.h" @@ -415,6 +416,7 @@ void RunGpuLoop() // The fifo is empty and it's unlikely we will get any more work in the near future. // Make sure VertexManager finishes drawing any primitives it has stored in it's buffer. g_vertex_manager->Flush(); + g_framebuffer_manager->RefreshPeekCache(); } }, 100); |
