Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CADisplayLink.targetTimestamp value as an argument for frameClock.sendFrame #796

Merged
merged 7 commits into from Sep 8, 2023

Conversation

elijah-semyonov
Copy link

@elijah-semyonov elijah-semyonov commented Sep 7, 2023

Proposed changes

Use CADisplayLink.targetTimestamp instead of current immediate timestamp for moving the ComposeScene.frameClock.
Aggregate MetalRedrawer callbacks into a single interface object. Remove for-test callbacks, copied from and previously used in skiko tests.

Testing

Test: N/A

Issues Fixed

Fixes: withFrameNanos depending on actual execution time and not vsync timeline.

@elijah-semyonov elijah-semyonov merged commit ded4e35 into jb-main Sep 8, 2023
3 checks passed
@elijah-semyonov elijah-semyonov deleted the es/use-target-timestamp-for-ios-render branch September 8, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants