summaryrefslogtreecommitdiff
path: root/libs/hwui/pipeline/skia/RenderNodeDrawable.cpp
diff options
context:
space:
mode:
authorNader Jawad <njawad@google.com>2021-05-06 10:48:18 -0700
committerNader Jawad <njawad@google.com>2021-05-07 22:45:26 -0700
commitbc341860f042edb649055042c955cb9e38fd65a6 (patch)
tree47268e9c7c007699bccf6464f88d09758980760a /libs/hwui/pipeline/skia/RenderNodeDrawable.cpp
parent0408e507b625d180070fb6c1d9a799810d3c00ff (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