sm7125: Allow device to transition colors efficiently

Simon1511: Remove reading mode from livedisplay since setting config_setColorTransformAccelerated enables it in livedisplay

Change-Id: I790fdcb7c2dfd0e7ffbcd32345b2b1120c0c9d94
fourteen-wip
Vaisakh Murali 2 years ago committed by Simon1511
parent 24004358ff
commit bef2ef0ffa
  1. 1
      livedisplay/DisplayModes.cpp
  2. 7
      overlay/frameworks/base/core/res/res/values/config.xml

@ -41,7 +41,6 @@ const std::map<int32_t, std::string> DisplayModes::kModeMap = {
{2, "Natural"},
{3, "Cinema"},
{4, "Adaptive"},
{5, "Reading"},
// clang-format on
};

@ -1355,8 +1355,7 @@
<!-- For performance and storage reasons, limit the number of fingerprints per user -->
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
<!-- Control whether Night display is available. This should only be enabled on devices
that have a HWC implementation that can apply the matrix passed to setColorTransform
without impacting power, performance, and app compatibility (e.g. protected content). -->
<bool name="config_nightDisplayAvailable">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
</resources>

Loading…
Cancel
Save