Start implementing SurfaceTexture streaming into RS allocations.

Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b

Conflicts:

	libs/rs/rsAllocation.h
This commit is contained in:
Jason Sams
2012-02-10 13:24:18 -08:00
parent d51280f10b
commit 532efd3ce2
13 changed files with 128 additions and 4 deletions

View File

@@ -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();