Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.

This commit is contained in:
Jason Sams
2009-09-03 15:43:13 -07:00
parent 1c1ffa0cab
commit 2525a81522
13 changed files with 194 additions and 88 deletions

View File

@ -106,7 +106,7 @@ public class RenderScript {
native void nAllocationSubData2D(int id, int xoff, int yoff, int w, int h, float[] d, int sizeBytes);
native void nAllocationRead(int id, int[] d);
native void nAllocationRead(int id, float[] d);
native void nAllocationDataFromObject(int id, Type t, Object o);
native void nAllocationSubDataFromObject(int id, Type t, int offset, Object o);
native void nTriangleMeshBegin(int vertex, int index);
native void nTriangleMeshAddVertex_XY (float x, float y);