mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-20 07:30:22 +01:00
417d03305a
Currently, GPUI on web calls `requestAnimationFrame` every frame, which causes it to do meaningful GPU work every frame, even if it was identical. This PR makes GPUI only call `requestAnimationFrame` when it has new content to display. --- Release Notes: - N/A or Added/Fixed/Improved ...