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

Commit 99eac0f4 authored by Ady Abraham's avatar Ady Abraham
Browse files

SF: add flag add_first_vsync_to_tracker

Test: presubmit
Bug: 422343157
Flag: com.android.graphics.surfaceflinger.flags.add_first_vsync_to_tracker
Change-Id: Idb65880a42530335b433f988fa932b07905809fe
parent 0be12b5c
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -115,6 +115,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_LEGACY_SERVER_FLAG(use_skia_tracing);
    DUMP_LEGACY_SERVER_FLAG(use_skia_tracing);


    /// Trunk stable server (R/W) flags ///
    /// Trunk stable server (R/W) flags ///
    DUMP_ACONFIG_FLAG(add_first_vsync_to_tracker);
    DUMP_ACONFIG_FLAG(adpf_cpu_effects_loadup);
    DUMP_ACONFIG_FLAG(adpf_cpu_effects_loadup);
    DUMP_ACONFIG_FLAG(adpf_gpu_sf);
    DUMP_ACONFIG_FLAG(adpf_gpu_sf);
    DUMP_ACONFIG_FLAG(adpf_native_session_manager);
    DUMP_ACONFIG_FLAG(adpf_native_session_manager);
@@ -286,6 +287,7 @@ FLAG_MANAGER_ACONFIG_FLAG(window_blur_kawase2, "");
FLAG_MANAGER_ACONFIG_FLAG(synced_resolution_switch, "");
FLAG_MANAGER_ACONFIG_FLAG(synced_resolution_switch, "");


/// Trunk stable server (R/W) flags ///
/// Trunk stable server (R/W) flags ///
FLAG_MANAGER_ACONFIG_FLAG(add_first_vsync_to_tracker, "")
FLAG_MANAGER_ACONFIG_FLAG(refresh_rate_overlay_on_external_display, "")
FLAG_MANAGER_ACONFIG_FLAG(refresh_rate_overlay_on_external_display, "")
FLAG_MANAGER_ACONFIG_FLAG(adpf_cpu_effects_loadup, "");
FLAG_MANAGER_ACONFIG_FLAG(adpf_cpu_effects_loadup, "");
FLAG_MANAGER_ACONFIG_FLAG(adpf_gpu_sf, "")
FLAG_MANAGER_ACONFIG_FLAG(adpf_gpu_sf, "")
+1 −0
Original line number Original line Diff line number Diff line
@@ -51,6 +51,7 @@ public:
    bool use_skia_tracing() const;
    bool use_skia_tracing() const;


    /// Trunk stable server (R/W) flags ///
    /// Trunk stable server (R/W) flags ///
    bool add_first_vsync_to_tracker() const;
    bool adpf_cpu_effects_loadup() const;
    bool adpf_cpu_effects_loadup() const;
    bool adpf_gpu_sf() const;
    bool adpf_gpu_sf() const;
    bool adpf_native_session_manager() const;
    bool adpf_native_session_manager() const;
+10 −0
Original line number Original line Diff line number Diff line
@@ -3,6 +3,16 @@
package: "com.android.graphics.surfaceflinger.flags"
package: "com.android.graphics.surfaceflinger.flags"
container: "system"
container: "system"


flag {
  name: "add_first_vsync_to_tracker"
  namespace: "core_graphics"
  description: "Add the first vsync timestamp to vsync tracker when priod confirmation is still in progress"
  bug: "422343157"
  metadata {
      purpose: PURPOSE_BUGFIX
    }
} # add_first_vsync_to_tracker

flag {
flag {
  name: "adpf_cpu_effects_loadup"
  name: "adpf_cpu_effects_loadup"
  namespace: "window_surfaces"
  namespace: "window_surfaces"