summaryrefslogtreecommitdiff
path: root/configstore
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2018-08-22 18:01:07 -0700
committerPeiyong Lin <lpy@google.com>2018-08-22 18:20:58 -0700
commit52a7c69abf2f00d4c9ff41cf59181cb478cbb534 (patch)
treecce403f7f5d9b1875f313fceef9347b6b03c9500 /configstore
parent6b4eb0e4bd9e83dab1f9dcbc2dc4d0eaf170db95 (diff)
[ConfigStore] Clarify hasHDRDisplay spec.
BUG: 111505327 Test: Build, flash and boot Change-Id: Ie22d4c7b069a918f039a60317a213dc6a7efb205 Merged-In: Ie22d4c7b069a918f039a60317a213dc6a7efb205
Diffstat (limited to 'configstore')
-rw-r--r--configstore/1.0/ISurfaceFlingerConfigs.hal11
1 files changed, 8 insertions, 3 deletions
diff --git a/configstore/1.0/ISurfaceFlingerConfigs.hal b/configstore/1.0/ISurfaceFlingerConfigs.hal
index 5f975bd7dc..1de7570bd2 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);