summaryrefslogtreecommitdiff
path: root/rsScript.cpp
diff options
context:
space:
mode:
authorMatt Wala <wala@google.com>2015-07-20 15:38:17 -0700
committerMatt Wala <wala@google.com>2015-07-21 11:09:01 -0700
commit39a9d9b7d1e1231c89021d2a45b59e9c08eed4b4 (patch)
treedc74c3cefeff9a7865cda566e1bc8938c132fef2 /rsScript.cpp
parent83268ff957a17fc21132e923709ca43cea9b251c (diff)
downloadrs-39a9d9b7d1e1231c89021d2a45b59e9c08eed4b4.tar.gz
Add a ScriptReduce API entry and a stub function rsi_ScriptReduce().
Bug: 22631253 Change-Id: I16769d58e3ff3ac712d005b07ffa5aff4116d227
Diffstat (limited to 'rsScript.cpp')
-rw-r--r--rsScript.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rsScript.cpp b/rsScript.cpp
index 7ea9857b..483789cb 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -224,6 +224,12 @@ void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot,
}
}
+void rsi_ScriptReduce(Context *rsc, RsScript vs, uint32_t slot,
+ RsAllocation vain, RsAllocation vaout,
+ const RsScriptCall *sc, size_t scLen) {
+ // TODO(wala)
+}
+
void rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) {
Script *s = static_cast<Script *>(vs);
s->Invoke(rsc, slot, nullptr, 0);