commit | 9f9964b1fed9b506a0e1a572217fee69ff74caf4 | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Fri Mar 27 11:36:30 2015 -0700 |
committer | Miao Wang <miaowang@google.com> | Fri Mar 27 11:36:30 2015 -0700 |
tree | 9ef83cccbf5bf04d4b1d4bcff3be05d69011184f | |
parent | 544fa4ef1f418d6fe87b95a8bd75436904c11c44 [diff] |
[RenderScript] Make support lib harder to leak context. - For compat lib, the created context will be cached for future reuse within the process now. - For native renderscript, the caching mechanism will be enbled for API 23 and above. - A createMultiContext() is added to support applications need more than one RenderScript Context to be used at the same time. Change-Id: Iaddc0995bfcb1aec0244bdbeed834a33edf8fc7c