'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_x11_sync_object'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_EXT_x11_sync_object',False)
_p.unpack_constants( """GL_SYNC_X11_FENCE_EXT 0x90E1""", globals())
@_f
@_p.types(_cs.GLsync,_cs.GLenum,_cs.GLintptr,_cs.GLbitfield)
def glImportSyncEXT( external_sync_type,external_sync,flags ):pass


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