Skip to content

Support shared root FrameRecomposer#3212

Draft
Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
andrei.salavei/global-frame-choreographer
Draft

Support shared root FrameRecomposer#3212
Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
andrei.salavei/global-frame-choreographer

Conversation

@ASalavei

Copy link
Copy Markdown
  • Implement FrameChoreographer - one instance per UIWindowScene - that holds shared FrameRecomposer for all scenes inside the scene. The FrameChoreographer uses CADisplayLink to advance composition state on every frame. It also holds OutOfFrameExecutor and DisplayLinkFrameRate.
  • Layout and Draw phases now tight to the UIView layout and draw paths of the iOS platform.
  • Now Compose Container must be attached to window hierarchy in order to create Compose Scene.
  • Move PrefetchScheduler outside the MetalRedrawer to ComposeSceneMediator.

Fixes https://youtrack.jetbrains.com/issue/CMP-10278

Release Notes

Features - iOS

  • Use UIView layout and draw phases to run corresponding operation for Compose containers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant