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

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18743615

Change-Id: I1099731be993ddeff9f8240927fe682580587305
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Midas Chien 2022-06-09 07:59:44 +00:00 committed by Automerger Merge Worker
commit 2d56dcb7ae

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) {