Package io.agora.rtc2.internal.gdp
Class OffscreenSurface
java.lang.Object
io.agora.rtc2.internal.gdp.EglSurfaceBase
io.agora.rtc2.internal.gdp.OffscreenSurface
Off-screen EGL surface (pbuffer).
It's good practice to explicitly release() the surface, preferably from a "finally" block.
-
Constructor Summary
ConstructorsConstructorDescriptionOffscreenSurface(EglCore eglCore, int width, int height) Creates an off-screen surface with the specified width and height. -
Method Summary
Modifier and TypeMethodDescriptionvoidrelease()Releases any resources associated with the surface.Methods inherited from class io.agora.rtc2.internal.gdp.EglSurfaceBase
createOffscreenSurface, makeCurrent, releaseEglSurface
-
Constructor Details
-
OffscreenSurface
Creates an off-screen surface with the specified width and height.
-
-
Method Details
-
release
public void release()Releases any resources associated with the surface.
-