Beging IO stream out from allocation to surface texture.
Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
This commit is contained in:
@ -274,6 +274,22 @@ public class RenderScript {
|
||||
validate();
|
||||
return rsnAllocationGetSurfaceTextureID(mContext, alloc);
|
||||
}
|
||||
native void rsnAllocationSetSurfaceTexture(int con, int alloc, SurfaceTexture sur);
|
||||
synchronized void nAllocationSetSurfaceTexture(int alloc, SurfaceTexture sur) {
|
||||
validate();
|
||||
rsnAllocationSetSurfaceTexture(mContext, alloc, sur);
|
||||
}
|
||||
native void rsnAllocationIoSend(int con, int alloc);
|
||||
synchronized void nAllocationIoSend(int alloc) {
|
||||
validate();
|
||||
rsnAllocationIoSend(mContext, alloc);
|
||||
}
|
||||
native void rsnAllocationIoReceive(int con, int alloc);
|
||||
synchronized void nAllocationIoReceive(int alloc) {
|
||||
validate();
|
||||
rsnAllocationIoReceive(mContext, alloc);
|
||||
}
|
||||
|
||||
|
||||
native void rsnAllocationGenerateMipmaps(int con, int alloc);
|
||||
synchronized void nAllocationGenerateMipmaps(int alloc) {
|
||||
|
Reference in New Issue
Block a user