diff options
author | John Reck <jreck@google.com> | 2020-07-23 13:47:49 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2020-07-30 08:54:03 -0700 |
commit | b36bfddb1e72076c43f849f1366b44086b530a9a (patch) | |
tree | efccb52cce63310b8c2af544f86bdd475e2bf1fd /libs/hwui/renderthread/EglManager.h | |
parent | 088b06b649d2f7bd15842b26d5702d83e03986c8 (diff) |
Wire-up colorMode="hdr"
Fow now it uses a fixed white point of 150nits
TBD if this is disabled or adjusted
Test: Demo app
Change-Id: Iac13597b3d7633fdef3feaf7ec1da0c27c87904c
Diffstat (limited to 'libs/hwui/renderthread/EglManager.h')
-rw-r--r-- | libs/hwui/renderthread/EglManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.h b/libs/hwui/renderthread/EglManager.h index f67fb31db951..69f3ed014c53 100644 --- a/libs/hwui/renderthread/EglManager.h +++ b/libs/hwui/renderthread/EglManager.h @@ -88,6 +88,7 @@ private: static EGLConfig load8BitsConfig(EGLDisplay display, SwapBehavior swapBehavior); static EGLConfig loadFP16Config(EGLDisplay display, SwapBehavior swapBehavior); + static EGLConfig load1010102Config(EGLDisplay display, SwapBehavior swapBehavior); void initExtensions(); void createPBufferSurface(); @@ -97,7 +98,8 @@ private: EGLDisplay mEglDisplay; EGLConfig mEglConfig; - EGLConfig mEglConfigWideGamut; + EGLConfig mEglConfigF16; + EGLConfig mEglConfig1010102; EGLContext mEglContext; EGLSurface mPBufferSurface; EGLSurface mCurrentSurface; |