'''OpenGL extension EXT.x11_sync_object

Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_x11_sync_object'
_DEPRECATED = False
GL_SYNC_X11_FENCE_EXT = constant.Constant( 'GL_SYNC_X11_FENCE_EXT', 0x90E1 )
glImportSyncEXT = platform.createExtensionFunction( 
'glImportSyncEXT',dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLsync, 
argTypes=(constants.GLenum,constants.GLintptr,constants.GLbitfield,),
doc='glImportSyncEXT(GLenum(external_sync_type), GLintptr(external_sync), GLbitfield(flags)) -> constants.GLsync',
argNames=('external_sync_type','external_sync','flags',),
deprecated=_DEPRECATED,
)


def glInitX11SyncObjectEXT():
    '''Return boolean indicating whether this extension is available'''
    return extensions.hasGLExtension( EXTENSION_NAME )
