Implement USAGE_IO_INPUT
Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
This commit is contained in:
@ -16,8 +16,8 @@
|
||||
|
||||
package android.renderscript;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
@ -294,6 +294,11 @@ public class RenderScript {
|
||||
validate();
|
||||
return rsnAllocationGetSurfaceTextureID(mContext, alloc);
|
||||
}
|
||||
native void rsnAllocationGetSurfaceTextureID2(int con, int alloc, SurfaceTexture st);
|
||||
synchronized void nAllocationGetSurfaceTextureID2(int alloc, SurfaceTexture st) {
|
||||
validate();
|
||||
rsnAllocationGetSurfaceTextureID2(mContext, alloc, st);
|
||||
}
|
||||
native void rsnAllocationSetSurfaceTexture(int con, int alloc, SurfaceTexture sur);
|
||||
synchronized void nAllocationSetSurfaceTexture(int alloc, SurfaceTexture sur) {
|
||||
validate();
|
||||
|
Reference in New Issue
Block a user