summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2014-06-03 12:19:32 -0400
committerLeon Scroggins III <scroggo@google.com>2014-06-03 14:05:58 -0400
commit0aa39dc2dcfca20f4d9cbeb1699d48a4808f2c70 (patch)
treed2478b7f7b5080f5f8f1be3e0500a0924610c6d0 /rs/java/android/renderscript/RenderScript.java
parent522a0278065b929e0d75d1d118e26a39ed57f010 (diff)
Ignore inPurgeable and inInputShareable.
These are discouraged anyway, due to the fact that using them may result in decoding on the UI thread. Now that they are ignored, the images will still be decoded; they just will never have their memory purged, meaning there could be a RAM penalty. This is acceptable, since apps are encouraged to instead use inBitmap to manage bitmap memory. This incidentally fixes BUG:15390468 by converting purgeable index8 (e.g. gif) images to non purgeable. Change-Id: Ieaf3ab25d28d93fb94bdaea1eb3bd762f163b09a
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions