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

Commit a5512726 authored by Melody Hsu's avatar Melody Hsu
Browse files

Flag removal: adpf_cpu_effects_loadup

Fixes: b/429478704
Test: presubmit
Flag: EXEMPT, flag removal
Change-Id: I1494d928bfa4bddae8b9c61ef3b77309af4c45ad
parent 4906b3fa
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -812,8 +812,7 @@ void PowerAdvisor::setCommittedWorkload(ftl::Flags<Workload> workload) {

        // Provides a load up hint only for effects that require client
        // composition, such as blur or shadows.
        if (FlagManager::getInstance().adpf_cpu_effects_loadup() &&
            mCommittedWorkload.any(adpf::Workload::EFFECTS)) {
        if (mCommittedWorkload.any(adpf::Workload::EFFECTS)) {
            notifyCpuLoadUp();
        }
    }
+0 −2
Original line number Diff line number Diff line
@@ -116,7 +116,6 @@ void FlagManager::dump(std::string& result) const {

    /// 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_gpu_sf);
    DUMP_ACONFIG_FLAG(adpf_native_session_manager);
    DUMP_ACONFIG_FLAG(adpf_use_fmq_channel);
@@ -291,7 +290,6 @@ FLAG_MANAGER_ACONFIG_FLAG(window_blur_kawase2_fix_aliasing, "");
/// 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(adpf_cpu_effects_loadup, "");
FLAG_MANAGER_ACONFIG_FLAG(adpf_gpu_sf, "")
FLAG_MANAGER_ACONFIG_FLAG(adpf_native_session_manager, "");
FLAG_MANAGER_ACONFIG_FLAG(buffer_stuffing_fix, "");
+0 −1
Original line number Diff line number Diff line
@@ -52,7 +52,6 @@ public:

    /// Trunk stable server (R/W) flags ///
    bool add_first_vsync_to_tracker() const;
    bool adpf_cpu_effects_loadup() const;
    bool adpf_gpu_sf() const;
    bool adpf_native_session_manager() const;
    bool adpf_use_fmq_channel() const;
+0 −10
Original line number Diff line number Diff line
@@ -13,16 +13,6 @@ flag {
    }
} # add_first_vsync_to_tracker

flag {
  name: "adpf_cpu_effects_loadup"
  namespace: "window_surfaces"
  description: "Enables CPU loadup hints for effects using client composition"
  bug: "409887260"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # adpf_cpu_effects_loadup

flag {
  name: "adpf_fmq_sf"
  namespace: "game"