summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.h
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2023-09-06 02:11:56 +0000
committer Alec Mouri <alecmouri@google.com> 2023-11-03 15:51:35 +0000
commit22ab7f32617e9facbfb2ad8a1c37bd852e677688 (patch)
treeb1235737fefccf5de3d3f04fbdd6fa2ef77c013f /libs/hwui/Properties.h
parent55e03013762786108bfc07d0d72c20428a299c71 (diff)
Support fp16 in hwui for HDR
Picking sRGB primaries and transfer with extended range bit as the dataspace, because that's straightforward for EGL. Then, rather than dimming SDR content, we instead just render as normal so that we take advantage of the full bit depth Bug: 236745178 Test: builds Change-Id: Ica39a2c81be508effb97a8850b0c8e272c10a084
Diffstat (limited to 'libs/hwui/Properties.h')
-rw-r--r--libs/hwui/Properties.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Properties.h b/libs/hwui/Properties.h
index bca57e9e4678..55544df38773 100644
--- a/libs/hwui/Properties.h
+++ b/libs/hwui/Properties.h
@@ -326,6 +326,7 @@ public:
static float maxHdrHeadroomOn8bit;
static bool clipSurfaceViews;
+ static bool hdr10bitPlus;
static StretchEffectBehavior getStretchEffectBehavior() {
return stretchEffectBehavior;