1'''Autogenerated by xml_generate script, do not edit!'''
2from OpenGL import platform as _p, arrays
3# Code generation uses this
4from OpenGL.raw.GLX import _types as _cs
5# End users want this...
6from OpenGL.raw.GLX._types import *
7from OpenGL.raw.GLX import _errors
8from OpenGL.constant import Constant as _C
9
10import ctypes
11_EXTENSION_NAME = 'GLX_MESA_query_renderer'
12def _f( function ):
13    return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_MESA_query_renderer',error_checker=_errors._error_checker)
14GLX_RENDERER_ACCELERATED_MESA=_C('GLX_RENDERER_ACCELERATED_MESA',0x8186)
15GLX_RENDERER_DEVICE_ID_MESA=_C('GLX_RENDERER_DEVICE_ID_MESA',0x8184)
16GLX_RENDERER_ID_MESA=_C('GLX_RENDERER_ID_MESA',0x818E)
17GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA',0x818B)
18GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA',0x818A)
19GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA',0x818D)
20GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA',0x818C)
21GLX_RENDERER_PREFERRED_PROFILE_MESA=_C('GLX_RENDERER_PREFERRED_PROFILE_MESA',0x8189)
22GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA=_C('GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA',0x8188)
23GLX_RENDERER_VENDOR_ID_MESA=_C('GLX_RENDERER_VENDOR_ID_MESA',0x8183)
24GLX_RENDERER_VERSION_MESA=_C('GLX_RENDERER_VERSION_MESA',0x8185)
25GLX_RENDERER_VIDEO_MEMORY_MESA=_C('GLX_RENDERER_VIDEO_MEMORY_MESA',0x8187)
26@_f
27@_p.types(_cs.Bool,_cs.c_int,ctypes.POINTER(_cs.c_uint))
28def glXQueryCurrentRendererIntegerMESA(attribute,value):pass
29@_f
30@_p.types(ctypes.c_char_p,_cs.c_int)
31def glXQueryCurrentRendererStringMESA(attribute):pass
32@_f
33@_p.types(_cs.Bool,ctypes.POINTER(_cs.Display),_cs.c_int,_cs.c_int,_cs.c_int,ctypes.POINTER(_cs.c_uint))
34def glXQueryRendererIntegerMESA(dpy,screen,renderer,attribute,value):pass
35@_f
36@_p.types(ctypes.c_char_p,ctypes.POINTER(_cs.Display),_cs.c_int,_cs.c_int,_cs.c_int)
37def glXQueryRendererStringMESA(dpy,screen,renderer,attribute):pass
38