Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /OML /interlace.py
| '''OpenGL extension OML.interlace | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.OML.interlace to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| This extension provides a way to interlace rows of pixels when | |
| drawing, reading, or copying pixel rectangles or texture images. In | |
| this context, interlacing means skiping over rows of pixels or | |
| texels in the destination. This is useful for dealing with video | |
| data since a single frame of video is typically composed from two | |
| images or fields: one image specifying the data for even rows of the | |
| frame and the other image specifying the data for odd rows of the | |
| frame. | |
| The functionality provided by this extension is a combination | |
| of the older SGIX_interlace and INGR_interlace_read extensions, | |
| with changes applying interlacing to texture image queries. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/OML/interlace.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.OML.interlace import * | |
| from OpenGL.raw.GL.OML.interlace import _EXTENSION_NAME | |
| def glInitInterlaceOML(): | |
| '''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.42 kB
- Xet hash:
- 768cb8dc8d37bbe218e47c40a3028ba3b7b00341cd0eda1c80e0585114bb69fe
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.