mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 00:52:28 +02:00
Since we don't have a direct connection to WindowServer, this is slighly more naive implementation than what we were doing for single-process mode. Basically, there's a global RequestAnimationFrameDriver object that has a 16ms single-shot timer. Whenever someone registers for a RAF callback, we start the timer (if needed). This is not ideal, but it's better than nothing. :^)
6.9 KiB
6.9 KiB