Merge "composer: vts: configure layer for DisplayDecoration" into tm-d1-dev

This commit is contained in:
Midas Chien
2022-06-09 07:27:42 +00:00
committed by Android (Google) Code Review

View File

@@ -1719,10 +1719,10 @@ TEST_P(GraphicsComposerAidlCommandTest, DisplayDecoration) {
}
}
configureLayer(display, layer, Composition::DISPLAY_DECORATION, display.getFrameRect(),
display.getCrop());
mWriter.setLayerBuffer(display.getDisplayId(), layer, /*slot*/ 0, decorBuffer->handle,
/*acquireFence*/ -1);
mWriter.setLayerCompositionType(display.getDisplayId(), layer,
Composition::DISPLAY_DECORATION);
mWriter.validateDisplay(display.getDisplayId(), ComposerClientWriter::kNoTimestamp);
execute();
if (support) {