diff options
author | Nader Jawad <njawad@google.com> | 2021-05-06 10:48:18 -0700 |
---|---|---|
committer | Nader Jawad <njawad@google.com> | 2021-05-07 22:45:26 -0700 |
commit | bc341860f042edb649055042c955cb9e38fd65a6 (patch) | |
tree | 47268e9c7c007699bccf6464f88d09758980760a /libs/hwui/pipeline/skia/RenderNodeDrawable.cpp | |
parent | 0408e507b625d180070fb6c1d9a799810d3c00ff (diff) |
Updated HWUI to calculate the stretch bounds for a surface
Added logic to StretchEffect to be able to calculate the
stretched position of a pixel on an input texture based
on the current stretch parameters.
Updated shader to leverage linear easing instead of
cubic in order to have a reversible method that
can be used to map input textures to the corresponding
stretch position.
Bug: 179047472
Test: manual
Change-Id: Id32afcf0df1cca03e68ac0c594d307a1090264f2
Diffstat (limited to 'libs/hwui/pipeline/skia/RenderNodeDrawable.cpp')
0 files changed, 0 insertions, 0 deletions