summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-05-17 18:36:19 -0700
committer Peiyong Lin <lpy@google.com> 2019-05-20 17:22:27 -0700
commitff84a15c51b388402292412875273f39f829b74a (patch)
tree681ecc182edd265d9e1b64e13c8fa032e4dc3bc8 /services/surfaceflinger/RegionSamplingThread.cpp
parentc6af53022abf90a2574903fd411b6236fd1e1e94 (diff)
[SurfaceFlinger] Filter out wide color modes for built-in display when necessary.
OEMs can choose whether to advertize the built-in display is wide color capable regardless of whether hardware composer returns wide color modes or not. This patch makes sure those this configuration is taken into account when we return the color modes of the built-in display. Otherwise those devices will fail the Display CTS tests. BUG: 133010445 Test: Boot. Verified with Pixel 3. Change-Id: Id70c39a4d274400f2c66b0a04728524051cb5c6a
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions