summaryrefslogtreecommitdiff
path: root/cpu_ref/rsCpuScript.h
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2013-09-09 17:32:16 -0700
committerJason Sams <jsams@google.com>2013-09-09 17:34:59 -0700
commit17e3cdc24776d8fdbf1ce16287b9b4dcd516708f (patch)
tree322e5601b2b2d047d3dd6c6430c1136abc83ad4b /cpu_ref/rsCpuScript.h
parent4c4bec1fa216cc2b90625cab01ef678c242c38d1 (diff)
downloadrs-17e3cdc24776d8fdbf1ce16287b9b4dcd516708f.tar.gz
Fix ScriptGroup performance regression
bug 10151545 Change-Id: Ica4a30c6fe8718f7fdbff0b446885d9ac7083769
Diffstat (limited to 'cpu_ref/rsCpuScript.h')
-rw-r--r--cpu_ref/rsCpuScript.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu_ref/rsCpuScript.h b/cpu_ref/rsCpuScript.h
index 7d52507a..c8a73bb7 100644
--- a/cpu_ref/rsCpuScript.h
+++ b/cpu_ref/rsCpuScript.h
@@ -52,6 +52,12 @@ public:
virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength);
virtual int invokeRoot();
+ virtual void preLaunch(uint32_t slot, const Allocation * ain,
+ Allocation * aout, const void * usr,
+ uint32_t usrLen, const RsScriptCall *sc);
+ virtual void postLaunch(uint32_t slot, const Allocation * ain,
+ Allocation * aout, const void * usr,
+ uint32_t usrLen, const RsScriptCall *sc);
virtual void invokeForEach(uint32_t slot,
const Allocation * ain,
Allocation * aout,