Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 197dc1fd authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: default to DisplayColorSetting::ENHANCED

DisplayColorSetting works like a hint.  On devices that do not
support RenderIntent::ENHANCE, RenderIntent::COLORIMETRIC will be
picked.

Bug: 79434305
Test: Pixel 2017 and 2018 boot animations
Change-Id: Ie85cca6eae75cf6ada3a4a364c402d09dc2920f9
parent ad8d827e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -884,7 +884,7 @@ private:
    static bool useVrFlinger;
    std::thread::id mMainThreadId;

    DisplayColorSetting mDisplayColorSetting = DisplayColorSetting::MANAGED;
    DisplayColorSetting mDisplayColorSetting = DisplayColorSetting::ENHANCED;
    // Applied on Display P3 layers when the render intent is non-colorimetric.
    mat4 mEnhancedSaturationMatrix;