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

Commit c52fcc61 authored by ramindani's avatar ramindani
Browse files

[SF] Flag to use idlePeriod for VSync outlier calculation

Test: None
BUG: 346503493
BUG: 385059265
Flag: com.android.graphics.surfaceflinger.flags.vsync_predictor_recovery
Change-Id: Ibf0b0afadff480b02ed1f3e897e4789f3937385d
parent 01e3f8a3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -128,6 +128,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(graphite_renderengine_preview_rollout);
    DUMP_ACONFIG_FLAG(increase_missed_frame_jank_threshold);
    DUMP_ACONFIG_FLAG(refresh_rate_overlay_on_external_display);
    DUMP_ACONFIG_FLAG(vsync_predictor_recovery);

    /// Trunk stable readonly flags ///
    /// IMPORTANT - please keep alphabetize to reduce merge conflicts
@@ -302,6 +303,7 @@ FLAG_MANAGER_ACONFIG_FLAG(adpf_gpu_sf, "")
FLAG_MANAGER_ACONFIG_FLAG(adpf_native_session_manager, "");
FLAG_MANAGER_ACONFIG_FLAG(graphite_renderengine_preview_rollout, "");
FLAG_MANAGER_ACONFIG_FLAG(increase_missed_frame_jank_threshold, "");
FLAG_MANAGER_ACONFIG_FLAG(vsync_predictor_recovery, "");

/// Trunk stable server (R/W) flags from outside SurfaceFlinger ///
FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel, "", android::os)
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ public:
    bool graphite_renderengine_preview_rollout() const;
    bool increase_missed_frame_jank_threshold() const;
    bool refresh_rate_overlay_on_external_display() const;
    bool vsync_predictor_recovery() const;

    /// Trunk stable readonly flags ///
    /// IMPORTANT - please keep alphabetize to reduce merge conflicts
+10 −0
Original line number Diff line number Diff line
@@ -313,6 +313,16 @@ flag {
  }
} # vrr_bugfix_dropped_frame

flag {
  name: "vsync_predictor_recovery"
  namespace: "core_graphics"
  description: "Recover the vsync predictor from bad vsync model"
  bug: "385059265"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
 } # vsync_predictor_recovery

flag {
  name: "window_blur_kawase2"
  namespace: "core_graphics"