Add support for frame throttling on macOS with winit #4025
Labels
a:backend-winit
Winit backend (mS,mO)
a:platform-macos
Issues specific to macOS (mS,bF)
bug
Something isn't working
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.
The text was updated successfully, but these errors were encountered: