Skip to content

Commit 4914f22

Browse files
committed
EGL_ANDROID_native_fence_sync: Fix the attribute that must be set after a flush
The EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of an EGL sync object is intended to be set to a file descriptor that refers to the underlying native fence object. However, a sentence in the specification suggests that the EGL_SYNC_NATIVE_FENCE_ANDROID attribute is used for storing file descriptors instead. This is probably a typo since EGL_SYNC_NATIVE_FENCE_ANDROID is not an attribute.
1 parent 29c4314 commit 4914f22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ANDROID/EGL_ANDROID_native_fence_sync.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ Changes to Chapter 3 of the EGL 1.2 Specification (EGL Functions and Errors)
122122
After associating the fence command with an EGL native fence sync object,
123123
the next Flush() operation performed by the current client API causes a
124124
new native fence object to be created, and the
125-
EGL_SYNC_NATIVE_FENCE_ANDROID attribute of the EGL native fence object is
126-
set to a file descriptor that refers to the new native fence object. This
127-
new native fence object is signaled when the EGL native fence sync object
128-
is signaled.
125+
EGL_SYNC_NATIVE_FENCE_FD_ANDROID attribute of the EGL native fence object
126+
is set to a file descriptor that refers to the new native fence object.
127+
This new native fence object is signaled when the EGL native fence sync
128+
object is signaled.
129129

130130
When the condition of the sync object is satisfied by the fence command,
131131
the sync is signaled by the associated client API context, causing any

0 commit comments

Comments
 (0)