mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
d3d: Cache offscreen surfaces.
This commit is contained in:
1 parent
ff3c5075fa
commit
8c4c9e554e
3 files changed
+63
-13
No files matched your search
@@ -903,7 +903,7 @@ void FramebufferManager::BlitFramebufferDepth(VirtualFramebuffer *sourceframebuf
|
||||
}
|
||||
|
||||
FBO *FramebufferManager::GetTempFBO(u16 w, u16 h, FBOColorDepth depth) {
|
||||
u32 key = ((u64)depth << 32) | (w << 16) | h;
|
||||
u64 key = ((u64)depth << 32) | (w << 16) | h;
|
||||
auto it = tempFBOs_.find(key);
|
||||
if (it != tempFBOs_.end()) {
|
||||
it->second.last_frame_used = gpuStats.numFlips;
|
||||
|
||||
Reference in new issue
Block a user