mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
[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:
@@ -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,
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user