Added in API level 18

EGLExt


open class EGLExt
kotlin.Any
   ↳ android.opengl.EGLExt

EGL Extensions

Summary

Constants
static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

Public constructors

Public methods
open static SyncFence

Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID See EGL_ANDROID_native_fence_sync extension for more details

open static Boolean

Constants

EGL_CONTEXT_FLAGS_KHR

Added in API level 18
static val EGL_CONTEXT_FLAGS_KHR: Int
Value: 12540

EGL_CONTEXT_MAJOR_VERSION_KHR

Added in API level 18
static val EGL_CONTEXT_MAJOR_VERSION_KHR: Int
Value: 12440

EGL_CONTEXT_MINOR_VERSION_KHR

Added in API level 18
static val EGL_CONTEXT_MINOR_VERSION_KHR: Int
Value: 12539

EGL_NO_NATIVE_FENCE_FD_ANDROID

Added in API level 33
static val EGL_NO_NATIVE_FENCE_FD_ANDROID: Int
Value: -1

EGL_OPENGL_ES3_BIT_KHR

Added in API level 18
static val EGL_OPENGL_ES3_BIT_KHR: Int
Value: 64

EGL_RECORDABLE_ANDROID

Added in API level 26
static val EGL_RECORDABLE_ANDROID: Int
Value: 12610

EGL_SYNC_NATIVE_FENCE_ANDROID

Added in API level 33
static val EGL_SYNC_NATIVE_FENCE_ANDROID: Int
Value: 12612

EGL_SYNC_NATIVE_FENCE_FD_ANDROID

Added in API level 33
static val EGL_SYNC_NATIVE_FENCE_FD_ANDROID: Int
Value: 12613

EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID

Added in API level 33
static val EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID: Int
Value: 12614

Public constructors

EGLExt

EGLExt()

Public methods

eglDupNativeFenceFDANDROID

Added in API level 33
open static fun eglDupNativeFenceFDANDROID(
    display: EGLDisplay,
    sync: EGLSync
): SyncFence

Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID See EGL_ANDROID_native_fence_sync extension for more details

Parameters
display EGLDisplay: The EGLDisplay connection This value cannot be null.
sync EGLSync: The EGLSync to fetch the SyncFence from This value cannot be null.
Return
SyncFence A SyncFence representing the native fence. * If is not a valid sync object for , an invalid SyncFence is returned and an EGL_BAD_PARAMETER error is generated. * If the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of is EGL_NO_NATIVE_FENCE_FD_ANDROID, an invalid SyncFence is returned and an EGL_BAD_PARAMETER error is generated. * If does not match the display passed to eglCreateSync when was created, the behaviour is undefined. This value cannot be null.

eglPresentationTimeANDROID

Added in API level 18
open static fun eglPresentationTimeANDROID(
    dpy: EGLDisplay!,
    sur: EGLSurface!,
    time: Long
): Boolean