8000 Replacement textures: Don't spend frame time waiting for a texture to be finished by hrydgard · Pull Request #20520 · hrydgard/ppsspp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Replacement textures: Don't spend frame time waiting for a texture to be finished #20520

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

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

hrydgard
Copy link
Owner

This is some old logic that I don't think actually makes sense.

It's better to finish rendering the frame and have the texture ready for the next one, without wasting CPU. Even if we have a set frametime budget, it's too costly to waste it waiting for a single texture.

However, if the user set their texture load speed to "Instant", that means they never want to see any original textures ever. So in that case, we do still wait.

Fixes #20519

… be finished

It's better to finish rendering the frame and have the texture ready for
the next one, without wasting CPU.

However, if the user set their texture load speed to "Instant", that
means they never want to see any original textures. So in that case, we
do still wait.

Fixes #20519
@hrydgard hrydgard added this to the v1.19.2 milestone Jun 13, 2025
@hrydgard hrydgard merged commit 8dced03 into master Jun 13, 2025
21 checks passed
@hrydgard hrydgard deleted the texture-replacement-perf branch June 13, 2025 22:03
hrydgard added a commit that referenced this pull request Jun 15, 2025
Replacement textures: Don't spend frame time waiting for a texture to be finished
hrydgard added a commit that referenced this pull request Jun 15, 2025
Replacement textures: Don't spend frame time waiting for a texture to be finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Texture replacement: Unexpected performance loss in Tekken 6
1 participant
0