Start passing element/dim information along with FieldPacker.

BUG=6009244

Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
This commit is contained in:
Stephen Hines
2012-04-20 14:26:06 -07:00
parent 9da1b5d030
commit adeb809201
7 changed files with 110 additions and 1 deletions

View File

@@ -541,6 +541,13 @@ public class RenderScript {
validate();
rsnScriptSetVarV(mContext, id, slot, val);
}
native void rsnScriptSetVarVE(int con, int id, int slot, byte[] val,
int e, int[] dims);
synchronized void nScriptSetVarVE(int id, int slot, byte[] val,
int e, int[] dims) {
validate();
rsnScriptSetVarVE(mContext, id, slot, val, e, dims);
}
native void rsnScriptSetVarObj(int con, int id, int slot, int val);
synchronized void nScriptSetVarObj(int id, int slot, int val) {
validate();