summaryrefslogtreecommitdiffstats
path: root/scriptc
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-07-01 16:14:06 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-07-01 16:14:12 -0700
commit4e9a7a8ded109e16b163789274899447cef02642 (patch)
tree981c2a16598e7ab728c53f236a9ad8f30eb29cd3 /scriptc
parent85c1a5ca627d5b36c7ef1ada6a0fa03e5dc534e1 (diff)
downloadandroid_frameworks_rs-4e9a7a8ded109e16b163789274899447cef02642.tar.gz
android_frameworks_rs-4e9a7a8ded109e16b163789274899447cef02642.tar.bz2
android_frameworks_rs-4e9a7a8ded109e16b163789274899447cef02642.zip
Start of mesh API cleanup.
Switched all native code to go through Mesh class. Removed SimpleMesh Added java Mesh class Will need to port all existing code to use java Mesh, then remove java SimpleMesh. Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_graphics.rsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scriptc/rs_graphics.rsh b/scriptc/rs_graphics.rsh
index fba3d6d0..1f1f1ac0 100644
--- a/scriptc/rs_graphics.rsh
+++ b/scriptc/rs_graphics.rsh
@@ -32,6 +32,10 @@ extern void rsgDrawSpriteScreenspace(float x, float y, float z, float w, float h
extern void __attribute__((overloadable)) rsgDrawSimpleMesh(rs_mesh ism);
extern void __attribute__((overloadable)) rsgDrawSimpleMesh(rs_mesh ism, int start, int len);
+extern void __attribute__((overloadable)) rsgDrawMesh(rs_mesh ism);
+extern void __attribute__((overloadable)) rsgDrawMesh(rs_mesh ism, int primitiveIndex);
+extern void __attribute__((overloadable)) rsgDrawMesh(rs_mesh ism, int primitiveIndex, int start, int len);
+
extern void rsgClearColor(float, float, float, float);
extern void rsgClearDepth(float);