Commit fc48225
authored
Optimize MetalRedrawer synchronization (#2673)
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/A1 parent 81056d4 commit fc48225
File tree
1 file changed
+3
-3
lines changed- compose/ui/ui/src/iosMain/kotlin/androidx/compose/ui/window
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | 442 | | |
446 | 443 | | |
447 | 444 | | |
| |||
481 | 478 | | |
482 | 479 | | |
483 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
0 commit comments