diff options
author | Leon Scroggins III <scroggo@google.com> | 2022-01-31 10:10:55 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2022-02-07 11:41:35 -0500 |
commit | e5c038e9ef662abcc3414ddf4ffe27196a5ae0c6 (patch) | |
tree | 5e33db9f8e28cf3b2081c9f1eaab69caf922bb10 /identity/support/src/cppbor_parse.cpp | |
parent | bab1ba54ede32520a5042d616a3af46ad4f55d5f (diff) |
Add a more detailed HAL for DISPLAY_DECORATION
Different hardware may prefer different formats for DISPLAY_DECORATION
layers. Add a new struct with two enums: one for the format, and one for
how to interpret the alpha. These two properties are orthogonal.
Add IComposerClient.getDisplayDecorationSupport for retrieving the
struct. I0c2fbc78cf5e4e97cede4762699a1ecc98620919 demonstrates a sample
implementation.
Remove the DisplayCapability.DISPLAY_DECORATION, which is replaced by
this.
Bug: 216644902
Test: manual
Change-Id: I27f119f927b23052c5fd8f068cbca75338fe7b91
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions