From 331841b96b92646c93c87627c03f77b892f711cd Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Thu, 6 Sep 2012 14:52:00 -0700 Subject: EGL: add the native_fence_sync extension This change adds support for the EGL_ANDROID_native_fence_sync extension to the Android EGL layer. It also fixes a couple minor issues with the extension spec. Change-Id: Ic8829d21f37b701f33aa9c72c3d25e88e03fa3cd --- opengl/specs/EGL_ANDROID_native_fence_sync.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opengl/specs') diff --git a/opengl/specs/EGL_ANDROID_native_fence_sync.txt b/opengl/specs/EGL_ANDROID_native_fence_sync.txt index b05857c..8273be4 100644 --- a/opengl/specs/EGL_ANDROID_native_fence_sync.txt +++ b/opengl/specs/EGL_ANDROID_native_fence_sync.txt @@ -74,7 +74,7 @@ New Tokens Accepted by the parameter of eglCreateSyncKHR, and returned by eglDupNativeFenceFDANDROID in the event of an error: - EGL_NO_NATIVE_FENCE_ANDROID -1 + EGL_NO_NATIVE_FENCE_FD_ANDROID -1 Returned in when eglGetSyncAttribKHR is called with EGL_SYNC_CONDITION_KHR: @@ -90,7 +90,7 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) object is created. In this case the EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute may optionally be specified. If this attribute is specified, it must be set to either a file descriptor that refers to a native fence - object or to the value EGL_NO_NATIVE_FENCE_ANDROID. + object or to the value EGL_NO_NATIVE_FENCE_FD_ANDROID. The default values for the EGL native fence sync object attributes are as follows: @@ -202,7 +202,7 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors) The command EGLint eglDupNativeFenceFDANDROID( - EGLdisplay dpy, + EGLDisplay dpy, EGLSyncKHR sync); duplicates the file descriptor stored in the -- cgit v1.1