summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-01-14 14:41:46 -0500
committerLeon Scroggins III <scroggo@google.com>2018-01-17 17:04:17 -0500
commit8c9d8f2aec65e449005a4a69c54f691ebd514e52 (patch)
tree8ebe6020d3f3233da9acab263ac8f58f9092e4c8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent21acc10b28a39892d49940e2d8d3331e1e7f67fd (diff)
Ensure that PostProcess Canvas is released
Bug: 63909536 Bug: 63908092 Test: CtsGraphicsTestCases (ImageDecoderTest) Refactor a method for calling postProcess from ImageDecoder. This will be shared with the animated drawable (TODO). Call PostProcess.postProcess in Java inside a try block to ensure that the Canvas is released. Otherwise, a client could hold on to a pointer to Canvas and keep using it, even though we have removed its backing. In addition, share code for calling nDecodeBitmap. Change-Id: I81ce2befce91ac1e27c78ad059c4b173a2c7e679
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions