[aidl] add hwc batching capability

This CL adds the new aidl/apis for HWC command batching feature.

Bug: 290685621
Test: atest VtsHalGraphicsComposer3_TargetTest
      atest PerInstance/GraphicsComposerAidlBatchedCommandTest

Change-Id: Ibccc2cb30954f5d054f8e45e59a0b831fd15a304
This commit is contained in:
Manali Bhutiyani
2023-12-12 21:23:36 +00:00
parent d7ddd9743c
commit e11bda9789
2 changed files with 11 additions and 0 deletions

View File

@@ -45,4 +45,5 @@ enum Capability {
BOOT_DISPLAY_CONFIG = 5,
HDR_OUTPUT_CONVERSION_CONFIG = 6,
REFRESH_RATE_CHANGED_CALLBACK_DEBUG = 7,
LAYER_LIFECYCLE_BATCH_COMMAND = 8,
}

View File

@@ -86,4 +86,14 @@ enum Capability {
* @see IComposerCallback.onRefreshRateChangedDebug
*/
REFRESH_RATE_CHANGED_CALLBACK_DEBUG = 7,
/**
* Specifies that the device HAL supports the batching of layer creation and destruction
* for better performance.
*
* @see IComposerClient.executeCommands
* @see LayerCommand.layerLifecycleBatchCommandType
* @see LayerCommand.newBufferSlotCount
*/
LAYER_LIFECYCLE_BATCH_COMMAND = 8,
}