Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU: Always update size when shrinking framebuffers #17314

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

unknownbrackets
Copy link
Collaborator

@unknownbrackets unknownbrackets commented Apr 20, 2023

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
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