EglNativeWindowSurface

abstract class EglNativeWindowSurface : EglSurface

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.
swapBuffers
Link copied to clipboard
common
fun swapBuffers(): Boolean
Calls eglSwapBuffers.

Inheritors

EglWindowSurface
Link copied to clipboard