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

[macOS] Fix uncapped frame rate for windows in the non-active workspaces. #79572

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Jul 17, 2023

Fixes #79569

With this change, windows in non-active workspaces should act the same way as minimized windows (frame rate caped by application/run/low_processor_mode_sleep_usec - 144 fps by default).

No idea if there's any way to force proper vsync for non-visibly windows (probably not since window it's not on the specific screen).

@bruvzg bruvzg requested a review from a team as a code owner July 17, 2023 07:33
@Calinou Calinou added cherrypick:4.0 cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release labels Jul 17, 2023
@Calinou Calinou added this to the 4.2 milestone Jul 17, 2023
@YuriSizov YuriSizov merged commit ec66c53 into godotengine:master Jul 18, 2023
13 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@YuriSizov
Copy link
Contributor

Cherry-picked for 4.1.2.

@YuriSizov YuriSizov removed the cherrypick:4.1 Considered for cherry-picking into a future 4.1.x release label Aug 31, 2023
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.

V-Sync doesn't limit FPS when switching virtual desktops
4 participants