This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
shell/platform/darwin/ios Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 6161 layer.drawableSize = drawable_size;
6262 }
6363
64+ // Flutter needs to read from the color attachment in cases where there are effects such as
65+ // backdrop filters. Flutter plugins that create platform views may also read from the layer.
66+ layer.framebufferOnly = NO ;
67+
6468 // When there are platform views in the scene, the drawable needs to be presented in the same
6569 // transaction as the one created for platform views. When the drawable are being presented from
6670 // the raster thread, there is no such transaction.
Original file line number Diff line number Diff line change 5555
5656 layer.pixelFormat = MTLPixelFormatBGRA8Unorm ;
5757 // Flutter needs to read from the color attachment in cases where there are effects such as
58- // backdrop filters.
58+ // backdrop filters. Flutter plugins that create platform views may also read from the layer.
5959 layer.framebufferOnly = NO ;
6060
6161 const auto drawable_size = CGSizeMake (frame_info.width (), frame_info.height ());
You can’t perform that action at this time.
0 commit comments