mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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 commit7d55d4269d) Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b (cherry picked from commit308f4ac906) Merged-In: If47154adf9d48f9c1b8390b4bee090d8bf40ff3b
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
99764f5f7f
commit
8c75b834f4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user