Class EglSurfaceBase

java.lang.Object
io.agora.rtc2.internal.gdp.EglSurfaceBase
Direct Known Subclasses:
OffscreenSurface

public class EglSurfaceBase extends Object
Common base class for EGL surfaces.

There can be multiple surfaces associated with a single context.

  • 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.