mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
VideoCommon: Update EFB peek cache on draw done and tokens
Massively improves performance in Mario Galaxy on Android.
This commit is contained in:
parent
c196c47e81
commit
779fe13e62
5 changed files with 125 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue