Package io.agora.rtc2.internal.gdp
Class EglSurfaceBase
java.lang.Object
io.agora.rtc2.internal.gdp.EglSurfaceBase
- Direct Known Subclasses:
OffscreenSurface
Common base class for EGL surfaces.
There can be multiple surfaces associated with a single context.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateOffscreenSurface(int width, int height) Creates an off-screen surface.voidMakes our EGL context and surface current.voidRelease the EGL surface.
-
Method Details
-
createOffscreenSurface
public void createOffscreenSurface(int width, int height) Creates an off-screen surface. -
releaseEglSurface
public void releaseEglSurface()Release the EGL surface. -
makeCurrent
public void makeCurrent()Makes our EGL context and surface current.
-