mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Shaun White Snowboarding: Use compat flag to eliminate a readback per frame
Should be a good performance improvement. Just another case of a game copying a framebuffer to RAM, then texturing directly from it.
This commit is contained in:
1 parent
59352bd78f
commit
63fdb99ca2
2 files changed
+9
No files matched your search
@@ -1784,6 +1784,8 @@ bool FramebufferManagerCommon::NotifyBlockTransferBefore(u32 dstBasePtr, int dst
|
||||
int srcHeight = height;
|
||||
int dstWidth = width;
|
||||
int dstHeight = height;
|
||||
|
||||
// This looks at the compat flags BlockTransferAllowCreateFB*.
|
||||
FindTransferFramebuffers(dstBuffer, srcBuffer, dstBasePtr, dstStride, dstX, dstY, srcBasePtr, srcStride, srcX, srcY, srcWidth, srcHeight, dstWidth, dstHeight, bpp);
|
||||
|
||||
if (dstBuffer && srcBuffer) {
|
||||
|
||||
Reference in new issue
Block a user