EGLContextHelper

An EGL helper class.

open class EGLContextHelper

Constructors

EGLContextHelper
Link copied to clipboard
open fun EGLContextHelper(eglConfigChooser: EGLConfigChooser, eglContextFactory: EGLContextFactory)

Functions

createGL
Link copied to clipboard

Create a GL object for the current EGL context.

open fun createGL(): GL
finish
Link copied to clipboard
open fun finish()
formatEglError
Link copied to clipboard
open fun formatEglError(function: String, error: Int): String
init
Link copied to clipboard
open fun init()
logEglErrorAsWarning
Link copied to clipboard
open fun logEglErrorAsWarning(tag: String, function: String, error: Int)
throwEglException
Link copied to clipboard
open fun throwEglException(function: String, error: Int)

Properties

eglConfig
Link copied to clipboard
private open val eglConfig: EGLConfig
eglContext
Link copied to clipboard
private open val eglContext: EGLContext