SurfaceManager

Created by pedro on 9/09/17.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun eglSetup()
open fun eglSetup(surface: Surface)
open fun eglSetup(surface: Surface, eglContext: EGLContext)
open fun eglSetup(surface: Surface, manager: SurfaceManager)
open fun eglSetup(width: Int, height: Int, manager: SurfaceManager)

open fun eglSetup(width: Int, height: Int, surface: Surface, eglSharedContext: EGLContext)
Prepares EGL.
Link copied to clipboard
open fun isReady(): Boolean
Link copied to clipboard
open fun makeCurrent()
Link copied to clipboard
open fun release()
Discards all resources held by this class, notably the EGL context.
Link copied to clipboard
open fun setPresentationTime(nsecs: Long)
Sends the presentation time stamp to EGL.
Link copied to clipboard
open fun swapBuffer()