GLGETSYNCIV(3G)
πΈ GLGETSYNCIV(3G) πΈ
okay so this is the GLGETSYNCIV(3G) page, manual name 3G, and the header's manual slot is literally [FIXME: manual] β we love a placeholder, honestly. It's the page for querying the properties of a sync object, and yes, it's giving main character energy. π«Ά
β¨ NAME β¨
glGetSynciv β query the properties of a sync object. no cap, that's the whole name section. π
π» C SPECIFICATION π»
void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize,
GLsizei *length, GLint *values);
π PARAMETERS π
syncβ specifies the sync object whose properties to query. like, which one are we snooping on? πpnameβ specifies the parameter whose value to retrieve from the sync object specified insync.bufSizeβ specifies the size of the buffer whose address is given invalues.lengthβ specifies the address of a variable to receive the number of integers placed invalues.valuesβ specifies the address of an array to receive the values of the queried parameter.
π DESCRIPTION π
glGetSynciv retrieves properties of a sync object. The sync argument specifies the name of the sync object whose properties to retrieve. slay.
On success, glGetSynciv replaces up to bufSize integers in values with the corresponding property values of the object being queried. The actual number of integers replaced is returned in the variable whose address is specified in length. If length is NULL, no length is returned. iconic behavior.
If pname is GL_OBJECT_TYPE, a single value representing the specific type of the sync object is placed in values. The only type supported is GL_SYNC_FENCE. β¨
If pname is GL_SYNC_STATUS, a single value representing the status of the sync object (GL_SIGNALED or GL_UNSIGNALED) is placed in values. π
If pname is GL_SYNC_CONDITION, a single value representing the condition of the sync object is placed in values. The only condition supported is GL_SYNC_GPU_COMMANDS_COMPLETE. π
If pname is GL_SYNC_FLAGS, a single value representing the flags with which the sync object was created is placed in values. No flags are currently supported[1]. π«
If an error occurs, nothing will be written to values or length. important, bestie.
π ERRORS π
GL_INVALID_VALUEis generated ifsyncis not the name of a sync object. πGL_INVALID_ENUMis generated ifpnameis not one of the accepted tokens. π
π VERSION SUPPORT π
The chart is literally βFunction / Feature Name = glGetSyncivβ across the βOpenGL Versionβ row. Here's the tea, column by column, no table needed:
2.0β-2.1β-3.0β-3.1β-3.2ββ3.3ββ4.0ββ4.1ββ4.2ββ4.3ββ4.4ββ4.5ββ
π¦ SEE ALSO π¦
Go say hi to glFenceSync(), glWaitSync(), and glClientWaitSync(). they're the sync-object besties. π¦
π COPYRIGHT π
Copyright Β© 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
π COPYRIGHT (the encore) π
Copyright Β© 2010-2014 Khronos Group
ποΈ NOTES ποΈ
flagsis expected to be used in future extensions to the sync objects.
okay that's the whole page, bestie π«Ά β it's flying the source/version flag [FIXME: source], dated 08/09/2021, and signed GLGETSYNCIV(3G) in the footer. mwah π
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms