EglOffscreenSurface

open class EglOffscreenSurface(eglCore: EglCore, width: Int, height: Int) : EglSurface

A pbuffer EGL surface.

Constructors

EglOffscreenSurface
Link copied to clipboard
common
fun EglOffscreenSurface(eglCore: EglCore, width: Int, height: Int)

Functions

getHeight
Link copied to clipboard
common
fun getHeight(): Int
Returns the surface's height, in pixels.
getWidth
Link copied to clipboard
common
fun getWidth(): Int
Returns the surface's width, in pixels.
isCurrent
Link copied to clipboard
common
fun isCurrent(): Boolean
Whether this surface is current on the attached EglCore.
makeCurrent
Link copied to clipboard
common
fun makeCurrent()
Makes our EGL context and surface current.
makeNothingCurrent
Link copied to clipboard
common
fun makeNothingCurrent()
Makes no surface current for the attached eglCore.
release
Link copied to clipboard
common
open fun release()
Release the EGL surface.
setPresentationTime
Link copied to clipboard
common
fun setPresentationTime(nsecs: Long)
Sends the presentation time stamp to EGL.