pstar: Tweak display color compositions

* Enable COLOR_MODE_SATURATED (native) and drop unsupported render
   intents. Set from pstar rro to avoid touching QC defaults.
 * Don't enforce Display P3 for all modes, let the system decide which
   to take (sRGB in most cases).
 * Set default mode to "Adaptive" (in fact "srgb-enhance") which is not
   too yellowish or vivid.

Change-Id: I17169a3a5a27a44c1991460c18f79668c9669713
This commit is contained in:
dianlujitao 2022-03-20 17:48:29 +08:00 committed by SGCMarkus
parent 5b2c367144
commit b9444d2acd

View File

@ -317,4 +317,12 @@
* The device must be provisioned with HDCP keys (for protected content).
-->
<bool name="config_enableWifiDisplay">true</bool>
<!-- List supported color modes. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL --> <!-- This uses colorimetric render intents-->
<item>1</item> <!-- COLOR_MODE_BOOSTED --> <!-- This applies a 10% boost using the PCC-->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC --> <!-- This uses enhanced render intents-->
</integer-array>
</resources>