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

Commit 3679faeb authored by Wenhui Yang's avatar Wenhui Yang
Browse files

Add flag offload_gpu_composition

Bug: 428611036
Flag: com.android.graphics.surfaceflinger.flags.offload_gpu_composition
Test: presubmit
Change-Id: I5125ab7891359ffa7c9cbc0e85204d94a65611f7
parent b18c8f50
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ void FlagManager::dump(std::string& result) const {
    DUMP_ACONFIG_FLAG(graphite_renderengine_preview_rollout);
    DUMP_ACONFIG_FLAG(increase_missed_frame_jank_threshold);
    DUMP_ACONFIG_FLAG(monitor_buffer_fences);
    DUMP_ACONFIG_FLAG(offload_gpu_composition);
    DUMP_ACONFIG_FLAG(readback_screenshot);
    DUMP_ACONFIG_FLAG(refresh_rate_overlay_on_external_display);
    DUMP_ACONFIG_FLAG(reset_model_flushes_fence);
@@ -298,6 +299,7 @@ FLAG_MANAGER_ACONFIG_FLAG(buffer_stuffing_fix, "");
FLAG_MANAGER_ACONFIG_FLAG(graphite_renderengine_preview_rollout, "");
FLAG_MANAGER_ACONFIG_FLAG(increase_missed_frame_jank_threshold, "");
FLAG_MANAGER_ACONFIG_FLAG(monitor_buffer_fences, "");
FLAG_MANAGER_ACONFIG_FLAG(offload_gpu_composition, "");
FLAG_MANAGER_ACONFIG_FLAG(readback_screenshot, "")
FLAG_MANAGER_ACONFIG_FLAG(resync_on_tx, "");
FLAG_MANAGER_ACONFIG_FLAG(reset_model_flushes_fence, "");
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ public:
    bool graphite_renderengine_preview_rollout() const;
    bool increase_missed_frame_jank_threshold() const;
    bool monitor_buffer_fences() const;
    bool offload_gpu_composition() const;
    bool readback_screenshot() const;
    bool reset_model_flushes_fence() const;
    bool resync_on_tx() const;
+19 −11
Original line number Diff line number Diff line
@@ -237,6 +237,25 @@ flag {
  is_fixed_read_only: true
} # no_vsyncs_on_screen_off

flag {
  name: "offload_gpu_composition"
  namespace: "window_surfaces"
  description: "Offload virtual display client composition from main thread"
  bug: "428611036"
  is_fixed_read_only: true
} # offload_gpu_composition

flag {
  name: "override_trusted_overlay"
  namespace: "window_surfaces"
  description: "Allow child to disable trusted overlay set by a parent layer"
  bug: "339701674"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # override_trusted_overlay

flag {
  name: "pacesetter_selection"
  namespace: "desktop_display"
@@ -328,17 +347,6 @@ flag {
  is_fixed_read_only: true
} # true_hdr_screenshots

 flag {
  name: "override_trusted_overlay"
  namespace: "window_surfaces"
  description: "Allow child to disable trusted overlay set by a parent layer"
  bug: "339701674"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # override_trusted_overlay

flag {
    name: "unify_refresh_rate_callbacks"
    namespace: "core_graphics"