summaryrefslogtreecommitdiffstats
path: root/scriptc
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-07-19 15:38:19 -0700
committerJason Sams <rjsams@android.com>2010-07-19 15:38:19 -0700
commit7bf29ddc35450d8064541c42c99a1f48be6cf0dd (patch)
tree927d3787dfa54f4454c7e3ab9578aded62209671 /scriptc
parent0a5ecb128807fb6fd7162d3e9e1322f437bdaf8a (diff)
downloadandroid_frameworks_rs-7bf29ddc35450d8064541c42c99a1f48be6cf0dd.tar.gz
android_frameworks_rs-7bf29ddc35450d8064541c42c99a1f48be6cf0dd.tar.bz2
android_frameworks_rs-7bf29ddc35450d8064541c42c99a1f48be6cf0dd.zip
Threading RS ForEach.
Change-Id: I5d6fe4db2b6ac0613394bc5a066ff90ec146d60e
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_math.rsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scriptc/rs_math.rsh b/scriptc/rs_math.rsh
index e11c832d..bd6e5a9e 100644
--- a/scriptc/rs_math.rsh
+++ b/scriptc/rs_math.rsh
@@ -14,6 +14,12 @@ extern uint32_t rsAllocationGetDimZ(rs_allocation);
extern uint32_t rsAllocationGetDimLOD(rs_allocation);
extern uint32_t rsAllocationGetDimFaces(rs_allocation);
+extern const void * __attribute__((overloadable))
+ rsGetElementAt(rs_allocation, uint32_t x);
+extern const void * __attribute__((overloadable))
+ rsGetElementAt(rs_allocation, uint32_t x, uint32_t y);
+extern const void * __attribute__((overloadable))
+ rsGetElementAt(rs_allocation, uint32_t x, uint32_t y, uint32_t z);
// Debugging