gpui: Throttle framerate to 30 for unfocused windows#52970
Conversation
ae4a0a9 to
8575b8e
Compare
|
I'm not sure this was the right solution for this problem. We should have each animate be behind an AnyView element so we only re render the animated element instead of it's parent (The full agent panel) each frame Edit: I also feel like this is an API that should be configured by APP, because other applications that are gpui based may not want this behavior |
We do not have damage tracking, so any change to the frame will cause us to redraw the entire frame. You are correct that we do not recompute the full scene graph, but thats not what this change is about. |
…ustries#52970)" This reverts commit 72eb842.
…ustries#52970)" This reverts commit 72eb842.
…52970) This should reduce energy consumption when having agents running in background windows, as the spinner that is being animated won't refresh at the display framerate anymore. Release Notes: - N/A or Added/Fixed/Improved ...
This should reduce energy consumption when having agents running in background windows, as the spinner that is being animated won't refresh at the display framerate anymore.
Release Notes: