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

Add support for frame throttling on macOS with winit #4025

Open
tronical opened this issue Nov 28, 2023 · 0 comments
Open

Add support for frame throttling on macOS with winit #4025

tronical opened this issue Nov 28, 2023 · 0 comments
Labels
a:backend-winit Winit backend (mS,mO) a:platform-macos Issues specific to macOS (mS,bF) bug Something isn't working

Comments

@tronical
Copy link
Member

How to reproduce:

Run the gallery example that shows a continuously rendered progress indicator animation. This consumes ~30% CPU for the gallery and ~30% CPU on WindowServer. Also, VoiceOver is very very slow in updating (or doesn't update at all) - until the animation is stopped.

Expected result:

The CPU usage is low enough for VoiceOver to work.

Winit has an API for this now, but it needs implementing on macOS.

This is probably best fixed by implementing display link support and contributing it upstream in winit.

@tronical tronical added bug Something isn't working a:platform-macos Issues specific to macOS (mS,bF) a:backend-winit Winit backend (mS,mO) labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:backend-winit Winit backend (mS,mO) a:platform-macos Issues specific to macOS (mS,bF) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant