We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09b82e0 commit 49db609Copy full SHA for 49db609
1 file changed
shell/platform/darwin/ios/ios_surface_metal_impeller.mm
@@ -48,6 +48,12 @@
48
if (!CGSizeEqualToSize(drawable_size, layer.drawableSize)) {
49
layer.drawableSize = drawable_size;
50
}
51
+
52
+ // When there are platform views in the scene, the drawable needs to be presented in the same
53
+ // transaction as the one created for platform views. When the drawable are being presented from
54
+ // the raster thread, there is no such transaction.
55
+ layer.presentsWithTransaction = [[NSThread currentThread] isMainThread];
56
57
return layer;
58
59
0 commit comments