Skip to content

GPU: Always update size when shrinking framebuffers - #17314

Merged
hrydgard merged 1 commit into
hrydgard:masterfrom
unknownbrackets:framebuf-shrink
Apr 20, 2023
Merged

hrydgard merged 1 commit into
hrydgard:masterfrom
unknownbrackets:framebuf-shrink

Conversation

@unknownbrackets

@unknownbrackets unknownbrackets commented Apr 20, 2023 •

Copy link
Copy Markdown
Collaborator

Previously, we only updated size when we didn't need to recreate. This would sometimes cause it to recreate over and over, hurting perf.

I think it's just a bug that we don't do this essentially only for framebuffers that are only rendered using throughmode and resize down after 5 frames. It's probably uncommon enough we just haven't seen it.

Fixes #16915.

-[Unknown]

Previously, we only updated size when we didn't need to recreate.
This would sometimes cause it to recreate over and over, hurting perf.
@hrydgard
hrydgard enabled auto-merge April 20, 2023 07:12
@hrydgard hrydgard added this to the v1.15.0 milestone Apr 20, 2023
@hrydgard

Copy link
Copy Markdown
Owner

I changed "Should help" to "Fixes", because it does.

Also tried a couple of usual suspects, not seeing issues. Logically I think this should be fine.

@hrydgard
hrydgard disabled auto-merge April 20, 2023 07:31
@hrydgard
hrydgard merged commit 0d20da6 into hrydgard:master Apr 20, 2023
fengjixuchui added a commit to fengjixuchui/ppsspp that referenced this pull request Apr 20, 2023
Merge pull request hrydgard#17314 from unknownbrackets/framebuf-shrink
@unknownbrackets
unknownbrackets deleted the framebuf-shrink branch April 20, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Godfather - subtitles flicker

2 participants