summaryrefslogtreecommitdiffstats
path: root/cpu_ref/rsd_cpu.h
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2014-08-13 17:32:10 +0000
committerStephen Hines <srhines@google.com>2014-08-13 17:32:10 +0000
commit4b2bea3dc20865f3a198797702e19912a6a2171c (patch)
treeb028521e6474ab22bc99571ead62e1e4f0cb2dc6 /cpu_ref/rsd_cpu.h
parent818cfa034e257c7bb48356257f5cb67334e19aa6 (diff)
downloadandroid_frameworks_rs-4b2bea3dc20865f3a198797702e19912a6a2171c.tar.gz
android_frameworks_rs-4b2bea3dc20865f3a198797702e19912a6a2171c.tar.bz2
android_frameworks_rs-4b2bea3dc20865f3a198797702e19912a6a2171c.zip
Revert "Collapse code paths for single- and multi-input kernels."
This reverts commit 818cfa034e257c7bb48356257f5cb67334e19aa6. Change-Id: I59f39f52e6c8f60bb01cbcb8ccf2215eaf46a57f
Diffstat (limited to 'cpu_ref/rsd_cpu.h')
-rw-r--r--cpu_ref/rsd_cpu.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/cpu_ref/rsd_cpu.h b/cpu_ref/rsd_cpu.h
index 4728b7c8..0076cb98 100644
--- a/cpu_ref/rsd_cpu.h
+++ b/cpu_ref/rsd_cpu.h
@@ -69,15 +69,21 @@ public:
virtual void populateScript(Script *) = 0;
virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength) = 0;
virtual int invokeRoot() = 0;
-
virtual void invokeForEach(uint32_t slot,
- const Allocation ** ains,
- uint32_t inLen,
- Allocation * aout,
- const void * usr,
- uint32_t usrLen,
- const RsScriptCall *sc) = 0;
-
+ const Allocation * ain,
+ Allocation * aout,
+ const void * usr,
+ uint32_t usrLen,
+ const RsScriptCall *sc) = 0;
+
+ virtual void invokeForEachMulti(uint32_t slot,
+ const Allocation** ains,
+ uint32_t inLen,
+ Allocation * aout,
+ const void * usr,
+ uint32_t usrLen,
+ const RsScriptCall *sc) = 0;
+
virtual void invokeInit() = 0;
virtual void invokeFreeChildren() = 0;