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

Commit b9bcf0ac authored by ramindani's avatar ramindani
Browse files

Flag to increase jank threshold to 4 milliseconds

Test: No test
BUG: 342265411
Flag: com.android.graphics.surfaceflinger.flags.increase_missed_frame_jank_threshold
Change-Id: Iff26902c9c0ca16b3ef82961c0279b88e101364e
parent 24572ee0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(adpf_native_session_manager);
    DUMP_ACONFIG_FLAG(adpf_use_fmq_channel);
    DUMP_ACONFIG_FLAG(graphite_renderengine_preview_rollout);
    DUMP_ACONFIG_FLAG(increase_missed_frame_jank_threshold);
    DUMP_ACONFIG_FLAG(refresh_rate_overlay_on_external_display);

    /// Trunk stable readonly flags ///
@@ -276,6 +277,7 @@ FLAG_MANAGER_ACONFIG_FLAG(refresh_rate_overlay_on_external_display, "")
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, "");

/// 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
@@ -53,6 +53,7 @@ public:
    bool adpf_use_fmq_channel() const;
    bool adpf_use_fmq_channel_fixed() const;
    bool graphite_renderengine_preview_rollout() const;
    bool increase_missed_frame_jank_threshold() const;
    bool refresh_rate_overlay_on_external_display() const;

    /// Trunk stable readonly flags ///
+7 −0
Original line number Diff line number Diff line
@@ -189,6 +189,13 @@ flag {
  bug: "293371537"
} # graphite_renderengine_preview_rollout

flag {
  name: "increase_missed_frame_jank_threshold"
  namespace: "core_graphics"
  description: "Increase the jank threshold to 4 milliseconds"
  bug: "342265411"
} # increase_missed_frame_jank_threshold

flag {
  name: "latch_unsignaled_with_auto_refresh_changed"
  namespace: "core_graphics"