summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-04-16 15:34:46 -0700
committer Peiyong Lin <lpy@google.com> 2019-04-16 18:32:36 -0700
commit0391288e7887945a396a5c0de7b8fe8c0ec44114 (patch)
tree4f86de32b2356e3c20979c6ec268921f3b2dcce7 /libs/gui/ConsumerBase.cpp
parentab54fb71d630fc66f08c5711de55487b0bf29932 (diff)
[SurfaceFlinger] Use SDR data space for HDR video if it's in GPU composition.
If hardware composer supports HDR layer, then this will likely happen in window transition and rotation, etc, and blending might happen on HDR layer. However, blending in PQ gamma space is not nice, and thus we pick the widest SDR data space for HDR video if it's in GPU composition. As a result, color shift will be observed until RenderEngine can align with the behaviour of hardware composer. BUG: 130400004 Test: Verify with Youtube HDR rotation. Change-Id: I3f517205fa319fe7c8f003f5997a4fe97be9b214
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions