summaryrefslogtreecommitdiff
path: root/libs/renderengine/RenderEngine.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-07-11 15:04:07 -0700
committer Vishnu Nair <vishnun@google.com> 2022-10-03 21:40:42 +0000
commitadb7039741c5ba05d15b24a73d24d1229173f02e (patch)
treeda59cf543b25589f7aed14293e53307b1f31dee4 /libs/renderengine/RenderEngine.cpp
parent293041cac77386d5a782de721a1ee63a34556965 (diff)
SF: Support xy scaling for rounded corners
Currently only a single corner radius can be applied on a layer. If the layer's x and y scale do not match, the average is used to scale the corner radius. This can cause visual defects in the rendered rounded corners. This defect can be seen when moving the Camera app to recents. The camera buffer is submitted with a rotation and the layer's x and y scales are used to stretch the buffer to the desired size in portrait mode. Bug: 145094543, 250491108 Test: atest librenderengine_test Test: adb shell wm size 1000x1900 & animate camera app to recents Change-Id: Ie76581eb200a57b847f619f4da0e61758f70dce7 (cherry picked from commit 50c0afe2457ec631fc3c9a7731aa4b9c8e18fd76) Merged-In: Ie76581eb200a57b847f619f4da0e61758f70dce7
Diffstat (limited to 'libs/renderengine/RenderEngine.cpp')
0 files changed, 0 insertions, 0 deletions