diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-03-20 11:11:13 -0400 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-03-21 09:28:00 -0400 |
commit | eb3b38e22cb29c6a7fccb7031263f50663cc76d0 (patch) | |
tree | 020068ada31d756c10864558c63da49f37a8fe10 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bf190fd9641cd3ad76bc7bb289b4a3de83d0335a (diff) |
Report native allocation size of AnimatedImageDrawable
Bug: 73641604
Test: infeasible
Fix nNativeByteSize's return value to be jlong, instead of long.
Add up the bytes used by the SkAnimatedImage and SkPictures and store
them on the AnimatedImageDrawable for registration.
Note that this is an approximation, and it assumes it will be drawn to a
hardware canvas and animated.
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions