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:
@@ -110,9 +110,12 @@ public class Allocation extends BaseObj {
|
||||
}
|
||||
|
||||
public void data(Object o) {
|
||||
mRS.nAllocationDataFromObject(mID, mType, o);
|
||||
mRS.nAllocationSubDataFromObject(mID, mType, 0, o);
|
||||
}
|
||||
|
||||
public void subData(int offset, Object o) {
|
||||
mRS.nAllocationSubDataFromObject(mID, mType, offset, o);
|
||||
}
|
||||
|
||||
public class Adapter1D extends BaseObj {
|
||||
Adapter1D(int id, RenderScript rs) {
|
||||
|
||||
Reference in New Issue
Block a user