OSDN Git Service

Collapse code paths for single- and multi-input kernels.
authorChris Wailes <chriswailes@google.com>
Tue, 15 Jul 2014 17:56:14 +0000 (10:56 -0700)
committerChris Wailes <chriswailes@google.com>
Thu, 7 Aug 2014 21:57:22 +0000 (14:57 -0700)
commiteb3470219dea322efa93eb4b5457813ce71d0c5d
treee2b39ce6551456d9f867c8f95217a072a7fa4419
parent7f93572650d939a416588a17baab87906d310c40
Collapse code paths for single- and multi-input kernels.

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
rs/java/android/renderscript/RenderScript.java
rs/java/android/renderscript/Script.java
rs/jni/android_renderscript_RenderScript.cpp