You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Rationale
If subsequent `setPaused: true:` `setPaused: false` happen on different
main RunLoop jobs, actual restart of CADisplayLink takes 16 ms (two
intervals).
## Proposed Changes
Since invalidation, which triggers unpause, happens asynchronously, we
can avoid that behavior by forcing `needRedraw` call to unpause
CADisplayLink for at least two frames (instead of one).
Remove `getMainDispatcher`. `Dispatchers.Main` works correctly now and
doesn't need a workaround.
## Testing
Test: check that animations are 120hz on 120hz devices, even when there
are no touches tracked.
## Issues Fixed
Fixes: scheduling causing
JetBrains/compose-multiplatform#3605. It's not
the only reason for lower FPS.
In some applications there is still no full 120 FPS during scrolling
Use this FPS counter:
And scroll some lists in these applications:
https://github.com/chrisbanes/tivi
1.5.0-rc01
1.5.0-rc04
https://github.com/touchlab/DroidconKotlin
1.5.0-dev1080
1.5.0
Hypothesis: VRR drops the screen refresh rate to 60Hz if there are no touches on the screen.
The text was updated successfully, but these errors were encountered: