diff options
author | 2023-03-15 23:55:43 +0000 | |
---|---|---|
committer | 2023-03-15 23:55:43 +0000 | |
commit | 131a8f45ea56fce741a9dc39cdb7030a827f4133 (patch) | |
tree | 13a8bbf2e8a14e9ece1a0faae706e88da936ac2a /libs/hwui/Properties.h | |
parent | c533e52d1647056b6cbf298f8d3ce57ebb7386f0 (diff) | |
parent | 008dc4a408511375783865e69e207225a3e0e901 (diff) |
Merge "Add sysprop to control HDR headroom" into udc-dev am: 954c3d6d3e am: 008dc4a408
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22087306
Change-Id: Ib11412242ecb2af89520045b2559899746f30460
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r-- | libs/hwui/Properties.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h index ed7175e140e4..24e206bbc3b1 100644 --- a/libs/hwui/Properties.h +++ b/libs/hwui/Properties.h @@ -218,6 +218,8 @@ enum DebugLevel { #define PROPERTY_MEMORY_POLICY "debug.hwui.app_memory_policy" +#define PROPERTY_8BIT_HDR_HEADROOM "debug.hwui.8bit_hdr_headroom" + /////////////////////////////////////////////////////////////////////////////// // Misc /////////////////////////////////////////////////////////////////////////////// @@ -321,6 +323,8 @@ public: static bool isLowRam; static bool isSystemOrPersistent; + static float maxHdrHeadroomOn8bit; + static StretchEffectBehavior getStretchEffectBehavior() { return stretchEffectBehavior; } |