diff options
| author | Jason Sams <rjsams@android.com> | 2010-05-28 18:23:22 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-05-28 18:23:22 -0700 |
| commit | f17bccc9050498f51a32a2ee78f5d5a306008e3d (patch) | |
| tree | d77d5bdaf502bdd34af96732258ed73acd506f2a /libs/rs/scriptc | |
| parent | 3255823de062e981f7bfc7994919207988697e45 (diff) | |
| download | frameworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.zip frameworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.tar.gz frameworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.tar.bz2 | |
Rough implemetation of ForEach.
Remove launchID from root graphics script.
Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
Diffstat (limited to 'libs/rs/scriptc')
| -rw-r--r-- | libs/rs/scriptc/rs_math.rsh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/rs/scriptc/rs_math.rsh b/libs/rs/scriptc/rs_math.rsh index 33e7ee4..91c4303 100644 --- a/libs/rs/scriptc/rs_math.rsh +++ b/libs/rs/scriptc/rs_math.rsh @@ -66,6 +66,14 @@ extern void rsMatrixRotate(rs_matrix4x4 *mat, float rot, float x, float y, float extern void rsMatrixScale(rs_matrix4x4 *mat, float x, float y, float z); extern void rsMatrixTranslate(rs_matrix4x4 *mat, float x, float y, float z); +// Script to Script +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input); +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, rs_allocation output); +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, int xStart, int xEnd); +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, rs_allocation output, int xStart, int xEnd); +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, int xStart, int yStart, int xEnd, int yEnd); +extern void __attribute__((overloadable))rsForEach(rs_script, rs_allocation input, rs_allocation output, int xStart, int yStart, int xEnd, int yEnd); + /////////////////////////////////////////////////////////////////// // non update funcs |
