diff options
author | Jason Sams <rjsams@android.com> | 2011-07-25 12:58:37 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2011-07-25 12:58:37 -0700 |
commit | cf57dec80b3d34f09fd22693fa5a07a3f3a9ea83 (patch) | |
tree | 31e96275c5ac6b97f3996ba94f6455985022bd96 /libs/rs/scriptc/rs_math.rsh | |
parent | 1a15b03f62e487103348d3e6a44cd31178dd1988 (diff) | |
download | frameworks_base-cf57dec80b3d34f09fd22693fa5a07a3f3a9ea83.zip frameworks_base-cf57dec80b3d34f09fd22693fa5a07a3f3a9ea83.tar.gz frameworks_base-cf57dec80b3d34f09fd22693fa5a07a3f3a9ea83.tar.bz2 |
Add size param to rsForEach
bug 5074640
Change-Id: I395bd8b295beacc979681ccdd3451d9d6cc3d672
Diffstat (limited to 'libs/rs/scriptc/rs_math.rsh')
-rw-r--r-- | libs/rs/scriptc/rs_math.rsh | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/libs/rs/scriptc/rs_math.rsh b/libs/rs/scriptc/rs_math.rsh index f38f72c..fb5c4f6 100644 --- a/libs/rs/scriptc/rs_math.rsh +++ b/libs/rs/scriptc/rs_math.rsh @@ -249,15 +249,28 @@ typedef struct rs_script_call { uint32_t arrayEnd; } rs_script_call_t; +#if 1//(RS_VERSION >= 14) extern void __attribute__((overloadable)) - rsForEach(rs_script script, rs_allocation input, - rs_allocation output, const void * usrData); + rsForEach(rs_script script, rs_allocation input, rs_allocation output); extern void __attribute__((overloadable)) + rsForEach(rs_script script, rs_allocation input, rs_allocation output, + const void * usrData, size_t usrDataLen); + +extern void __attribute__((overloadable)) + rsForEach(rs_script script, rs_allocation input, rs_allocation output, + const void * usrData, size_t usrDataLen, const rs_script_call_t *); +#else +extern void __attribute__((overloadable)) rsForEach(rs_script script, rs_allocation input, rs_allocation output, const void * usrData, const rs_script_call_t *); +#endif +// Move me once dependant changes are in. +extern void __attribute__((overloadable)) + rsForEach(rs_script script, rs_allocation input, + rs_allocation output, const void * usrData); /** |