summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2018-04-17 15:09:44 -0700
committer Peiyong Lin <lpy@google.com> 2018-05-07 15:38:57 -0700
commitd6fa4a70ba70393816176eda0b64e2b576ce6d6b (patch)
treee034d4940c7d58a9d2f2dfb4091d7a6d41e3a686 /opengl/libagl/TextureObjectManager.cpp
parent84d1fb6d373c36974a7ee69b48afb7e5f2831e0d (diff)
[SurfaceFlinger] Add BT2100_PQ and BT2100_HLG color mode.
When hardware composer has native HDR10/HLG support, SurfaceFlinger will always pass the layer to hardware composer. When hardware composer doesn't have native HDR10/HLG support, but has BT2100_PQ or BT2100_HLG color mode with render intent, SurfaceFlinger will always set the color mode to BT2100_PQ and BT2100_HLG respectively, and set the render intent to TONE_MAP_ENHANCE if supported, or TONE_MAP_COLORIMETRIC. Otherwise, SurfaceFlinger will set the color mode to Display P3 and simulate PQ/HLG in RenderEngine. Since SurfaceFlinger now can simulate HLG support in Display P3 mode, when apps query HDR capability from platform, we also return HLG support. BUG: 73825729 Test: build, flash Change-Id: I53696360f2b3d986aa9191ff42866e275ba4fd0b Merged-In: I53696360f2b3d986aa9191ff42866e275ba4fd0b
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions