diff options
author | Jamie Gennis <jgennis@google.com> | 2012-09-06 14:52:00 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-06 16:11:37 -0700 |
commit | 331841b96b92646c93c87627c03f77b892f711cd (patch) | |
tree | 2fe3a05c800a44e2f6fd7d94d380fe23ee58b7d8 /opengl/specs | |
parent | 8893d5bba1191b0dc9db1432868d8dc64de606ad (diff) | |
download | frameworks_native-331841b96b92646c93c87627c03f77b892f711cd.zip frameworks_native-331841b96b92646c93c87627c03f77b892f711cd.tar.gz frameworks_native-331841b96b92646c93c87627c03f77b892f711cd.tar.bz2 |
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
Diffstat (limited to 'opengl/specs')
-rw-r--r-- | opengl/specs/EGL_ANDROID_native_fence_sync.txt | 6 |
1 files changed, 3 insertions, 3 deletions
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 <attrib_list> 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 <value> when eglGetSyncAttribKHR is called with <attribute> 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 |