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

Remove extra box in OnlinePlayBackgroundScreen #29467

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

EVAST9919
Copy link
Contributor

Drawing this full-screen box is one of the most expensive draw calls in this scene (at least with my hardware).
Since its colour is just black with opacity, we can have the exact same effect by just using Colour property directly (with other colours that wouldn't be the case, so we are lucky here, I guess)

master pr
master pr
master pr

(notice the exact same bg colour and casual +100 fps)

Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems okay

@smoogipoo smoogipoo merged commit ba4956a into ppy:master Aug 17, 2024
9 of 13 checks passed
@EVAST9919 EVAST9919 deleted the online-bg-box branch August 17, 2024 06:36
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.

2 participants