summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-01-24 17:21:24 -0800
committer Peiyong Lin <lpy@google.com> 2019-01-25 12:52:02 -0800
commit4f3fddf272851052db5e08db3a828d911e3e4605 (patch)
tree111aa85445e606ad26487bb22aa994ca4bbe25b7 /libs/gui/SurfaceControl.cpp
parent6715b7611054e0e4774a8a3842107dc24948920d (diff)
Eliminate the usage of ConfigStore in native/libs/gui.
Ideally modules above SurfaceFlinger should query ConfigStore through ISurfaceComposer APIs. Previously Surface::getWideColorSupport directly evaluate wide color support for built-in display, we don't want that, we should align it with SurfaceFlinger. This patch essentially creates an API to allow other modules to query whether a given display is a wide color display. As a result, we must enforce that wide color display board config together with the wide color modes returned from hardware composer. BUG: 123312783 Test: Build, flash and boot. Verify in logcat. Test: SurfaceFlinger_test --gtest_filter=CredentialsTest.IsWideColorDisplay\* Change-Id: I0a5e3cc404e5365343adb0c9efaee8c13cc49cfe
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions