Skip to content

Commit

Permalink
spes: overlay: Disable alpha compositing in WM
Browse files Browse the repository at this point in the history
Completely eliminates occasional jank in few animations

Signed-off-by: Parixshit <87859520+Parixshit@users.noreply.github.com>
  • Loading branch information
Adithya R authored and ap4ss3rby committed Aug 7, 2023
1 parent 9421f5d commit 2bf2a7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -893,4 +893,10 @@

<!-- Whether or not wcg mode should be enabled on this device -->
<bool name="config_enableWcgMode">true</bool>

<!-- Flag indicating whether the surface flinger has limited
alpha compositing functionality in hardware. If set, the window
manager will disable alpha trasformation in animations where not
strictly needed. -->
<bool name="config_sf_limitedAlpha">true</bool>
</resources>

0 comments on commit 2bf2a7c

Please sign in to comment.