EGLExt.EglDupNativeFenceFDANDROID(EGLDisplay, EGLSync) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID
See <a href="https://www.khronos.org/registry/EGL/extensions/ANDROID/EGL_ANDROID_native_fence_sync.txt">
EGL_ANDROID_native_fence_sync</a> extension for more details
[Android.Runtime.Register("eglDupNativeFenceFDANDROID", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSync;)Landroid/hardware/SyncFence;", "", ApiSince=33)]
public static Android.Hardware.SyncFence EglDupNativeFenceFDANDROID (Android.Opengl.EGLDisplay display, Android.Opengl.EGLSync sync);
[<Android.Runtime.Register("eglDupNativeFenceFDANDROID", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSync;)Landroid/hardware/SyncFence;", "", ApiSince=33)>]
static member EglDupNativeFenceFDANDROID : Android.Opengl.EGLDisplay * Android.Opengl.EGLSync -> Android.Hardware.SyncFence
- display
- EGLDisplay
The EGLDisplay connection
- sync
- EGLSync
The EGLSync to fetch the SyncFence from
A SyncFence representing the native fence.
* If <sync> is not a valid sync object for <display>,
an SyncFence#isValid() invalid
SyncFence is returned and an EGL_BAD_PARAMETER
error is generated.
* If the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of <sync> is
EGL_NO_NATIVE_FENCE_FD_ANDROID, an SyncFence#isValid() invalid
SyncFence is
returned and an EGL_BAD_PARAMETER error is generated.
* If <display> does not match the display passed to eglCreateSync
when <sync> was created, the behaviour is undefined.
- Attributes
Retrieves the SyncFence for an EGLSync created with EGL_SYNC_NATIVE_FENCE_ANDROID
See EGL_ANDROID_native_fence_sync extension for more details
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.