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

Commit c1ac6c8a authored by Ram Indani's avatar Ram Indani Committed by Android (Google) Code Review
Browse files

Merge "Flag to unify SF refresh rate change callbacks" into main

parents 472d4b61 b01bc63c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(readback_screenshot);
    DUMP_ACONFIG_FLAG(refresh_rate_overlay_on_external_display);
    DUMP_ACONFIG_FLAG(vsync_predictor_rate_change_with_aligned_sequence);
    DUMP_ACONFIG_FLAG(unify_refresh_rate_callbacks);
    DUMP_ACONFIG_FLAG(vsync_predictor_recovery);

    /// Trunk stable readonly flags ///
@@ -295,6 +296,7 @@ FLAG_MANAGER_ACONFIG_FLAG(increase_missed_frame_jank_threshold, "");
FLAG_MANAGER_ACONFIG_FLAG(monitor_buffer_fences, "");
FLAG_MANAGER_ACONFIG_FLAG(readback_screenshot, "")
FLAG_MANAGER_ACONFIG_FLAG(vsync_predictor_rate_change_with_aligned_sequence, "")
FLAG_MANAGER_ACONFIG_FLAG(unify_refresh_rate_callbacks, "");
FLAG_MANAGER_ACONFIG_FLAG(vsync_predictor_recovery, "");

/// Trunk stable server (R/W) flags from outside SurfaceFlinger ///
+1 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ public:
    bool readback_screenshot() const;
    bool refresh_rate_overlay_on_external_display() const;
    bool vsync_predictor_rate_change_with_aligned_sequence() const;
    bool unify_refresh_rate_callbacks() const;
    bool vsync_predictor_recovery() const;

    /// Trunk stable readonly flags ///
+10 −0
Original line number Diff line number Diff line
@@ -284,6 +284,16 @@ flag {
  }
} # override_trusted_overlay

flag {
    name: "unify_refresh_rate_callbacks"
    namespace: "core_graphics"
    description: "Unifies mode changed and FrameRateOverride callbacks"
    bug: "399482301"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
} # unify_refresh_rate_callbacks

flag {
  name: "vsync_predictor_rate_change_with_aligned_sequence"
  namespace: "core_graphics"