Buckets:
firestryker/ubuntu / LTX2.3-Studio /env /lib /python3.12 /site-packages /OpenGL /GL /IBM /static_data.py
| '''OpenGL extension IBM.static_data | |
| This module customises the behaviour of the | |
| OpenGL.raw.GL.IBM.static_data to provide a more | |
| Python-friendly API | |
| Overview (from the spec) | |
| The OpenGL specification requires that data be bound at call time. The | |
| IBM_static_data extension relaxes the bind-at-call semantics allowing | |
| an implementation to dereference pointers some time after the | |
| corresponding calls. | |
| Because of the bind-at-call sematics of standard OpenGL, an | |
| implementation is required to either copy or fully process data at the | |
| time it is provided by the application. Copying data substantially | |
| increases the demands on the memory subsystem; processing the data may | |
| result in ineffective amortization of fixed costs. Neither copying nor | |
| processing allows multiple rendering threads to operate on the original | |
| data. | |
| The official definition of this extension is available here: | |
| http://www.opengl.org/registry/specs/IBM/static_data.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.IBM.static_data import * | |
| from OpenGL.raw.GL.IBM.static_data import _EXTENSION_NAME | |
| def glInitStaticDataIBM(): | |
| '''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:
- c08672ea4a899f459f4550feecb114ab43c69c4f8e4676701ea99f7c552d37eb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.