diff options
author | Peiyong Lin <lpy@google.com> | 2018-08-17 14:03:35 -0700 |
---|---|---|
committer | Peiyong Lin <lpy@google.com> | 2018-08-21 12:46:46 -0700 |
commit | 3ebd7eef797903844c3a9964a6b33630ab444e9c (patch) | |
tree | 529aeb3a98738e3b73cb290b8131ef9d72b1d3e1 /configstore | |
parent | b8485526c499c5bbfa6297987e33f9a12f45a4ff (diff) |
[ConfigStore] Clarify hasHDRDisplay spec.
BUG: 111505327
Test: Build, flash and boot
Change-Id: Ie22d4c7b069a918f039a60317a213dc6a7efb205
Diffstat (limited to 'configstore')
-rw-r--r-- | configstore/1.0/ISurfaceFlingerConfigs.hal | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/configstore/1.0/ISurfaceFlingerConfigs.hal b/configstore/1.0/ISurfaceFlingerConfigs.hal index 5f975bd7dc..0790905e63 100644 --- a/configstore/1.0/ISurfaceFlingerConfigs.hal +++ b/configstore/1.0/ISurfaceFlingerConfigs.hal @@ -61,11 +61,16 @@ interface ISurfaceFlingerConfigs { hasWideColorDisplay() generates (OptionalBool value); /** - * hwHdrDisplay indicates that the device has - * or can support an HDR (High Dynamic Range) display. - * Typically an HDR display is also wide-color. + * hwHdrDisplay indicates that the device has an High Dynamic Range display. + * A display is considered High Dynamic Range if it + * + * 1. is a wide color gamut display, typically DCI-P3 or lager + * 2. has high luminance capability, typically 540 nits or higher at 10% OPR + * * Indicate support for this feature by setting * TARGET_HAS_HDR_DISPLAY to true in BoardConfig.mk + * TARGET_HAS_WIDE_COLOR_DISPLAY must be set to true when + * TARGET_HAS_HDR_DISPLAY is true. */ hasHDRDisplay() generates (OptionalBool value); |