Implement named slots and convert script.addType to script.setType to remove ordering restrictions.

This commit is contained in:
Jason Sams
2009-08-13 12:59:04 -07:00
parent 1b52aae4d9
commit fbf0b9ecda
14 changed files with 176 additions and 105 deletions

View File

@ -142,10 +142,10 @@ public class RenderScript {
native void nScriptSetClearDepth(int script, float depth);
native void nScriptSetClearStencil(int script, int stencil);
native void nScriptSetTimeZone(int script, byte[] timeZone);
native void nScriptSetType(int type, String name, int slot);
native void nScriptSetRoot(boolean isRoot);
native void nScriptCBegin();
native void nScriptCAddType(int type);
native void nScriptCSetRoot(boolean isRoot);
native void nScriptCSetScript(byte[] script, int offset, int length);
native int nScriptCCreate();
native void nScriptCAddDefineI32(String name, int value);