summaryrefslogtreecommitdiffstats
path: root/rs/java/android/renderscript/Script.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix Allocation-less launchesJason Sams2015-05-051-2/+2
| | | | | | | | | | Cherry-pick fix from AOSP. Error check for kernel launch was generating a false positive. bug 20690242 Change-Id: Ic4c6644072a11aab9a273070be5734519136f685
* Update LaunchOptions descriptionJason Sams2015-03-301-1/+17
| | | | Change-Id: I7425c9ea9d82ed54950557e93aa46b69ebc02c23
* unhide RS apisJason Sams2015-03-301-6/+3
| | | | Change-Id: I30c3349c9222765ad7850890e0431bc6a6d3757a
* Frameworks/base: Fix potential NPE in ScriptAndreas Gampe2015-03-181-3/+8
| | | | | Bug: 19797138 Change-Id: I5cd9394bd2c0f7c044c1f2f24665384fa797cd97
* Frameworks/base: Check before foreach in ScriptAndreas Gampe2015-03-151-2/+4
| | | | | | | According to the if below, ains == null is potentially valid. But the foreach loop would throw a NullPointerException. Change-Id: I4460fb1357eaa3abfe0ab9a21effb608f474ab51
* Adds invocable functions to ScriptGroupYang Ni2015-02-041-0/+40
| | | | | | This also includes InvokeID support Change-Id: I5b59df166ea30b309b8dd9623825ac0e72d03856
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-181-46/+68
| | | | | | | | | This patch simplifies the RenderScript JNI layer by replacing six functions with a single funciton. This new function now handles all previous cases. Functions in android.renderscript.script have been updated to use this new JNI function. Change-Id: I6cd5448534c38123d51a589339bbeb7e98453e73
* Revert "Collapse code paths for single- and multi-input kernels."Stephen Hines2014-08-131-68/+46
| | | | | | This reverts commit eb3470219dea322efa93eb4b5457813ce71d0c5d. Change-Id: Id943abf953e832ef831318e6699d4b46e9b46201
* Collapse code paths for single- and multi-input kernels.Chris Wailes2014-08-071-46/+68
| | | | | | | | | This patch simplifies the RenderScript JNI layer by replacing six functions with a single funciton. This new function now handles all previous cases. Functions in android.renderscript.script have been updated to use this new JNI function. Change-Id: I77e4b155cc7ca1581b05bf901c70ae53a9ff0b12
* Adds support for multi-input kernels to Frameworks/Base/RS.Chris Wailes2014-07-071-1/+48
| | | | | | | | * Added a new JNI call to pass arrays of Allocations to the RS runtime. * Added a new version of ForEach that takes an array of Allocations. * Added some casts to disambiguate existing calls to forEach. Change-Id: I46d2834c37075b2a2407fd8b010546818a4540d1
* Validate objects are from the correct context.Jason Sams2014-03-051-0/+9
| | | | Change-Id: I7d87b0e253b8d2e36d1aed790cfe3a7dd23e158f
* Check that bound allocations are 1DJason Sams2014-01-311-0/+7
| | | | | | | | We do not support higher order bound allocations. The stride is not available to the script so they cannot walk the allocation correctly. Change-Id: I9447a5d43c3ae1b88fc9522628a17bd5a317ffc6
* Move RenderScript from graphics/ to new fw/base subdirectory rs.Tim Murray2014-01-311-0/+464
Change-Id: I30b6633578f063840e1bdbcc9ba513b727912a6d