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

iOS avoid redundant compositing #813

Merged
merged 23 commits into from Sep 19, 2023

Conversation

elijah-semyonov
Copy link

Proposed Changes

Only use presentWithTransaction and transparent CAMetalLayer when UIKit interop is active.

Testing

Test: N/A

Issues Fixed

Fixes: occasional frame drops reported in JetBrains/compose-multiplatform#3605 when iOS compositor fails to meet frame deadline because of going slow off-screen rendering path, instead of direct-to-screen.

Composited Direct
Composited Direct

@elijah-semyonov elijah-semyonov self-assigned this Sep 13, 2023
@elijah-semyonov elijah-semyonov changed the title iOS avoid redundant compositing caused iOS avoid redundant compositing Sep 13, 2023
@elijah-semyonov elijah-semyonov merged commit 7fd0675 into jb-main Sep 19, 2023
3 checks passed
@elijah-semyonov elijah-semyonov deleted the es/ios-avoid-redundant-compositing branch September 19, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants