diff options
author | Lucas Stach <dev@lynxeye.de> | 2023-10-18 13:55:11 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-10-20 17:20:11 +0000 |
commit | f8753a542be07247c0894db911b945211ced2200 (patch) | |
tree | bf673cd24ea062f8395353613b4c7156264bb912 /src/mapi | |
parent | c3516861e86c486e015443f2d61adffc8a9e1b32 (diff) |
mesa: add GL_APPLE_sync support
This extension is a backport of GL_ARB_sync to GLES 1.1 and 2.0
and reuses token IDs and entry point prototypes from that extension,
so adding support is pretty trivial.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25789>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/es_EXT.xml | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml index 7127e66d68d..5565fd4f1bf 100644 --- a/src/mapi/glapi/gen/es_EXT.xml +++ b/src/mapi/glapi/gen/es_EXT.xml @@ -856,6 +856,90 @@ </function> </category> +<!-- 124. GL_APPLE_sync --> +<category name="GL_APPLE_sync" number="124"> + <type name="int64" size="8" glx_name="CARD64"/> + <type name="uint64" size="8" unsigned="true" glx_name="CARD64"/> + <type name="sync" size="8" unsigned="true" glx_name="CARD64"/> + + <enum name="MAX_SERVER_WAIT_TIMEOUT_APPLE" count="1" value="0x9111"> + <size name="Get" mode="get"/> + </enum> + <enum name="OBJECT_TYPE_APPLE" count="1" value="0x9112"> + <size name="GetSyncivAPPLE" mode="get"/> + </enum> + <enum name="SYNC_CONDITION_APPLE" count="1" value="0x9113"> + <size name="GetSyncivAPPLE" mode="get"/> + </enum> + <enum name="SYNC_STATUS_APPLE" count="1" value="0x9114"> + <size name="GetSyncivAPPLE" mode="get"/> + </enum> + <enum name="SYNC_FLAGS_APPLE" count="1" value="0x9115"> + <size name="GetSyncivAPPLE" mode="get"/> + </enum> + + <enum name="SYNC_FENCE_APPLE" value="0x9116"/> + <enum name="SYNC_GPU_COMMANDS_COMPLETE_APPLE" value="0x9117"/> + <enum name="UNSIGNALED_APPLE" value="0x9118"/> + <enum name="SIGNALED_APPLE" value="0x9119"/> + <enum name="ALREADY_SIGNALED_APPLE" value="0x911A"/> + <enum name="TIMEOUT_EXPIRED_APPLE" value="0x911B"/> + <enum name="CONDITION_SATISFIED_APPLE" value="0x911C"/> + <enum name="WAIT_FAILED_APPLE" value="0x911D"/> + + <enum name="SYNC_FLUSH_COMMANDS_BIT_APPLE" value="0x00000001"/> + + <!-- Not really an enum: + <enum name="TIMEOUT_IGNORED_APPLE" value="0xFFFFFFFFFFFFFFFF"/> + --> + + <function name="FenceSyncAPPLE" alias="FenceSync" + es1="1.1" es2="2.0" no_error="true"> + <param name="condition" type="GLenum"/> + <param name="flags" type="GLbitfield"/> + <return type="GLsync"/> + </function> + + <function name="IsSyncAPPLE" alias="IsSync" es1="1.1" es2="2.0"> + <param name="sync" type="GLsync"/> + <return type="GLboolean"/> + </function> + + <function name="DeleteSyncAPPLE" alias="DeleteSync" + es1="1.1" es2="2.0" no_error="true"> + <param name="sync" type="GLsync"/> + </function> + + <function name="ClientWaitSyncAPPLE" alias="ClientWaitSync" + es1="1.1" es2="2.0" no_error="true"> + <param name="sync" type="GLsync"/> + <param name="flags" type="GLbitfield"/> + <param name="timeout" type="GLuint64"/> + <return type="GLenum"/> + </function> + + <function name="WaitSyncAPPLE" alias="WaitSync" + es1="1.1" es2="2.0" no_error="true" exec="dlist"> + <param name="sync" type="GLsync"/> + <param name="flags" type="GLbitfield"/> + <param name="timeout" type="GLuint64"/> + </function> + + <function name="GetInteger64vAPPLE" alias="GetInteger64v" + es1="1.1" es2="2.0"> + <param name="pname" type="GLenum"/> + <param name="params" type="GLint64 *" output="true" variable_param="pname"/> + </function> + + <function name="GetSyncivAPPLE" alias="GetSynciv" es1="1.1" es2="2.0"> + <param name="sync" type="GLsync"/> + <param name="pname" type="GLenum"/> + <param name="bufSize" type="GLsizei"/> + <param name="length" type="GLsizei *" output="true"/> + <param name="values" type="GLint *" output="true" variable_param="pname"/> + </function> +</category> + <!-- 150. GL_EXT_disjoint_timer_query --> <category name="GL_EXT_disjoint_timer_query" number="150"> <enum name="QUERY_COUNTER_BITS_EXT" value="0x8864"/> |