diff options
author | 2010-07-15 17:11:13 -0700 | |
---|---|---|
committer | 2010-07-15 17:11:13 -0700 | |
commit | 8f8a5724bee0f958ef81a7154e4fd40fb6f07a49 (patch) | |
tree | 06ae96f235518c3ba85241523903f9be4c1b01cb /libs/rs/rsScript.h | |
parent | 506821b406181ff9b9a10c2fc078d16b79a8cf92 (diff) |
1st cut of ForEach and test.
Change-Id: I6534569c8d26db8b9691666134a555c8bf94184e
Diffstat (limited to 'libs/rs/rsScript.h')
-rw-r--r-- | libs/rs/rsScript.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/rs/rsScript.h b/libs/rs/rsScript.h index ea6aec5405be..0717059fbd8b 100644 --- a/libs/rs/rsScript.h +++ b/libs/rs/rsScript.h @@ -64,9 +64,11 @@ public: void setVar(uint32_t slot, const void *val, uint32_t len); - virtual void runForEach(Context *rsc, const Allocation *ain, Allocation *aout) = 0; - virtual void runForEach(Context *rsc, const Allocation *ain, Allocation *aout, uint32_t xStart, uint32_t xEnd) = 0; - virtual void runForEach(Context *rsc, const Allocation *ain, Allocation *aout, uint32_t xStart, uint32_t yStart, uint32_t xEnd, uint32_t yEnd) = 0; + virtual void runForEach(Context *rsc, + const Allocation * ain, + Allocation * aout, + const void * usr, + const RsScriptCall *sc = NULL) = 0; virtual void Invoke(Context *rsc, uint32_t slot, const void *data, uint32_t len) = 0; virtual void setupScript(Context *rsc) = 0; |