Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- parrot/share/terminfo/t/tek4109brl +0 -0
- parrot/share/terminfo/t/tvi912b-2p +0 -0
- parrot/share/terminfo/t/tvi912b-2p-p +0 -0
- parrot/share/terminfo/t/tvi912b-mc-vb +0 -0
- parrot/share/terminfo/t/tvi912b-p +0 -0
- parrot/share/terminfo/t/tvi912c-2p-p +0 -0
- parrot/share/terminfo/t/tvi955-hb +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__init__.py +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/blend_minmax_factor.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/conservative_depth.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/debug_output.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/depth_clamp_separate.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/draw_buffers_blend.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/gcn_shader.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/gpu_shader_int64.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/interleaved_elements.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/multi_draw_indirect.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/name_gen_delete.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/occlusion_query_event.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/performance_monitor.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/pinned_memory.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/query_buffer_object.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/sample_positions.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/seamless_cubemap_per_texture.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_atomic_counter_ops.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_stencil_export.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_trinary_minmax.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/sparse_texture.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/stencil_operation_extended.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/texture_texture4.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/transform_feedback3_lines_triangles.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/transform_feedback4.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_layer.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_tessellator.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_viewport_index.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/blend_minmax_factor.py +37 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/conservative_depth.py +39 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/debug_output.py +88 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/depth_clamp_separate.py +34 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/draw_buffers_blend.py +34 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/gcn_shader.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/gpu_shader_int64.py +90 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/interleaved_elements.py +56 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/multi_draw_indirect.py +37 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/name_gen_delete.py +52 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/occlusion_query_event.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/performance_monitor.py +71 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/pinned_memory.py +35 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/query_buffer_object.py +48 -0
parrot/share/terminfo/t/tek4109brl
ADDED
|
Binary file (920 Bytes). View file
|
|
|
parrot/share/terminfo/t/tvi912b-2p
ADDED
|
Binary file (1.3 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b-2p-p
ADDED
|
Binary file (1.31 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b-mc-vb
ADDED
|
Binary file (1.45 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912b-p
ADDED
|
Binary file (1.2 kB). View file
|
|
|
parrot/share/terminfo/t/tvi912c-2p-p
ADDED
|
Binary file (1.31 kB). View file
|
|
|
parrot/share/terminfo/t/tvi955-hb
ADDED
|
Binary file (1.05 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__init__.py
ADDED
|
File without changes
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (163 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/blend_minmax_factor.cpython-310.pyc
ADDED
|
Binary file (1.75 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/conservative_depth.cpython-310.pyc
ADDED
|
Binary file (1.81 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/debug_output.cpython-310.pyc
ADDED
|
Binary file (4.23 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/depth_clamp_separate.cpython-310.pyc
ADDED
|
Binary file (1.49 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/draw_buffers_blend.cpython-310.pyc
ADDED
|
Binary file (1.5 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/gcn_shader.cpython-310.pyc
ADDED
|
Binary file (973 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/gpu_shader_int64.cpython-310.pyc
ADDED
|
Binary file (1.9 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/interleaved_elements.cpython-310.pyc
ADDED
|
Binary file (2.96 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/multi_draw_indirect.cpython-310.pyc
ADDED
|
Binary file (1.77 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/name_gen_delete.cpython-310.pyc
ADDED
|
Binary file (2.14 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/occlusion_query_event.cpython-310.pyc
ADDED
|
Binary file (1.04 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/performance_monitor.cpython-310.pyc
ADDED
|
Binary file (3.12 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/pinned_memory.cpython-310.pyc
ADDED
|
Binary file (1.52 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/query_buffer_object.cpython-310.pyc
ADDED
|
Binary file (2.48 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/sample_positions.cpython-310.pyc
ADDED
|
Binary file (1.62 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/seamless_cubemap_per_texture.cpython-310.pyc
ADDED
|
Binary file (2.47 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_atomic_counter_ops.cpython-310.pyc
ADDED
|
Binary file (1.62 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_stencil_export.cpython-310.pyc
ADDED
|
Binary file (1.74 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/shader_trinary_minmax.cpython-310.pyc
ADDED
|
Binary file (1.58 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/sparse_texture.cpython-310.pyc
ADDED
|
Binary file (2.08 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/stencil_operation_extended.cpython-310.pyc
ADDED
|
Binary file (2 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/texture_texture4.cpython-310.pyc
ADDED
|
Binary file (1.6 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/transform_feedback3_lines_triangles.cpython-310.pyc
ADDED
|
Binary file (1.56 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/transform_feedback4.cpython-310.pyc
ADDED
|
Binary file (1.03 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_layer.cpython-310.pyc
ADDED
|
Binary file (2.25 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_tessellator.cpython-310.pyc
ADDED
|
Binary file (2.85 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/__pycache__/vertex_shader_viewport_index.cpython-310.pyc
ADDED
|
Binary file (1.81 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/blend_minmax_factor.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.blend_minmax_factor
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.blend_minmax_factor to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
The EXT_blend_minmax extension extended the GL's blending functionality
|
| 10 |
+
to allow the blending equation to be specified by the application. That
|
| 11 |
+
extension introduced the MIN_EXT and MAX_EXT blend equations, which caused the
|
| 12 |
+
result of the blend equation to become the minimum or maximum of the source
|
| 13 |
+
color and destination color, respectively.
|
| 14 |
+
|
| 15 |
+
The MIN_EXT and MAX_EXT blend equations, however, do not include the source
|
| 16 |
+
or destination blend factors in the arguments to the min and max functions.
|
| 17 |
+
This extension provides two new blend equations that produce the minimum
|
| 18 |
+
or maximum of the products of the source color and source factor, and the
|
| 19 |
+
destination color and destination factor.
|
| 20 |
+
|
| 21 |
+
The official definition of this extension is available here:
|
| 22 |
+
http://www.opengl.org/registry/specs/AMD/blend_minmax_factor.txt
|
| 23 |
+
'''
|
| 24 |
+
from OpenGL import platform, constant, arrays
|
| 25 |
+
from OpenGL import extensions, wrapper
|
| 26 |
+
import ctypes
|
| 27 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 28 |
+
from OpenGL.raw.GL.AMD.blend_minmax_factor import *
|
| 29 |
+
from OpenGL.raw.GL.AMD.blend_minmax_factor import _EXTENSION_NAME
|
| 30 |
+
|
| 31 |
+
def glInitBlendMinmaxFactorAMD():
|
| 32 |
+
'''Return boolean indicating whether this extension is available'''
|
| 33 |
+
from OpenGL import extensions
|
| 34 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/conservative_depth.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.conservative_depth
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.conservative_depth to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
There is a common optimization for hardware accelerated implementation of
|
| 10 |
+
OpenGL which relies on an early depth test to be run before the fragment
|
| 11 |
+
shader so that the shader evaluation can be skipped if the fragment ends
|
| 12 |
+
up being discarded because it is occluded.
|
| 13 |
+
|
| 14 |
+
This optimization does not affect the final rendering, and is typically
|
| 15 |
+
possible when the fragment does not change the depth programmatically.
|
| 16 |
+
(i.e.: it does not write to the built-in gl_FragDepth output). There are,
|
| 17 |
+
however a class of operations on the depth in the shader which could
|
| 18 |
+
still be performed while allowing the early depth test to operate.
|
| 19 |
+
|
| 20 |
+
This extension allows the application to pass enough information to the
|
| 21 |
+
GL implementation to activate such optimizations safely.
|
| 22 |
+
|
| 23 |
+
The official definition of this extension is available here:
|
| 24 |
+
http://www.opengl.org/registry/specs/AMD/conservative_depth.txt
|
| 25 |
+
'''
|
| 26 |
+
from OpenGL import platform, constant, arrays
|
| 27 |
+
from OpenGL import extensions, wrapper
|
| 28 |
+
import ctypes
|
| 29 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 30 |
+
from OpenGL.raw.GL.AMD.conservative_depth import *
|
| 31 |
+
from OpenGL.raw.GL.AMD.conservative_depth import _EXTENSION_NAME
|
| 32 |
+
|
| 33 |
+
def glInitConservativeDepthAMD():
|
| 34 |
+
'''Return boolean indicating whether this extension is available'''
|
| 35 |
+
from OpenGL import extensions
|
| 36 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/debug_output.py
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.debug_output
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.debug_output to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension allows the GL to notify applications when various
|
| 10 |
+
debug events occur in contexts that have been created with the debug
|
| 11 |
+
flag, as provided by WGL_ARB_create_context and GLX_ARB_create_context.
|
| 12 |
+
|
| 13 |
+
These events are represented in the form of enumerable messages with an
|
| 14 |
+
included human-readable translation. Examples of debug events include
|
| 15 |
+
incorrect use of the GL, warnings of undefined behavior, and performance
|
| 16 |
+
warnings.
|
| 17 |
+
|
| 18 |
+
A message is uniquely identified by a category and an implementation-
|
| 19 |
+
dependent ID within that category. Message categories are general and are
|
| 20 |
+
used to organize large groups of similar messages together. Examples of
|
| 21 |
+
categories include GL errors, performance warnings, and deprecated
|
| 22 |
+
functionality warnings. Each message is also assigned a severity level
|
| 23 |
+
that denotes roughly how "important" that message is in comparison to
|
| 24 |
+
other messages across all categories. For example, notification of a GL
|
| 25 |
+
error would have a higher severity than a performance warning due to
|
| 26 |
+
redundant state changes.
|
| 27 |
+
|
| 28 |
+
Messages are communicated to the application through an application-defined
|
| 29 |
+
callback function that is called by the GL implementation on each debug
|
| 30 |
+
message. The motivation for the callback routine is to free application
|
| 31 |
+
developers from actively having to query whether any GL error or other
|
| 32 |
+
debuggable event has happened after each call to a GL function. With a
|
| 33 |
+
callback, developers can keep their code free of debug checks, and only have
|
| 34 |
+
to react to messages as they occur. In order to support indirect rendering,
|
| 35 |
+
a message log is also provided that stores copies of recent messages until
|
| 36 |
+
they are actively queried.
|
| 37 |
+
|
| 38 |
+
To control the volume of debug output, messages can be disabled either
|
| 39 |
+
individually by ID, or entire groups of messages can be turned off based
|
| 40 |
+
on category or severity.
|
| 41 |
+
|
| 42 |
+
The only requirement on the minimum quantity and type of messages that
|
| 43 |
+
implementations of this extension must support is that a message must be
|
| 44 |
+
sent notifying the application whenever any GL error occurs. Any further
|
| 45 |
+
messages are left to the implementation. Implementations do not have
|
| 46 |
+
to output messages from all categories listed by this extension
|
| 47 |
+
in order to support this extension, and new categories can be added by
|
| 48 |
+
other extensions.
|
| 49 |
+
|
| 50 |
+
This extension places no restrictions or requirements on any additional
|
| 51 |
+
functionality provided by the debug context flag through other extensions.
|
| 52 |
+
|
| 53 |
+
The official definition of this extension is available here:
|
| 54 |
+
http://www.opengl.org/registry/specs/AMD/debug_output.txt
|
| 55 |
+
'''
|
| 56 |
+
from OpenGL import platform, constant, arrays
|
| 57 |
+
from OpenGL import extensions, wrapper
|
| 58 |
+
import ctypes
|
| 59 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 60 |
+
from OpenGL.raw.GL.AMD.debug_output import *
|
| 61 |
+
from OpenGL.raw.GL.AMD.debug_output import _EXTENSION_NAME
|
| 62 |
+
|
| 63 |
+
def glInitDebugOutputAMD():
|
| 64 |
+
'''Return boolean indicating whether this extension is available'''
|
| 65 |
+
from OpenGL import extensions
|
| 66 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 67 |
+
|
| 68 |
+
# INPUT glDebugMessageEnableAMD.ids size not checked against count
|
| 69 |
+
glDebugMessageEnableAMD=wrapper.wrapper(glDebugMessageEnableAMD).setInputArraySize(
|
| 70 |
+
'ids', None
|
| 71 |
+
)
|
| 72 |
+
# INPUT glDebugMessageInsertAMD.buf size not checked against length
|
| 73 |
+
glDebugMessageInsertAMD=wrapper.wrapper(glDebugMessageInsertAMD).setInputArraySize(
|
| 74 |
+
'buf', None
|
| 75 |
+
)
|
| 76 |
+
# glDebugMessageCallbackAMD.userParam is OUTPUT without known output size
|
| 77 |
+
glGetDebugMessageLogAMD=wrapper.wrapper(glGetDebugMessageLogAMD).setOutput(
|
| 78 |
+
'lengths',size=lambda x:(x,),pnameArg='count',orPassIn=True
|
| 79 |
+
).setOutput(
|
| 80 |
+
'message',size=lambda x:(x,),pnameArg='bufsize',orPassIn=True
|
| 81 |
+
).setOutput(
|
| 82 |
+
'ids',size=lambda x:(x,),pnameArg='count',orPassIn=True
|
| 83 |
+
).setOutput(
|
| 84 |
+
'categories',size=lambda x:(x,),pnameArg='count',orPassIn=True
|
| 85 |
+
).setOutput(
|
| 86 |
+
'severities',size=lambda x:(x,),pnameArg='count',orPassIn=True
|
| 87 |
+
)
|
| 88 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/depth_clamp_separate.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.depth_clamp_separate
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.depth_clamp_separate to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
The extension ARB_depth_clamp introduced the ability to control
|
| 10 |
+
the clamping of the depth value for both the near and far plane.
|
| 11 |
+
One limitation is that the control was for both planes at the
|
| 12 |
+
same time; some applications can benefit from having clamping
|
| 13 |
+
enabled for only one of the two planes, in order to save
|
| 14 |
+
fillrate for the other plane by clipping the geometry.
|
| 15 |
+
|
| 16 |
+
This extension provides exactly such functionality.
|
| 17 |
+
|
| 18 |
+
The official definition of this extension is available here:
|
| 19 |
+
http://www.opengl.org/registry/specs/AMD/depth_clamp_separate.txt
|
| 20 |
+
'''
|
| 21 |
+
from OpenGL import platform, constant, arrays
|
| 22 |
+
from OpenGL import extensions, wrapper
|
| 23 |
+
import ctypes
|
| 24 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 25 |
+
from OpenGL.raw.GL.AMD.depth_clamp_separate import *
|
| 26 |
+
from OpenGL.raw.GL.AMD.depth_clamp_separate import _EXTENSION_NAME
|
| 27 |
+
|
| 28 |
+
def glInitDepthClampSeparateAMD():
|
| 29 |
+
'''Return boolean indicating whether this extension is available'''
|
| 30 |
+
from OpenGL import extensions
|
| 31 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/draw_buffers_blend.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.draw_buffers_blend
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.draw_buffers_blend to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension builds upon the ARB_draw_buffers and EXT_draw_buffers2
|
| 10 |
+
extensions. In ARB_draw_buffers (part of OpenGL 2.0), separate values
|
| 11 |
+
could be written to each color buffer. This was further enhanced by
|
| 12 |
+
EXT_draw_buffers2 by adding in the ability to enable blending and to set
|
| 13 |
+
color write masks independently per color output.
|
| 14 |
+
|
| 15 |
+
This extension provides the ability to set individual blend equations and
|
| 16 |
+
blend functions for each color output.
|
| 17 |
+
|
| 18 |
+
The official definition of this extension is available here:
|
| 19 |
+
http://www.opengl.org/registry/specs/AMD/draw_buffers_blend.txt
|
| 20 |
+
'''
|
| 21 |
+
from OpenGL import platform, constant, arrays
|
| 22 |
+
from OpenGL import extensions, wrapper
|
| 23 |
+
import ctypes
|
| 24 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 25 |
+
from OpenGL.raw.GL.AMD.draw_buffers_blend import *
|
| 26 |
+
from OpenGL.raw.GL.AMD.draw_buffers_blend import _EXTENSION_NAME
|
| 27 |
+
|
| 28 |
+
def glInitDrawBuffersBlendAMD():
|
| 29 |
+
'''Return boolean indicating whether this extension is available'''
|
| 30 |
+
from OpenGL import extensions
|
| 31 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/gcn_shader.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.gcn_shader
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.gcn_shader to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
The official definition of this extension is available here:
|
| 8 |
+
http://www.opengl.org/registry/specs/AMD/gcn_shader.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.GL.AMD.gcn_shader import *
|
| 15 |
+
from OpenGL.raw.GL.AMD.gcn_shader import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitGcnShaderAMD():
|
| 18 |
+
'''Return boolean indicating whether this extension is available'''
|
| 19 |
+
from OpenGL import extensions
|
| 20 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/gpu_shader_int64.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.gpu_shader_int64
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.gpu_shader_int64 to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
The official definition of this extension is available here:
|
| 8 |
+
http://www.opengl.org/registry/specs/AMD/gpu_shader_int64.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.GL.AMD.gpu_shader_int64 import *
|
| 15 |
+
from OpenGL.raw.GL.AMD.gpu_shader_int64 import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitGpuShaderInt64AMD():
|
| 18 |
+
'''Return boolean indicating whether this extension is available'''
|
| 19 |
+
from OpenGL import extensions
|
| 20 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 21 |
+
|
| 22 |
+
# INPUT glUniform1i64vNV.value size not checked against count
|
| 23 |
+
glUniform1i64vNV=wrapper.wrapper(glUniform1i64vNV).setInputArraySize(
|
| 24 |
+
'value', None
|
| 25 |
+
)
|
| 26 |
+
# INPUT glUniform2i64vNV.value size not checked against None
|
| 27 |
+
glUniform2i64vNV=wrapper.wrapper(glUniform2i64vNV).setInputArraySize(
|
| 28 |
+
'value', None
|
| 29 |
+
)
|
| 30 |
+
# INPUT glUniform3i64vNV.value size not checked against None
|
| 31 |
+
glUniform3i64vNV=wrapper.wrapper(glUniform3i64vNV).setInputArraySize(
|
| 32 |
+
'value', None
|
| 33 |
+
)
|
| 34 |
+
# INPUT glUniform4i64vNV.value size not checked against None
|
| 35 |
+
glUniform4i64vNV=wrapper.wrapper(glUniform4i64vNV).setInputArraySize(
|
| 36 |
+
'value', None
|
| 37 |
+
)
|
| 38 |
+
# INPUT glUniform1ui64vNV.value size not checked against count
|
| 39 |
+
glUniform1ui64vNV=wrapper.wrapper(glUniform1ui64vNV).setInputArraySize(
|
| 40 |
+
'value', None
|
| 41 |
+
)
|
| 42 |
+
# INPUT glUniform2ui64vNV.value size not checked against None
|
| 43 |
+
glUniform2ui64vNV=wrapper.wrapper(glUniform2ui64vNV).setInputArraySize(
|
| 44 |
+
'value', None
|
| 45 |
+
)
|
| 46 |
+
# INPUT glUniform3ui64vNV.value size not checked against None
|
| 47 |
+
glUniform3ui64vNV=wrapper.wrapper(glUniform3ui64vNV).setInputArraySize(
|
| 48 |
+
'value', None
|
| 49 |
+
)
|
| 50 |
+
# INPUT glUniform4ui64vNV.value size not checked against None
|
| 51 |
+
glUniform4ui64vNV=wrapper.wrapper(glUniform4ui64vNV).setInputArraySize(
|
| 52 |
+
'value', None
|
| 53 |
+
)
|
| 54 |
+
glGetUniformi64vNV=wrapper.wrapper(glGetUniformi64vNV).setOutput(
|
| 55 |
+
'params',size=_glgets._glget_size_mapping,pnameArg='location',orPassIn=True
|
| 56 |
+
)
|
| 57 |
+
# OUTPUT glGetUniformui64vNV.params COMPSIZE(program,location)
|
| 58 |
+
# INPUT glProgramUniform1i64vNV.value size not checked against count
|
| 59 |
+
glProgramUniform1i64vNV=wrapper.wrapper(glProgramUniform1i64vNV).setInputArraySize(
|
| 60 |
+
'value', None
|
| 61 |
+
)
|
| 62 |
+
# INPUT glProgramUniform2i64vNV.value size not checked against None
|
| 63 |
+
glProgramUniform2i64vNV=wrapper.wrapper(glProgramUniform2i64vNV).setInputArraySize(
|
| 64 |
+
'value', None
|
| 65 |
+
)
|
| 66 |
+
# INPUT glProgramUniform3i64vNV.value size not checked against None
|
| 67 |
+
glProgramUniform3i64vNV=wrapper.wrapper(glProgramUniform3i64vNV).setInputArraySize(
|
| 68 |
+
'value', None
|
| 69 |
+
)
|
| 70 |
+
# INPUT glProgramUniform4i64vNV.value size not checked against None
|
| 71 |
+
glProgramUniform4i64vNV=wrapper.wrapper(glProgramUniform4i64vNV).setInputArraySize(
|
| 72 |
+
'value', None
|
| 73 |
+
)
|
| 74 |
+
# INPUT glProgramUniform1ui64vNV.value size not checked against count
|
| 75 |
+
glProgramUniform1ui64vNV=wrapper.wrapper(glProgramUniform1ui64vNV).setInputArraySize(
|
| 76 |
+
'value', None
|
| 77 |
+
)
|
| 78 |
+
# INPUT glProgramUniform2ui64vNV.value size not checked against None
|
| 79 |
+
glProgramUniform2ui64vNV=wrapper.wrapper(glProgramUniform2ui64vNV).setInputArraySize(
|
| 80 |
+
'value', None
|
| 81 |
+
)
|
| 82 |
+
# INPUT glProgramUniform3ui64vNV.value size not checked against None
|
| 83 |
+
glProgramUniform3ui64vNV=wrapper.wrapper(glProgramUniform3ui64vNV).setInputArraySize(
|
| 84 |
+
'value', None
|
| 85 |
+
)
|
| 86 |
+
# INPUT glProgramUniform4ui64vNV.value size not checked against None
|
| 87 |
+
glProgramUniform4ui64vNV=wrapper.wrapper(glProgramUniform4ui64vNV).setInputArraySize(
|
| 88 |
+
'value', None
|
| 89 |
+
)
|
| 90 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/interleaved_elements.py
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.interleaved_elements
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.interleaved_elements to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
The glDrawElements function and its variants (instanced and indirect,
|
| 10 |
+
for example) allow OpenGL to draw indexed arrays of vertices. Since its
|
| 11 |
+
inception, OpenGL has supported unsigned bytes, unsigned shorts and
|
| 12 |
+
unsigned integers as index types. However, all enabled vertex arrays may
|
| 13 |
+
be represented by at most one shared index.
|
| 14 |
+
|
| 15 |
+
A common scenario in graphics rendering is that several faces share
|
| 16 |
+
a vertex where, for each face some properties of a vertex (position and
|
| 17 |
+
texture coordinates, for example) should be common but others must be
|
| 18 |
+
unique (colors, normals, and so on). Consider a mesh of a cube with
|
| 19 |
+
per-face normals, for example. There are 8 vertices and 6 normals, and 12
|
| 20 |
+
triangles (where each face of the cube is represented as two triangles).
|
| 21 |
+
To render this cube, we must compute the 24 unique permutations of
|
| 22 |
+
position and normal and build a new element list to index into it. In
|
| 23 |
+
fact, any advantage of indexed draw is lost here as the number of required
|
| 24 |
+
permutations is equal to the final vertex count required to draw the
|
| 25 |
+
object.
|
| 26 |
+
|
| 27 |
+
This extension allows OpenGL to process multi-component packed element
|
| 28 |
+
data. The maximum size of a vertex's index data is not increased, but the
|
| 29 |
+
facility to store 2 16-bit or 2 or 4 8-bit indices per vertex is introduced.
|
| 30 |
+
Each vertex attribute is given a swizzle property to allow its index to
|
| 31 |
+
be sourced from one of up to 4 channels of index data. This effectively
|
| 32 |
+
allows an application to supply multiple interleaved streams of index data
|
| 33 |
+
to OpenGL. Each vertex attribute is given a 'channel selector' to select
|
| 34 |
+
one of the up to 4 channels of vertex index information presented to
|
| 35 |
+
OpenGL. This enables the use-case described above and many more.
|
| 36 |
+
The swizzle parameter is also applied to vertex indices passed to shaders,
|
| 37 |
+
and updates to the definition of base vertex parameters and primitive
|
| 38 |
+
restart are applied.
|
| 39 |
+
|
| 40 |
+
The official definition of this extension is available here:
|
| 41 |
+
http://www.opengl.org/registry/specs/AMD/interleaved_elements.txt
|
| 42 |
+
'''
|
| 43 |
+
from OpenGL import platform, constant, arrays
|
| 44 |
+
from OpenGL import extensions, wrapper
|
| 45 |
+
import ctypes
|
| 46 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 47 |
+
from OpenGL.raw.GL.AMD.interleaved_elements import *
|
| 48 |
+
from OpenGL.raw.GL.AMD.interleaved_elements import _EXTENSION_NAME
|
| 49 |
+
|
| 50 |
+
def glInitInterleavedElementsAMD():
|
| 51 |
+
'''Return boolean indicating whether this extension is available'''
|
| 52 |
+
from OpenGL import extensions
|
| 53 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/multi_draw_indirect.py
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.multi_draw_indirect
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.multi_draw_indirect to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
The ARB_draw_indirect extension (included in OpenGL 4.0) introduced
|
| 10 |
+
mechanisms whereby the parameters for a draw function may be provided in
|
| 11 |
+
a structure contained in a buffer object rather than as parameters to the
|
| 12 |
+
drawing procedure. This is known as an indirect draw and is exposed as two
|
| 13 |
+
new functions, glDrawArraysIndirect and glDrawElementsIndirect. Each of
|
| 14 |
+
these functions generates a single batch of primitives.
|
| 15 |
+
|
| 16 |
+
This extension builds on this functionality by providing procedures to
|
| 17 |
+
invoke multiple draws from a single procedure call. This allows large
|
| 18 |
+
batches of drawing commands to be assembled in server memory (via a buffer
|
| 19 |
+
object) which may then be dispatched through a single function call.
|
| 20 |
+
|
| 21 |
+
The official definition of this extension is available here:
|
| 22 |
+
http://www.opengl.org/registry/specs/AMD/multi_draw_indirect.txt
|
| 23 |
+
'''
|
| 24 |
+
from OpenGL import platform, constant, arrays
|
| 25 |
+
from OpenGL import extensions, wrapper
|
| 26 |
+
import ctypes
|
| 27 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 28 |
+
from OpenGL.raw.GL.AMD.multi_draw_indirect import *
|
| 29 |
+
from OpenGL.raw.GL.AMD.multi_draw_indirect import _EXTENSION_NAME
|
| 30 |
+
|
| 31 |
+
def glInitMultiDrawIndirectAMD():
|
| 32 |
+
'''Return boolean indicating whether this extension is available'''
|
| 33 |
+
from OpenGL import extensions
|
| 34 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/name_gen_delete.py
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.name_gen_delete
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.name_gen_delete to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension simply creates 2 new entry-points that name generic
|
| 10 |
+
creation and deletion of names. The intent is to go away from API
|
| 11 |
+
functionality that provides a create/delete function for each specific
|
| 12 |
+
object.
|
| 13 |
+
|
| 14 |
+
For example:
|
| 15 |
+
glGenTextures/glDeleteTextures/glIsTexture
|
| 16 |
+
glGenBuffers/glDeleteBuffers/IsBuffer
|
| 17 |
+
glGenFramebuffers/glDeleteFramebuffers/IsFramebuffer
|
| 18 |
+
|
| 19 |
+
Instead, everything is created using one entry-point GenNamesAMD and
|
| 20 |
+
everything is now deleted with another entry-point DeleteNamesAMD with
|
| 21 |
+
the appropriate identifier set. In addition, everything can now be
|
| 22 |
+
queried with IsNameAMD.
|
| 23 |
+
|
| 24 |
+
This alleviates the problem we may eventually encounter where we have
|
| 25 |
+
many Gen/Delete/Is functions where 3 might suffice. All that is needed
|
| 26 |
+
in the new case is to add a valid identifier to the accepted parameters
|
| 27 |
+
list.
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
The official definition of this extension is available here:
|
| 31 |
+
http://www.opengl.org/registry/specs/AMD/name_gen_delete.txt
|
| 32 |
+
'''
|
| 33 |
+
from OpenGL import platform, constant, arrays
|
| 34 |
+
from OpenGL import extensions, wrapper
|
| 35 |
+
import ctypes
|
| 36 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 37 |
+
from OpenGL.raw.GL.AMD.name_gen_delete import *
|
| 38 |
+
from OpenGL.raw.GL.AMD.name_gen_delete import _EXTENSION_NAME
|
| 39 |
+
|
| 40 |
+
def glInitNameGenDeleteAMD():
|
| 41 |
+
'''Return boolean indicating whether this extension is available'''
|
| 42 |
+
from OpenGL import extensions
|
| 43 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 44 |
+
|
| 45 |
+
glGenNamesAMD=wrapper.wrapper(glGenNamesAMD).setOutput(
|
| 46 |
+
'names',size=lambda x:(x,),pnameArg='num',orPassIn=True
|
| 47 |
+
)
|
| 48 |
+
# INPUT glDeleteNamesAMD.names size not checked against num
|
| 49 |
+
glDeleteNamesAMD=wrapper.wrapper(glDeleteNamesAMD).setInputArraySize(
|
| 50 |
+
'names', None
|
| 51 |
+
)
|
| 52 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/occlusion_query_event.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.occlusion_query_event
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.occlusion_query_event to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
The official definition of this extension is available here:
|
| 8 |
+
http://www.opengl.org/registry/specs/AMD/occlusion_query_event.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.GL.AMD.occlusion_query_event import *
|
| 15 |
+
from OpenGL.raw.GL.AMD.occlusion_query_event import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitOcclusionQueryEventAMD():
|
| 18 |
+
'''Return boolean indicating whether this extension is available'''
|
| 19 |
+
from OpenGL import extensions
|
| 20 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/performance_monitor.py
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.performance_monitor
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.performance_monitor to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension enables the capture and reporting of performance monitors.
|
| 10 |
+
Performance monitors contain groups of counters which hold arbitrary counted
|
| 11 |
+
data. Typically, the counters hold information on performance-related
|
| 12 |
+
counters in the underlying hardware. The extension is general enough to
|
| 13 |
+
allow the implementation to choose which counters to expose and pick the
|
| 14 |
+
data type and range of the counters. The extension also allows counting to
|
| 15 |
+
start and end on arbitrary boundaries during rendering.
|
| 16 |
+
|
| 17 |
+
The official definition of this extension is available here:
|
| 18 |
+
http://www.opengl.org/registry/specs/AMD/performance_monitor.txt
|
| 19 |
+
'''
|
| 20 |
+
from OpenGL import platform, constant, arrays
|
| 21 |
+
from OpenGL import extensions, wrapper
|
| 22 |
+
import ctypes
|
| 23 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 24 |
+
from OpenGL.raw.GL.AMD.performance_monitor import *
|
| 25 |
+
from OpenGL.raw.GL.AMD.performance_monitor import _EXTENSION_NAME
|
| 26 |
+
|
| 27 |
+
def glInitPerformanceMonitorAMD():
|
| 28 |
+
'''Return boolean indicating whether this extension is available'''
|
| 29 |
+
from OpenGL import extensions
|
| 30 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 31 |
+
|
| 32 |
+
glGetPerfMonitorGroupsAMD=wrapper.wrapper(glGetPerfMonitorGroupsAMD).setOutput(
|
| 33 |
+
'numGroups',size=(1,),orPassIn=True
|
| 34 |
+
).setOutput(
|
| 35 |
+
'groups',size=lambda x:(x,),pnameArg='groupsSize',orPassIn=True
|
| 36 |
+
)
|
| 37 |
+
glGetPerfMonitorCountersAMD=wrapper.wrapper(glGetPerfMonitorCountersAMD).setOutput(
|
| 38 |
+
'numCounters',size=(1,),orPassIn=True
|
| 39 |
+
).setOutput(
|
| 40 |
+
'maxActiveCounters',size=(1,),orPassIn=True
|
| 41 |
+
).setOutput(
|
| 42 |
+
'counters',size=lambda x:(x,),pnameArg='counterSize',orPassIn=True
|
| 43 |
+
)
|
| 44 |
+
glGetPerfMonitorGroupStringAMD=wrapper.wrapper(glGetPerfMonitorGroupStringAMD).setOutput(
|
| 45 |
+
'groupString',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True
|
| 46 |
+
).setOutput(
|
| 47 |
+
'length',size=(1,),orPassIn=True
|
| 48 |
+
)
|
| 49 |
+
glGetPerfMonitorCounterStringAMD=wrapper.wrapper(glGetPerfMonitorCounterStringAMD).setOutput(
|
| 50 |
+
'length',size=(1,),orPassIn=True
|
| 51 |
+
).setOutput(
|
| 52 |
+
'counterString',size=lambda x:(x,),pnameArg='bufSize',orPassIn=True
|
| 53 |
+
)
|
| 54 |
+
glGetPerfMonitorCounterInfoAMD=wrapper.wrapper(glGetPerfMonitorCounterInfoAMD).setOutput(
|
| 55 |
+
'data',size=_glgets._glget_size_mapping,pnameArg='pname',orPassIn=True
|
| 56 |
+
)
|
| 57 |
+
glGenPerfMonitorsAMD=wrapper.wrapper(glGenPerfMonitorsAMD).setOutput(
|
| 58 |
+
'monitors',size=lambda x:(x,),pnameArg='n',orPassIn=True
|
| 59 |
+
)
|
| 60 |
+
glDeletePerfMonitorsAMD=wrapper.wrapper(glDeletePerfMonitorsAMD).setOutput(
|
| 61 |
+
'monitors',size=lambda x:(x,),pnameArg='n',orPassIn=True
|
| 62 |
+
)
|
| 63 |
+
glSelectPerfMonitorCountersAMD=wrapper.wrapper(glSelectPerfMonitorCountersAMD).setOutput(
|
| 64 |
+
'counterList',size=lambda x:(x,),pnameArg='numCounters',orPassIn=True
|
| 65 |
+
)
|
| 66 |
+
glGetPerfMonitorCounterDataAMD=wrapper.wrapper(glGetPerfMonitorCounterDataAMD).setOutput(
|
| 67 |
+
'data',size=lambda x:(x,),pnameArg='dataSize',orPassIn=True
|
| 68 |
+
).setOutput(
|
| 69 |
+
'bytesWritten',size=(1,),orPassIn=True
|
| 70 |
+
)
|
| 71 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/pinned_memory.py
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.pinned_memory
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.pinned_memory to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension defines an interface that allows improved control
|
| 10 |
+
of the physical memory used by the graphics device.
|
| 11 |
+
|
| 12 |
+
It allows an existing page of system memory allocated by the application
|
| 13 |
+
to be used as memory directly accessible to the graphics processor. One
|
| 14 |
+
example application of this functionality would be to be able to avoid an
|
| 15 |
+
explicit synchronous copy with sub-system of the application; for instance
|
| 16 |
+
it is possible to directly draw from a system memory copy of a video
|
| 17 |
+
image.
|
| 18 |
+
|
| 19 |
+
The official definition of this extension is available here:
|
| 20 |
+
http://www.opengl.org/registry/specs/AMD/pinned_memory.txt
|
| 21 |
+
'''
|
| 22 |
+
from OpenGL import platform, constant, arrays
|
| 23 |
+
from OpenGL import extensions, wrapper
|
| 24 |
+
import ctypes
|
| 25 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 26 |
+
from OpenGL.raw.GL.AMD.pinned_memory import *
|
| 27 |
+
from OpenGL.raw.GL.AMD.pinned_memory import _EXTENSION_NAME
|
| 28 |
+
|
| 29 |
+
def glInitPinnedMemoryAMD():
|
| 30 |
+
'''Return boolean indicating whether this extension is available'''
|
| 31 |
+
from OpenGL import extensions
|
| 32 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/AMD/query_buffer_object.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension AMD.query_buffer_object
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.AMD.query_buffer_object to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
Statistics about the operation of the OpenGL pipeline, such as the number
|
| 10 |
+
of samples that passed the depth test, the elapsed time between two events
|
| 11 |
+
or the number of vertices written to a transform feedback buffer may
|
| 12 |
+
be retrieved from the GL through query objects. The current value of a
|
| 13 |
+
query object may be retrieved by the application through the OpenGL API.
|
| 14 |
+
Should the result returned by the API be required for use in a shader,
|
| 15 |
+
it must be passed back to the GL via a program uniform or some other
|
| 16 |
+
mechanism. This requires a round-trip from the GPU to the CPU and back.
|
| 17 |
+
|
| 18 |
+
This extension introduces a mechanism whereby the current value of a query
|
| 19 |
+
result may be retrieved into a buffer object instead of client memory.
|
| 20 |
+
This allows the query result to be made available to a shader without a
|
| 21 |
+
round-trip to the CPU for example by subsequently using the buffer object
|
| 22 |
+
as a uniform buffer, texture buffer or other data store visible to the
|
| 23 |
+
shader. This functionality may also be used to place the results of
|
| 24 |
+
many query objects into a single, large buffer and then map or otherwise
|
| 25 |
+
read back the entire buffer at a later point in time, avoiding a per-query
|
| 26 |
+
CPU-GPU synchronization event.
|
| 27 |
+
|
| 28 |
+
The result of any query object type supported by the GL implementation
|
| 29 |
+
may be retrieved into a buffer object. The implementation will determine
|
| 30 |
+
the most efficient method of copying the query result to the buffer.
|
| 31 |
+
|
| 32 |
+
The official definition of this extension is available here:
|
| 33 |
+
http://www.opengl.org/registry/specs/AMD/query_buffer_object.txt
|
| 34 |
+
'''
|
| 35 |
+
from OpenGL import platform, constant, arrays
|
| 36 |
+
from OpenGL import extensions, wrapper
|
| 37 |
+
import ctypes
|
| 38 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 39 |
+
from OpenGL.raw.GL.AMD.query_buffer_object import *
|
| 40 |
+
from OpenGL.raw.GL.AMD.query_buffer_object import _EXTENSION_NAME
|
| 41 |
+
|
| 42 |
+
def glInitQueryBufferObjectAMD():
|
| 43 |
+
'''Return boolean indicating whether this extension is available'''
|
| 44 |
+
from OpenGL import extensions
|
| 45 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
### END AUTOGENERATED SECTION
|