Download lib/python3.9/site-packages/OpenGL/raw/GLX/MESA/query_renderer.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/GLX/MESA/query_renderer.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/OpenGL/raw/GLX/MESA/query_renderer.py
-
curl -L -o query_renderer.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/OpenGL/raw/GLX/MESA/query_renderer.py
2.09 kB
| '''Autogenerated by xml_generate script, do not edit!''' | |
| from OpenGL import platform as _p, arrays | |
| # Code generation uses this | |
| from OpenGL.raw.GLX import _types as _cs | |
| # End users want this... | |
| from OpenGL.raw.GLX._types import * | |
| from OpenGL.raw.GLX import _errors | |
| from OpenGL.constant import Constant as _C | |
| import ctypes | |
| _EXTENSION_NAME = 'GLX_MESA_query_renderer' | |
| def _f( function ): | |
| return _p.createFunction( function,_p.PLATFORM.GLX,'GLX_MESA_query_renderer',error_checker=_errors._error_checker) | |
| GLX_RENDERER_ACCELERATED_MESA=_C('GLX_RENDERER_ACCELERATED_MESA',0x8186) | |
| GLX_RENDERER_DEVICE_ID_MESA=_C('GLX_RENDERER_DEVICE_ID_MESA',0x8184) | |
| GLX_RENDERER_ID_MESA=_C('GLX_RENDERER_ID_MESA',0x818E) | |
| GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA',0x818B) | |
| GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA',0x818A) | |
| GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA',0x818D) | |
| GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA=_C('GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA',0x818C) | |
| GLX_RENDERER_PREFERRED_PROFILE_MESA=_C('GLX_RENDERER_PREFERRED_PROFILE_MESA',0x8189) | |
| GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA=_C('GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA',0x8188) | |
| GLX_RENDERER_VENDOR_ID_MESA=_C('GLX_RENDERER_VENDOR_ID_MESA',0x8183) | |
| GLX_RENDERER_VERSION_MESA=_C('GLX_RENDERER_VERSION_MESA',0x8185) | |
| GLX_RENDERER_VIDEO_MEMORY_MESA=_C('GLX_RENDERER_VIDEO_MEMORY_MESA',0x8187) | |
| def glXQueryCurrentRendererIntegerMESA(attribute,value):pass | |
| def glXQueryCurrentRendererStringMESA(attribute):pass | |
| def glXQueryRendererIntegerMESA(dpy,screen,renderer,attribute,value):pass | |
| def glXQueryRendererStringMESA(dpy,screen,renderer,attribute):pass | |