Loading graphics/java/android/renderscript/Allocation.java +7 −0 Original line number Diff line number Diff line Loading @@ -1260,6 +1260,13 @@ public class Allocation extends BaseObj { return mRS.nAllocationGetSurface(getID(mRS)); } /** * @hide */ public void setSurfaceTexture(SurfaceTexture st) { setSurface(new Surface(st)); } /** * Associate a surface for io output with this allocation * Loading Loading
graphics/java/android/renderscript/Allocation.java +7 −0 Original line number Diff line number Diff line Loading @@ -1260,6 +1260,13 @@ public class Allocation extends BaseObj { return mRS.nAllocationGetSurface(getID(mRS)); } /** * @hide */ public void setSurfaceTexture(SurfaceTexture st) { setSurface(new Surface(st)); } /** * Associate a surface for io output with this allocation * Loading