Start implementing SurfaceTexture streaming into RS allocations.
Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
This commit is contained in:
@ -269,6 +269,12 @@ public class RenderScript {
|
||||
validate();
|
||||
rsnAllocationSyncAll(mContext, alloc, src);
|
||||
}
|
||||
native int rsnAllocationGetSurfaceTextureID(int con, int alloc);
|
||||
synchronized int nAllocationGetSurfaceTextureID(int alloc) {
|
||||
validate();
|
||||
return rsnAllocationGetSurfaceTextureID(mContext, alloc);
|
||||
}
|
||||
|
||||
native void rsnAllocationGenerateMipmaps(int con, int alloc);
|
||||
synchronized void nAllocationGenerateMipmaps(int alloc) {
|
||||
validate();
|
||||
|
Reference in New Issue
Block a user