[Impeller] Disable the offscreen layer checkerboard drawing function on Impeller. (flutter/engine#42221)
This function creates a Skia bitmap that can not be rendered by Impeller. See https://github.com/flutter/flutter/issues/127080
This commit is contained in:
@@ -111,7 +111,9 @@ void LayerTree::Paint(CompositorContext::ScopedFrame& frame,
|
||||
}
|
||||
|
||||
LayerStateStack state_stack;
|
||||
if (checkerboard_offscreen_layers_) {
|
||||
|
||||
// DrawCheckerboard is not supported on Impeller.
|
||||
if (checkerboard_offscreen_layers_ && !frame.aiks_context()) {
|
||||
state_stack.set_checkerboard_func(DrawCheckerboard);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user