Skip to content

Conversation

@ASalavei
Copy link

@ASalavei ASalavei commented Jan 9, 2026

Remove inflightSemaphore because does not prevent from awaiting the main thread on the nextDrawable().
Replace InflightCommandBuffers and replace it with the Dispatch Group.

Fixes https://youtrack.jetbrains.com/issue/CMP-9494/Optimize-MetalRedrawer-synchronization

Release Notes

N/A

@ASalavei ASalavei marked this pull request as ready for review January 12, 2026 16:02
Add comment to clarify background app behavior.
# Conflicts:
#	compose/ui/ui/src/iosMain/kotlin/androidx/compose/ui/window/MetalRedrawer.ios.kt
@ASalavei ASalavei merged commit fc48225 into jb-main Jan 16, 2026
25 of 26 checks passed
@ASalavei ASalavei deleted the andrei.salavei/optimize-metal-redtawer branch January 16, 2026 16:47
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.

5 participants