Skip to content

Commit b320e0b

Browse files
Ram IndaniAndroid (Google) Code Review
authored andcommitted
Merge "[SF] Flag to use idlePeriod for VSync outlier calculation" into main
2 parents 1c8b16b + c52fcc6 commit b320e0b

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

services/surfaceflinger/common/FlagManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ void FlagManager::dump(std::string& result) const {
128128
DUMP_ACONFIG_FLAG(graphite_renderengine_preview_rollout);
129129
DUMP_ACONFIG_FLAG(increase_missed_frame_jank_threshold);
130130
DUMP_ACONFIG_FLAG(refresh_rate_overlay_on_external_display);
131+
DUMP_ACONFIG_FLAG(vsync_predictor_recovery);
131132

132133
/// Trunk stable readonly flags ///
133134
/// IMPORTANT - please keep alphabetize to reduce merge conflicts
@@ -304,6 +305,7 @@ FLAG_MANAGER_ACONFIG_FLAG(adpf_gpu_sf, "")
304305
FLAG_MANAGER_ACONFIG_FLAG(adpf_native_session_manager, "");
305306
FLAG_MANAGER_ACONFIG_FLAG(graphite_renderengine_preview_rollout, "");
306307
FLAG_MANAGER_ACONFIG_FLAG(increase_missed_frame_jank_threshold, "");
308+
FLAG_MANAGER_ACONFIG_FLAG(vsync_predictor_recovery, "");
307309

308310
/// Trunk stable server (R/W) flags from outside SurfaceFlinger ///
309311
FLAG_MANAGER_ACONFIG_FLAG_IMPORTED(adpf_use_fmq_channel, "", android::os)

services/surfaceflinger/common/include/common/FlagManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class FlagManager {
6363
bool graphite_renderengine_preview_rollout() const;
6464
bool increase_missed_frame_jank_threshold() const;
6565
bool refresh_rate_overlay_on_external_display() const;
66+
bool vsync_predictor_recovery() const;
6667

6768
/// Trunk stable readonly flags ///
6869
/// IMPORTANT - please keep alphabetize to reduce merge conflicts

services/surfaceflinger/surfaceflinger_flags_new.aconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,16 @@ flag {
320320
}
321321
} # vrr_bugfix_dropped_frame
322322

323+
flag {
324+
name: "vsync_predictor_recovery"
325+
namespace: "core_graphics"
326+
description: "Recover the vsync predictor from bad vsync model"
327+
bug: "385059265"
328+
metadata {
329+
purpose: PURPOSE_BUGFIX
330+
}
331+
} # vsync_predictor_recovery
332+
323333
flag {
324334
name: "window_blur_kawase2"
325335
namespace: "core_graphics"

0 commit comments

Comments
 (0)