composer: vts: configure layer for DisplayDecoration
Some HW may not support crop function for decoration and current API
can't query this capability. Configure decoration layer to full screen
to avoid this limitation.
Bug: 225765061
Test: VtsHalGraphicsComposer3_TargetTest
--gtest_filter=*DisplayDecoration*
Change-Id: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
(cherry picked from commit 7d55d4269d
)
Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
This commit is contained in:
parent
a71fffd754
commit
308f4ac906
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue