Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Latches the next buffer into the texture. Must be called from the thread that created the OutputSurface object, after the onFrameAvailable callback has signaled that new data is available.

Link copied to clipboard
fun drawImage()

Draws the data from SurfaceTexture onto the current EGL surface.

Link copied to clipboard

Returns the Surface that we draw onto.

Link copied to clipboard
open override fun onFrameAvailable(p0: SurfaceTexture?)
Link copied to clipboard
fun release()

Discards all resources held by this class, notably the EGL context.