Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /SGIX /async_pixel.py
| '''OpenGL extension SGIX.async_pixel | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.SGIX.async_pixel to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension introduces a new asynchronous mode for texture | |
| download, pixel download and pixel readback commands. It allows | |
| programs to transfer textures or images between the host and the | |
| graphics accelerator in parallel with the execution of other | |
| graphics commands (possibly taking advantage of a secondary path | |
| to the graphics accelerator). It also allows programs to issue | |
| non-blocking pixel readback commands that return immediately after | |
| they are issued so that the program can issue other commands while | |
| the readback takes place. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/SGIX/async_pixel.txt | |
| ''' | |
| from OpenGL import platform, constant, arrays | |
| from OpenGL import extensions, wrapper | |
| import ctypes | |
| from OpenGL.raw.GL import _types, _glgets | |
| from OpenGL.raw.GL.SGIX.async_pixel import * | |
| from OpenGL.raw.GL.SGIX.async_pixel import _EXTENSION_NAME | |
| def glInitAsyncPixelSGIX(): | |
| '''Return boolean indicating whether this extension is available''' | |
| from OpenGL import extensions | |
| return extensions.hasGLExtension( _EXTENSION_NAME ) | |
| ### END AUTOGENERATED SECTION |
Xet Storage Details
- Size:
- 1.32 kB
- Xet hash:
- 22222b15d2acc3ed28d2a19ee09ed262ff5fb16418388d23a0caf22e1e827aac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.