Home
Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for gldeletesync (centos section 3g)

GLDELETESYNC(3G)				    OpenGL Manual				     GLDELETESYNC(3G)

NAME
glDeleteSync - delete a sync object
C SPECIFICATION
void glDeleteSync(GLsync sync);
PARAMETERS
sync The sync object to be deleted.
DESCRIPTION
glDeleteSync deletes the sync object specified by sync. If the fence command corresponding to the specified sync object has completed, or if no glWaitSync() or glClientWaitSync() commands are blocking on sync, the object is deleted immediately. Otherwise, sync is flagged for deletion and will be deleted when it is no longer associated with any fence command and is no longer blocking any glWaitSync() or glClientWaitSync() command. In either case, after glDeleteSync returns, the name sync is invalid and can no longer be used to refer to the sync object. glDeleteSync will silently ignore a sync value of zero.
NOTES
glSync is only supported if the GL version is 3.2 or greater, or if the ARB_sync extension is supported.
ERRORS
GL_INVALID_VALUE is generated if sync is neither zero or the name of a sync object.
SEE ALSO
glFenceSync(), glWaitSync(), glClientWaitSync()
COPYRIGHT
Copyright (C) 2010 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/.
AUTHORS
opengl.org opengl.org 06/10/2014 GLDELETESYNC(3G)


All times are GMT -4. The time now is 04:21 PM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password