summaryrefslogtreecommitdiffstats
path: root/scriptc
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-07-09 15:34:32 -0700
committerJason Sams <rjsams@android.com>2010-07-09 15:34:32 -0700
commit479e2924807e1fff79de2e0bee2a67939d8659ee (patch)
tree33ab2f88d3b59f0acc8446c376cc137ae7e2cf5b /scriptc
parentc4cdf4586a0210a0e4b7b9bf38e8973b31d17ea1 (diff)
downloadandroid_frameworks_rs-479e2924807e1fff79de2e0bee2a67939d8659ee.tar.gz
android_frameworks_rs-479e2924807e1fff79de2e0bee2a67939d8659ee.tar.bz2
android_frameworks_rs-479e2924807e1fff79de2e0bee2a67939d8659ee.zip
Remove points from fixed function.
Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_math.rsh17
1 files changed, 17 insertions, 0 deletions
diff --git a/scriptc/rs_math.rsh b/scriptc/rs_math.rsh
index 37092967..4390a5d9 100644
--- a/scriptc/rs_math.rsh
+++ b/scriptc/rs_math.rsh
@@ -48,6 +48,23 @@ extern int64_t rsElapsedTimeMillis();
extern int rsSendToClient(void *data, int cmdID, int len, int waitForSpace);
// Script to Script
+typedef struct rs_script_call_rec {
+ rs_script script;
+ rs_allocation input;
+ rs_allocation output;
+
+ uint32_t xStart;
+ uint32_t xEnd;
+ uint32_t yStart;
+ uint32_t yEnd;
+ uint32_t zStart;
+ uint32_t zEnd;
+ uint32_t arrayStart;
+ uint32_t arrayEnd;
+
+ const void * usrData;
+} rs_script_call;
+
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);