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

Commit 441a7edd authored by Patrick Williams's avatar Patrick Williams
Browse files

Add stop layer feature flag

Bug: 403312802
Flag: com.android.graphics.surfaceflinger.flags.stop_layer
Test: n/a - adds a feature flag
Change-Id: Ia58ff50ea780806e7a39ef5e4dfa59225b6b0c5c
parent 2dfd42e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(restore_blur_step);
    DUMP_ACONFIG_FLAG(skip_invisible_windows_in_input);
    DUMP_ACONFIG_FLAG(stable_edid_ids);
    DUMP_ACONFIG_FLAG(stop_layer);
    DUMP_ACONFIG_FLAG(synced_resolution_switch);
    DUMP_ACONFIG_FLAG(trace_frame_rate_override);
    DUMP_ACONFIG_FLAG(true_hdr_screenshots);
@@ -297,6 +298,7 @@ FLAG_MANAGER_ACONFIG_FLAG(display_config_error_hal, "");
FLAG_MANAGER_ACONFIG_FLAG(connected_display_hdr, "debug.sf.connected_display_hdr");
FLAG_MANAGER_ACONFIG_FLAG(deprecate_frame_tracker, "");
FLAG_MANAGER_ACONFIG_FLAG(skip_invisible_windows_in_input, "");
FLAG_MANAGER_ACONFIG_FLAG(stop_layer, "");
FLAG_MANAGER_ACONFIG_FLAG(begone_bright_hlg, "debug.sf.begone_bright_hlg");
FLAG_MANAGER_ACONFIG_FLAG(window_blur_kawase2, "");
FLAG_MANAGER_ACONFIG_FLAG(reject_dupe_layerstacks, "");
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ public:
    bool restore_blur_step() const;
    bool skip_invisible_windows_in_input() const;
    bool stable_edid_ids() const;
    bool stop_layer() const;
    bool synced_resolution_switch() const;
    bool trace_frame_rate_override() const;
    bool true_hdr_screenshots() const;
+8 −0
Original line number Diff line number Diff line
@@ -291,6 +291,14 @@ flag {
  is_fixed_read_only: true
} # stable_edid_ids

flag {
    name: "stop_layer"
    namespace: "window_surfaces"
    description: "Enables stop layers when building layer snapshots"
    bug: "403312802"
    is_fixed_read_only: true
} # stop_layer

flag {
  name: "synced_resolution_switch"
  namespace: "core_graphics"