summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-03-20 11:11:13 -0400
committerLeon Scroggins III <scroggo@google.com>2018-03-21 09:28:00 -0400
commiteb3b38e22cb29c6a7fccb7031263f50663cc76d0 (patch)
tree020068ada31d756c10864558c63da49f37a8fe10 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbf190fd9641cd3ad76bc7bb289b4a3de83d0335a (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