Package com.banuba.sdk.internal.gl
Class OffscreenSurface
- java.lang.Object
-
- com.banuba.sdk.internal.gl.EglSurfaceBase
-
- com.banuba.sdk.internal.gl.OffscreenSurface
-
public class OffscreenSurface extends EglSurfaceBase
Off-screen EGL surface (pbuffer).It's good practice to explicitly release() the surface, preferably from a "finally" block.
-
-
Constructor Summary
Constructors Constructor Description OffscreenSurface(EglCore eglCore, int width, int height)
Creates an off-screen surface with the specified width and height.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release()
Releases any resources associated with the surface.-
Methods inherited from class com.banuba.sdk.internal.gl.EglSurfaceBase
createOffscreenSurface, getHeight, getWidth, makeCurrent, makeCurrentReadFrom, saveFrame, setPresentationTime, swapBuffers
-
-
-
-
Constructor Detail
-
OffscreenSurface
public OffscreenSurface(EglCore eglCore, int width, int height)
Creates an off-screen surface with the specified width and height.
-
-