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

Commit f0b2b014 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

SF: Enable HWC composition strategy prediction

Test: perfetto traces
Bug: 220031739
Change-Id: Ie9a8d6262902e84bcc9c35d011f95db494bd20d4
parent 27dbab9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -482,7 +482,7 @@ SurfaceFlinger::SurfaceFlinger(Factory& factory) : SurfaceFlinger(factory, SkipI
    property_get("debug.sf.disable_client_composition_cache", value, "0");
    property_get("debug.sf.disable_client_composition_cache", value, "0");
    mDisableClientCompositionCache = atoi(value);
    mDisableClientCompositionCache = atoi(value);


    property_get("debug.sf.predict_hwc_composition_strategy", value, "0");
    property_get("debug.sf.predict_hwc_composition_strategy", value, "1");
    mPredictCompositionStrategy = atoi(value);
    mPredictCompositionStrategy = atoi(value);


    // We should be reading 'persist.sys.sf.color_saturation' here
    // We should be reading 'persist.sys.sf.color_saturation' here