EGLExt
public class EGLExt
extends Object
java.lang.Object | |
↳ | android.opengl.EGLExt |
EGL Extensions
Summary
Public constructors | |
---|---|
EGLExt() |
Public methods | |
---|---|
static SyncFence | eglDupNativeFenceFDANDROID(EGLDisplay display, EGLSync sync) Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID See EGL_ANDROID_native_fence_sync extension for more details |
static boolean | eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface sur, long time) |
Inherited methods | |
---|---|
Constants
EGL_CONTEXT_FLAGS_KHR
public static final int EGL_CONTEXT_FLAGS_KHR
Constant Value: 12540 (0x000030fc)
EGL_CONTEXT_MAJOR_VERSION_KHR
public static final int EGL_CONTEXT_MAJOR_VERSION_KHR
Constant Value: 12440 (0x00003098)
EGL_CONTEXT_MINOR_VERSION_KHR
public static final int EGL_CONTEXT_MINOR_VERSION_KHR
Constant Value: 12539 (0x000030fb)
EGL_NO_NATIVE_FENCE_FD_ANDROID
public static final int EGL_NO_NATIVE_FENCE_FD_ANDROID
Constant Value: -1 (0xffffffff)
EGL_OPENGL_ES3_BIT_KHR
public static final int EGL_OPENGL_ES3_BIT_KHR
Constant Value: 64 (0x00000040)
EGL_RECORDABLE_ANDROID
public static final int EGL_RECORDABLE_ANDROID
Constant Value: 12610 (0x00003142)
EGL_SYNC_NATIVE_FENCE_ANDROID
public static final int EGL_SYNC_NATIVE_FENCE_ANDROID
Constant Value: 12612 (0x00003144)
EGL_SYNC_NATIVE_FENCE_FD_ANDROID
public static final int EGL_SYNC_NATIVE_FENCE_FD_ANDROID
Constant Value: 12613 (0x00003145)
EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID
public static final int EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID
Constant Value: 12614 (0x00003146)
Public constructors
EGLExt
public EGLExt ()
Public methods
eglDupNativeFenceFDANDROID
public static SyncFence eglDupNativeFenceFDANDROID (EGLDisplay display, EGLSync sync)
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 . |
Returns | |
---|---|
SyncFence | A SyncFence representing the native fence. * If invalid SyncFence is returned and an EGL_BAD_PARAMETER error is generated. * If the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of invalid SyncFence is returned and an EGL_BAD_PARAMETER error is generated. * If null . |
eglPresentationTimeANDROID
public static boolean eglPresentationTimeANDROID (EGLDisplay dpy, EGLSurface sur, long time)
Parameters | |
---|---|
dpy | EGLDisplay |
sur | EGLSurface |
time | long |
Returns | |
---|---|
boolean |