Allow takePendingCommands to have ownership for mComamnds so commands
are reset on each call. Make reset method to be private.
Bug: 273525126
Test: manual
Change-Id: Ifecad733e5e85d475825969296ddf68081ce9e60
This feature allows SurfaceFlinger to clear buffer slots when buffers
are discarded by SurfaceFlinger clients and will no longer be used,
allowing the graphics memory to be freed immediately.
Bug: 258196272
Test: atest VtsHalGraphicsComposerV2_4TargetTest
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: Ibfbe2078ac419bb8f3880ee3f0512acaad2f5012
- skip writing blobs if empty packet is sent for per-frame metadata.
Bug: 274050717
Test: play HDR video on YouTube
Change-Id: If8716613136c70a5adee29074cc2e9d35a500264
Use the interface version check function in
SetRefreshRateChangedCallbackDebug tests
Update the GetOverlaySupport and SkipValidateDeprecatedTest
To use the interface vesion function
Test: atest VtsHalGraphicsComposer3_TargetTest
BUG: 267565265
Change-Id: I3f37f4ff5610f8e9e3dec299ed7c3f0c41a630d7
BUG: 202734676
Test: atest VtsHalGraphicsComposer3_TargetTest
with the patch of
Ibc80d66eae6b21c3cf84d35fa819e97ccc509ede
Change-Id: I02bdf061420fe12ef4548008d66bb73e8cd416e8
Test case is for composer starting with version 2 API, but the test case doesn't check version, so it fails for version 1 API.
Bug: 267565265
Test: 1. Push VtsHalGraphicsComposer3_TargetTest to device
2. Run VtsHalGraphicsComposer3_TargetTest
Test Command:
chmod 777 data/VtsHalGraphicsComposer3_TargetTest
./data/VtsHalGraphicsComposer3_TargetTest
Change-Id: I7bf37061aba84dfdfea5fc9dda5a300a1e5ec680
(cherry picked from commit 7493bbc999)
Merged-In: I7bf37061aba84dfdfea5fc9dda5a300a1e5ec680
* changes:
[HWC3] VTS client updates for onRefreshRateChangedDebug callback And for setRefreshRateChangedCallbackDebugEnabled
[HWC3] AIDL implementation for Refresh Rate Overlay indicator
And for setRefreshRateChangedCallbackDebugEnabled
This does not add any implementation for the VTS code.
Implementation will be added with the VTS tests as a followup.
Test: Device boots
BUG: 202734676
Change-Id: If47bbcf87698b346907b3bc1903908ff0a63203f
Adds IComposerClient method to inform that the Refresh Rate callback is enabled.
Adds IComposerCallback to get the display vsyncPeriod for the Overlay.
Adds Composition type REFRESH_RATE_INDICATOR
Test: Device boots
BUG: 202734676
Change-Id: I48b0c05f49095b15cea444dc5c3ad8f78a043cb0
- update VTS test to make sure primaries/transfers/ranges bits are
correct.
Bug: 242588489
Test: build and flash; atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I77536d97b98e4dead208b7c8aeed9cfbb0d82316
* changes:
Revert "Add VTS test for clearing buffer slots to Composer HIDL and AIDL"
Revert "Add VTS readback tests for buffer slot clearing"
Revert "Add VTS for new API for clearing buffer slots"
This reverts commit ca3eef29b0.
NOTE: This is not a full revert, it leaves the production code in place and only reverts the VTS test changes.
Reason for revert: b/262370410
Test: atest VtsHalGraphicsComposerV2_1TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_2TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_3TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_4TargetTest on Oriole
Bug: 262370410
Change-Id: Ie5ba7402cda2828ba33131d527ab0c3a66937648
This reverts commit d103cd6828.
NOTE: This is not a full revert, it leaves the production code in place and only reverts the VTS test changes.
Reason for revert: b/262370410
Test: atest VtsHalGraphicsComposerV2_1TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_2TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_3TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_4TargetTest on Oriole
Bug: 262370410
Change-Id: I336beb9f0ed81b305b26c6d8e9da70cfabe04bbd
This reverts commit 78ff2d6491.
NOTE: This is not a full revert, it leaves the production code in place and only reverts the VTS test changes.
Reason for revert: b/262370410
Test: atest VtsHalGraphicsComposerV2_1TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_2TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_3TargetTest on Oriole
Test: atest VtsHalGraphicsComposerV2_4TargetTest on Oriole
Bug: 262370410
Change-Id: Ica725cfaae6e2a08ed9c53eb9f17d6db1656bc93
Dimension was initialized to the size of the last config that is in the config list.
VTS didn't change the dimension in the readback test and allocated buffer
for the readback with the dimension size.
However it was different with actual display size.
This change initializes display dimension to the actual display size.
Bug: 259155172
Change-Id: I64fec02f5386eb6ca1f41ab376be193231810b93
Merged-In: I64fec02f5386eb6ca1f41ab376be193231810b93
Signed-off-by: HyunKyoung <hk310.kim@samsung.com>
Dimension was initialized to the size of the last config that is in the config list.
VTS didn't change the dimension in the readback test and allocated buffer
for the readback with the dimension size.
However it was different with actual display size.
This change initializes display dimension to the actual display size.
Bug: 259155172
Change-Id: I64fec02f5386eb6ca1f41ab376be193231810b93
Signed-off-by: HyunKyoung <hk310.kim@samsung.com>
- To determine if the device can hendle mixed colorspaces without
falling back to client composition.
Bug: 242588489
Test: build and flash
Change-Id: Ied346e1fe9c0b260c37aee458eddac689e711336