summaryrefslogtreecommitdiffstats
path: root/libs/rs/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
commit164aaedf7f24827c3da84acc733325ae985930d6 (patch)
tree20e8d0a291b527ce31dc91dd3a32e32ab69a5ad8 /libs/rs/scriptc
parent738639ccd0f12b06d17df3d3b3ee68f506311331 (diff)
downloadframeworks_base-164aaedf7f24827c3da84acc733325ae985930d6.zip
frameworks_base-164aaedf7f24827c3da84acc733325ae985930d6.tar.gz
frameworks_base-164aaedf7f24827c3da84acc733325ae985930d6.tar.bz2
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 'libs/rs/scriptc')
-rw-r--r--libs/rs/scriptc/rs_graphics.rsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/rs/scriptc/rs_graphics.rsh b/libs/rs/scriptc/rs_graphics.rsh
index fba3d6d..1f1f1ac 100644
--- a/libs/rs/scriptc/rs_graphics.rsh
+++ b/libs/rs/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);