Class 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 Detail

      • OffscreenSurface

        public OffscreenSurface​(EglCore eglCore,
                                int width,
                                int height)
        Creates an off-screen surface with the specified width and height.
    • Method Detail

      • release

        public void release()
        Releases any resources associated with the surface.