diff options
| author | 2022-03-10 16:43:27 +0000 | |
|---|---|---|
| committer | 2023-03-14 17:57:11 +0000 | |
| commit | 99b9c47dee739ffad470717e3d9a971ceec804c6 (patch) | |
| tree | bc0bf6093297e76979db743e258fdbf1bde75825 /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | 8e63a7c8a41c978178843038f7162273fe5d63e5 (diff) | |
Add display committed state to DisplayInfo
This adds the committed state to the display.
The `state` is used to set the correct power state (e.g. turning display on/off), however there was no way to know when this power state change finished. This new "committedState" aims to fulfill this gap.
DisplayListeners receives a `onDisplayChanged` callback whenever the power state change is fully committed, and can get this information from DisplayInfo.
This will be used in a follow up cl to improve unfold latency performances.
Bug: 223808403
Bug: 220690092
Bug: 197515205
Bug: 273204503
Test: atest LocalDisplayAdapterTest && manual
Change-Id: Ia2fbab768b696c59578d974c88157ee3c8f3ddde
Merged-In: Ia2fbab768b696c59578d974c88157ee3c8f3ddde
(cherry picked from commit 07c6ebdd97ea3e9e3640fa5165b24249a52dd7e5)
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions