summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2018-03-01 16:22:45 -0800
committer Peiyong Lin <lpy@google.com> 2018-04-10 13:04:58 -0700
commitdd9b2ae8500d85a6aba82de15e8b40d14a921ca6 (patch)
tree776841a8fd597d86abd3c6f1259ea963f243a8e9 /libs/gui/BufferQueueThreadState.cpp
parent61f7750960eb14607b2ffa4a33c0246504a120e1 (diff)
[SurfaceFinger] Adds auto color mode support in SurfaceFlinger.
This patch adds auto color mode support in SurfaceFlinger. For Auto Awesome Color milestone 1, we expect the hardware composer is capable of handling P3 layers, meaning if the hardware composer is given P3 layers, it will strech the color from Display P3 to the pannel native color space. Hardware composer may punt sRGB layers back to SurfaceFlinger, in this case, we fall back to RenderEngine. We will set the destination data space to Display P3 when the layers are mixed color spaces, and set the destination data space as SRGB if they are all SRGB layers. BUG: 73824924 BUG: 73825729 Test: Build Change-Id: I577841b14de0cfe8c29f8aa30bee8621c5d72976
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions