Add name to ScriptGroup2.Builder.create() method
This name will be used to name the .so file generated for the script group with fused kernels. Change-Id: I46e351c8412740512f56b7915b14f36183c6eeaf
This commit is contained in:
@ -332,10 +332,12 @@ public class RenderScript {
|
||||
rsnClosureSetGlobal(mContext, closureID, fieldID, value, size);
|
||||
}
|
||||
|
||||
native long rsnScriptGroup2Create(long con, String cachePath, long[] closures);
|
||||
synchronized long nScriptGroup2Create(String cachePath, long[] closures) {
|
||||
native long rsnScriptGroup2Create(long con, String name, String cachePath,
|
||||
long[] closures);
|
||||
synchronized long nScriptGroup2Create(String name, String cachePath,
|
||||
long[] closures) {
|
||||
validate();
|
||||
return rsnScriptGroup2Create(mContext, cachePath, closures);
|
||||
return rsnScriptGroup2Create(mContext, name, cachePath, closures);
|
||||
}
|
||||
|
||||
native void rsnScriptGroup2Execute(long con, long groupID);
|
||||
|
Reference in New Issue
Block a user