diff options
| author | 2019-02-10 14:45:00 -0800 | |
|---|---|---|
| committer | 2019-02-12 12:04:24 -0800 | |
| commit | a3ea559cc4d2e314da0ce98707062f589cc197f4 (patch) | |
| tree | dcbda268f1e441026ac067c28c47cf803b097292 /opengl/libagl/BufferObjectManager.cpp | |
| parent | f1adb4aa7eb87efffdf3fd4e58a6a46d68f964ad (diff) | |
[SurfaceFlinger] Allow force a supported color mode.
Device now can force color mode by setting persist.sys.sf.color_mode.
persist.sys.sf.color_mode must:
1. not be NATIVE color mode, NATIVE color mode means no forced color mode;
2. be one of the supported color modes returned by hardware composer,
otherwise it will not be respected.
persist.sys.sf.color_mode will only take effect when persist.sys.sf.native_mode
is not set to 1.
Minor: Fix some color profile tests.
BUG: 124129486
Test: Build, flash and boot. Verify by hacking Pixel 3.
Change-Id: I6aa4cff5aec16f0953d63e698919b41d617ea111
Diffstat (limited to 'opengl/libagl/BufferObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions