summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2017-12-12 14:46:40 -0800
committer chaviw <chaviw@google.com> 2017-12-12 14:46:40 -0800
commita053926304914385ca2d5c5c303c987071bb78b9 (patch)
treee07945800a27ccc6cd0b92b7ff15dac3b2809e6c /libs/hwui/GradientCache.cpp
parentec646687c3549a670020ec24fe563d9b418b30a0 (diff)
Copy hardware bitmap to a new hardware bitmap for new properties.
The previous code copied the hardware bitmap to a software bitmap so properties like size and matrix could be updated. Instead, copy the hardware bitmap to another hardware bitmap when adjusting the properties. Test: Screenshots notification from status bar and lock screen contain the new bitmap with the correct size. Fixes: 69929720 Change-Id: Ia0bd20a0085a15cfebbe0dfffddcd834363a6964
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
0 files changed, 0 insertions, 0 deletions