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

Commit becabcbb authored by Shan Huang's avatar Shan Huang
Browse files

Add a flag for Kawase2 aliasing fix.

Bug: 419000500
Flag:com.android.graphics.surfaceflinger.flags.window_blur_kawase2_fix_aliasing
Test: builds

Change-Id: Idef0064b84e2e7681c08ada248475567c0e6d3bf
parent ad972afc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ FLAG_MANAGER_ACONFIG_FLAG(begone_bright_hlg, "debug.sf.begone_bright_hlg");
FLAG_MANAGER_ACONFIG_FLAG(wb_virtualdisplay2, "");
FLAG_MANAGER_ACONFIG_FLAG(window_blur_kawase2, "");
FLAG_MANAGER_ACONFIG_FLAG(synced_resolution_switch, "");
FLAG_MANAGER_ACONFIG_FLAG(window_blur_kawase2_fix_aliasing, "");

/// Trunk stable server (R/W) flags ///
FLAG_MANAGER_ACONFIG_FLAG(refresh_rate_overlay_on_external_display, "")
+1 −0
Original line number Diff line number Diff line
@@ -110,6 +110,7 @@ public:
    bool vulkan_renderengine() const;
    bool wb_virtualdisplay2() const;
    bool window_blur_kawase2() const;
    bool window_blur_kawase2_fix_aliasing() const;
    /// IMPORTANT - please keep alphabetize to reduce merge conflicts

protected:
+10 −0
Original line number Diff line number Diff line
@@ -348,4 +348,14 @@ flag {
  bug: "353826438"
} # window_blur_kawase2

flag {
  name: "window_blur_kawase2_fix_aliasing"
  namespace: "core_graphics"
  description: "Flag for mitigating aliasing in Kawase2 window blur"
  bug: "33968507"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
} # window_blur_kawase2_fix_aliasing

# IMPORTANT - please keep alphabetize to reduce merge conflicts