Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/element_array.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/map_object_buffer.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/meminfo.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/pixel_format_float.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/separate_stencil.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/text_fragment_shader.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/texture_env_combine3.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/vertex_array_object.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/vertex_streams.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/element_array.py +42 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__init__.py +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/debug.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/texture_compression_astc_hdr.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/debug.py +214 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/texture_compression_astc_hdr.py +40 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/texture_compression_astc_ldr.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/SGIS/__pycache__/detail_texture.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/GL/SGIS/__pycache__/fog_function.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__init__.py +1 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/__init__.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/buffer_region.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context_profile.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context_robustness.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/extensions_string.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/framebuffer_sRGB.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/make_current_read.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/multisample.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pbuffer.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pixel_format.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pixel_format_float.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/render_texture.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/robustness_application_isolation.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/robustness_share_group_isolation.cpython-310.pyc +0 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/buffer_region.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/create_context.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/create_context_profile.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/create_context_robustness.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/extensions_string.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/framebuffer_sRGB.py +55 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/make_current_read.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/multisample.py +51 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/pbuffer.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/pixel_format.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/pixel_format_float.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/render_texture.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/robustness_application_isolation.py +23 -0
- vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/robustness_share_group_isolation.py +23 -0
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (192 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/element_array.cpython-310.pyc
ADDED
|
Binary file (1.79 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/map_object_buffer.cpython-310.pyc
ADDED
|
Binary file (1.27 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/meminfo.cpython-310.pyc
ADDED
|
Binary file (1.45 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/pixel_format_float.cpython-310.pyc
ADDED
|
Binary file (1.73 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/separate_stencil.cpython-310.pyc
ADDED
|
Binary file (1.19 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/text_fragment_shader.cpython-310.pyc
ADDED
|
Binary file (4.12 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/texture_env_combine3.cpython-310.pyc
ADDED
|
Binary file (1.86 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/vertex_array_object.cpython-310.pyc
ADDED
|
Binary file (1.79 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/__pycache__/vertex_streams.cpython-310.pyc
ADDED
|
Binary file (2.38 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/ATI/element_array.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ATI.element_array
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.ATI.element_array to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension provides a mechanism for an application to create
|
| 10 |
+
an array of index data for use in specifying geometric primitives.
|
| 11 |
+
|
| 12 |
+
This extension is most useful when used in conjunction with the
|
| 13 |
+
ATI_vertex_array_object extension. ATI_vertex_array_object
|
| 14 |
+
provides an interface for storing vertex array data in persistent,
|
| 15 |
+
hardware-addressable memory. In cases where large amounts of
|
| 16 |
+
vertex data are in use, the index data used to construct
|
| 17 |
+
primitives (typically as passed to the GL through DrawElements)
|
| 18 |
+
can impose a significant bandwidth burden. ATI_element_array
|
| 19 |
+
allows the application to specify independent arrays of elements,
|
| 20 |
+
which can then be cached using ATI_vertex_array_object.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
The official definition of this extension is available here:
|
| 24 |
+
http://www.opengl.org/registry/specs/ATI/element_array.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.ATI.element_array import *
|
| 31 |
+
from OpenGL.raw.GL.ATI.element_array import _EXTENSION_NAME
|
| 32 |
+
|
| 33 |
+
def glInitElementArrayATI():
|
| 34 |
+
'''Return boolean indicating whether this extension is available'''
|
| 35 |
+
from OpenGL import extensions
|
| 36 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 37 |
+
|
| 38 |
+
# INPUT glElementPointerATI.pointer size not checked against 'type'
|
| 39 |
+
glElementPointerATI=wrapper.wrapper(glElementPointerATI).setInputArraySize(
|
| 40 |
+
'pointer', None
|
| 41 |
+
)
|
| 42 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__init__.py
ADDED
|
File without changes
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (163 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/debug.cpython-310.pyc
ADDED
|
Binary file (7.7 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/__pycache__/texture_compression_astc_hdr.cpython-310.pyc
ADDED
|
Binary file (1.83 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/debug.py
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension KHR.debug
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.KHR.debug 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 events
|
| 10 |
+
occur that may be useful during application development, debugging and
|
| 11 |
+
profiling.
|
| 12 |
+
|
| 13 |
+
These events are represented in the form of enumerable messages with a
|
| 14 |
+
human-readable string representation. 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 source, a type and an
|
| 19 |
+
implementation-dependent ID within the source and type pair.
|
| 20 |
+
|
| 21 |
+
A message's source identifies the origin of the message and can either
|
| 22 |
+
describe components of the GL, the window system, third-party external
|
| 23 |
+
sources such as external debuggers, or even the application itself.
|
| 24 |
+
|
| 25 |
+
The type of the message roughly identifies the nature of the event that
|
| 26 |
+
caused the message. Examples include errors, performance warnings,
|
| 27 |
+
warnings about undefined behavior or notifications identifying that the
|
| 28 |
+
application is within a specific section of the application code.
|
| 29 |
+
|
| 30 |
+
A message's ID for a given source and type further distinguishes messages
|
| 31 |
+
within namespaces. For example, an error caused by a negative parameter
|
| 32 |
+
value or an invalid internal texture format are both errors generated by
|
| 33 |
+
the API, but would likely have different message IDs.
|
| 34 |
+
|
| 35 |
+
Each message is also assigned to a severity level that denotes roughly how
|
| 36 |
+
"important" that message is in comparison to other messages across all
|
| 37 |
+
sources and types. For example, notification of a GL error would likely
|
| 38 |
+
have a higher severity than a performance warning due to redundant state
|
| 39 |
+
changes.
|
| 40 |
+
|
| 41 |
+
Furthermore, every message contains an implementation-dependent string
|
| 42 |
+
representation that provides a useful description of the event.
|
| 43 |
+
|
| 44 |
+
Messages are communicated to the application through an application-
|
| 45 |
+
defined callback function that is called by the GL implementation on each
|
| 46 |
+
debug message. The motivation for the callback routine is to free
|
| 47 |
+
application developers from actively having to query whether a GL error,
|
| 48 |
+
or any other debuggable event has happened after each call to a GL
|
| 49 |
+
function. With a callback, developers can keep their code free of debug
|
| 50 |
+
checks, set breakpoints in the callback function, and only have to react
|
| 51 |
+
to messages as they occur. In situations where using a callback is not
|
| 52 |
+
possible, a message log is also provided that stores only copies of recent
|
| 53 |
+
messages until they are actively queried.
|
| 54 |
+
|
| 55 |
+
To control the volume of debug output, messages can be disabled either
|
| 56 |
+
individually by ID, or entire sets of messages can be turned off based on
|
| 57 |
+
combination of source and type, through the entire application code or
|
| 58 |
+
only section of the code encapsulated in debug groups. A debug group may
|
| 59 |
+
also be used to annotate the command stream using descriptive texts.
|
| 60 |
+
|
| 61 |
+
This extension also defines debug markers, a mechanism for the OpenGL
|
| 62 |
+
application to annotate the command stream with markers for discrete
|
| 63 |
+
events.
|
| 64 |
+
|
| 65 |
+
When profiling or debugging an OpenGL application with a built-in or an
|
| 66 |
+
external debugger or profiler, it is difficult to relate the commands
|
| 67 |
+
within the command stream to the elements of the scene or parts of the
|
| 68 |
+
program code to which they correspond. Debug markers and debug groups help
|
| 69 |
+
obviate this by allowing applications to specify this link. For example, a
|
| 70 |
+
debug marker can be used to identify the beginning of a frame in the
|
| 71 |
+
command stream and a debug group can encapsulate a specific command stream
|
| 72 |
+
to identify a rendering pass. Debug groups also allow control of the debug
|
| 73 |
+
outputs volume per section of an application code providing an effective
|
| 74 |
+
way to handle the massive amount of debug outputs that drivers can
|
| 75 |
+
generate.
|
| 76 |
+
|
| 77 |
+
Some existing implementations of ARB_debug_output only expose the
|
| 78 |
+
ARB_debug_output extension string if the context was created with the
|
| 79 |
+
debug flag {GLX|WGL}_CONTEXT_DEBUG_BIT_ARB as specified in
|
| 80 |
+
{GLX|WGL}_ARB_create_context. The behavior is not obvious when the
|
| 81 |
+
functionality is brought into the OpenGL core specification because the
|
| 82 |
+
extension string and function entry points must always exist.
|
| 83 |
+
|
| 84 |
+
This extension modifies the existing ARB_debug_output extension to allow
|
| 85 |
+
implementations to always have an empty message log. The specific messages
|
| 86 |
+
written to the message log or callback routines are already implementation
|
| 87 |
+
defined, so this specification simply makes it explicit that it's fine for
|
| 88 |
+
there to be zero messages generated, even when a GL error occurs, which is
|
| 89 |
+
useful if the context is non-debug.
|
| 90 |
+
|
| 91 |
+
Debug output can be enabled and disabled by changing the DEBUG_OUTPUT
|
| 92 |
+
state. It is implementation defined how much debug output is generated if
|
| 93 |
+
the context was created without the CONTEXT_DEBUG_BIT set. This is a new
|
| 94 |
+
query bit added to the existing GL_CONTEXT_FLAGS state to specify whether
|
| 95 |
+
the context was created with debug enabled.
|
| 96 |
+
|
| 97 |
+
Finally, this extension defines a mechanism for OpenGL applications to
|
| 98 |
+
label their objects (textures, buffers, shaders, etc.) with a descriptive
|
| 99 |
+
string.
|
| 100 |
+
|
| 101 |
+
When profiling or debugging an OpenGL application within an external or
|
| 102 |
+
built-in (debut output API) debugger or profiler it is difficult to
|
| 103 |
+
identify objects from their object names (integers).
|
| 104 |
+
|
| 105 |
+
Even when the object itself is viewed it can be problematic to
|
| 106 |
+
differentiate between similar objects. Attaching a descriptive string, a
|
| 107 |
+
label, to an object obviates this difficulty.
|
| 108 |
+
|
| 109 |
+
The intended purpose of this extension is purely to improve the user
|
| 110 |
+
experience within OpenGL development tools and application built-in
|
| 111 |
+
profilers and debuggers. This extension typically improves OpenGL
|
| 112 |
+
programmers efficiency by allowing them to instantly detect issues and the
|
| 113 |
+
reason for these issues giving him more time to focus on adding new
|
| 114 |
+
features to an OpenGL application.
|
| 115 |
+
|
| 116 |
+
The official definition of this extension is available here:
|
| 117 |
+
http://www.opengl.org/registry/specs/KHR/debug.txt
|
| 118 |
+
'''
|
| 119 |
+
from OpenGL import platform, constant, arrays
|
| 120 |
+
from OpenGL import extensions, wrapper
|
| 121 |
+
import ctypes
|
| 122 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 123 |
+
from OpenGL.raw.GL.KHR.debug import *
|
| 124 |
+
from OpenGL.raw.GL.KHR.debug import _EXTENSION_NAME
|
| 125 |
+
|
| 126 |
+
def glInitDebugKHR():
|
| 127 |
+
'''Return boolean indicating whether this extension is available'''
|
| 128 |
+
from OpenGL import extensions
|
| 129 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 130 |
+
|
| 131 |
+
# INPUT glDebugMessageControl.ids size not checked against count
|
| 132 |
+
glDebugMessageControl=wrapper.wrapper(glDebugMessageControl).setInputArraySize(
|
| 133 |
+
'ids', None
|
| 134 |
+
)
|
| 135 |
+
# INPUT glDebugMessageInsert.buf size not checked against 'buf,length'
|
| 136 |
+
glDebugMessageInsert=wrapper.wrapper(glDebugMessageInsert).setInputArraySize(
|
| 137 |
+
'buf', None
|
| 138 |
+
)
|
| 139 |
+
# INPUT glGetDebugMessageLog.lengths size not checked against count
|
| 140 |
+
# INPUT glGetDebugMessageLog.ids size not checked against count
|
| 141 |
+
# INPUT glGetDebugMessageLog.severities size not checked against count
|
| 142 |
+
# INPUT glGetDebugMessageLog.sources size not checked against count
|
| 143 |
+
# INPUT glGetDebugMessageLog.messageLog size not checked against bufSize
|
| 144 |
+
# INPUT glGetDebugMessageLog.types size not checked against count
|
| 145 |
+
glGetDebugMessageLog=wrapper.wrapper(glGetDebugMessageLog).setInputArraySize(
|
| 146 |
+
'lengths', None
|
| 147 |
+
).setInputArraySize(
|
| 148 |
+
'ids', None
|
| 149 |
+
).setInputArraySize(
|
| 150 |
+
'severities', None
|
| 151 |
+
).setInputArraySize(
|
| 152 |
+
'sources', None
|
| 153 |
+
).setInputArraySize(
|
| 154 |
+
'messageLog', None
|
| 155 |
+
).setInputArraySize(
|
| 156 |
+
'types', None
|
| 157 |
+
)
|
| 158 |
+
# INPUT glPushDebugGroup.message size not checked against 'message,length'
|
| 159 |
+
glPushDebugGroup=wrapper.wrapper(glPushDebugGroup).setInputArraySize(
|
| 160 |
+
'message', None
|
| 161 |
+
)
|
| 162 |
+
# INPUT glObjectLabel.label size not checked against 'label,length'
|
| 163 |
+
glObjectLabel=wrapper.wrapper(glObjectLabel).setInputArraySize(
|
| 164 |
+
'label', None
|
| 165 |
+
)
|
| 166 |
+
# INPUT glGetObjectLabel.label size not checked against bufSize
|
| 167 |
+
glGetObjectLabel=wrapper.wrapper(glGetObjectLabel).setInputArraySize(
|
| 168 |
+
'length', 1
|
| 169 |
+
).setInputArraySize(
|
| 170 |
+
'label', None
|
| 171 |
+
)
|
| 172 |
+
# INPUT glObjectPtrLabel.label size not checked against 'label,length'
|
| 173 |
+
glObjectPtrLabel=wrapper.wrapper(glObjectPtrLabel).setInputArraySize(
|
| 174 |
+
'label', None
|
| 175 |
+
)
|
| 176 |
+
# INPUT glGetObjectPtrLabel.label size not checked against bufSize
|
| 177 |
+
glGetObjectPtrLabel=wrapper.wrapper(glGetObjectPtrLabel).setInputArraySize(
|
| 178 |
+
'length', 1
|
| 179 |
+
).setInputArraySize(
|
| 180 |
+
'label', None
|
| 181 |
+
)
|
| 182 |
+
glGetPointerv=wrapper.wrapper(glGetPointerv).setOutput(
|
| 183 |
+
'params',size=(1,),orPassIn=True
|
| 184 |
+
)
|
| 185 |
+
# INPUT glGetDebugMessageLogKHR.lengths size not checked against count
|
| 186 |
+
# INPUT glGetDebugMessageLogKHR.ids size not checked against count
|
| 187 |
+
# INPUT glGetDebugMessageLogKHR.severities size not checked against count
|
| 188 |
+
# INPUT glGetDebugMessageLogKHR.sources size not checked against count
|
| 189 |
+
# INPUT glGetDebugMessageLogKHR.messageLog size not checked against bufSize
|
| 190 |
+
# INPUT glGetDebugMessageLogKHR.types size not checked against count
|
| 191 |
+
glGetDebugMessageLogKHR=wrapper.wrapper(glGetDebugMessageLogKHR).setInputArraySize(
|
| 192 |
+
'lengths', None
|
| 193 |
+
).setInputArraySize(
|
| 194 |
+
'ids', None
|
| 195 |
+
).setInputArraySize(
|
| 196 |
+
'severities', None
|
| 197 |
+
).setInputArraySize(
|
| 198 |
+
'sources', None
|
| 199 |
+
).setInputArraySize(
|
| 200 |
+
'messageLog', None
|
| 201 |
+
).setInputArraySize(
|
| 202 |
+
'types', None
|
| 203 |
+
)
|
| 204 |
+
# INPUT glGetObjectLabelKHR.label size not checked against bufSize
|
| 205 |
+
glGetObjectLabelKHR=wrapper.wrapper(glGetObjectLabelKHR).setInputArraySize(
|
| 206 |
+
'label', None
|
| 207 |
+
)
|
| 208 |
+
# INPUT glGetObjectPtrLabelKHR.label size not checked against bufSize
|
| 209 |
+
glGetObjectPtrLabelKHR=wrapper.wrapper(glGetObjectPtrLabelKHR).setInputArraySize(
|
| 210 |
+
'length', 1
|
| 211 |
+
).setInputArraySize(
|
| 212 |
+
'label', None
|
| 213 |
+
)
|
| 214 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/texture_compression_astc_hdr.py
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension KHR.texture_compression_astc_hdr
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.KHR.texture_compression_astc_hdr to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
Adaptive Scalable Texture Compression (ASTC) is a new texture
|
| 10 |
+
compression technology that offers unprecendented flexibility,
|
| 11 |
+
while producing better or comparable results than existing texture
|
| 12 |
+
compressions at all bit rates. It includes support for 2D and
|
| 13 |
+
slice-based 3D textures, with low and high dynamic range, at
|
| 14 |
+
bitrates from below 1 bit/pixel up to 8 bits/pixel in fine steps.
|
| 15 |
+
|
| 16 |
+
The goal of this extension is to support the full 2D profile of the
|
| 17 |
+
ASTC texture compression specification, and allow construction of
|
| 18 |
+
3D textures from multiple 2D slices.
|
| 19 |
+
|
| 20 |
+
ASTC-compressed textures are handled in OpenGL ES and OpenGL by
|
| 21 |
+
adding new supported formats to the existing mechanisms for handling
|
| 22 |
+
compressed textures.
|
| 23 |
+
|
| 24 |
+
The official definition of this extension is available here:
|
| 25 |
+
http://www.opengl.org/registry/specs/KHR/texture_compression_astc_hdr.txt
|
| 26 |
+
'''
|
| 27 |
+
from OpenGL import platform, constant, arrays
|
| 28 |
+
from OpenGL import extensions, wrapper
|
| 29 |
+
import ctypes
|
| 30 |
+
from OpenGL.raw.GL import _types, _glgets
|
| 31 |
+
from OpenGL.raw.GL.KHR.texture_compression_astc_hdr import *
|
| 32 |
+
from OpenGL.raw.GL.KHR.texture_compression_astc_hdr import _EXTENSION_NAME
|
| 33 |
+
|
| 34 |
+
def glInitTextureCompressionAstcHdrKHR():
|
| 35 |
+
'''Return boolean indicating whether this extension is available'''
|
| 36 |
+
from OpenGL import extensions
|
| 37 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/GL/KHR/texture_compression_astc_ldr.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension KHR.texture_compression_astc_ldr
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.GL.KHR.texture_compression_astc_ldr 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/KHR/texture_compression_astc_ldr.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.KHR.texture_compression_astc_ldr import *
|
| 15 |
+
from OpenGL.raw.GL.KHR.texture_compression_astc_ldr import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitTextureCompressionAstcLdrKHR():
|
| 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/SGIS/__pycache__/detail_texture.cpython-310.pyc
ADDED
|
Binary file (2 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIS/__pycache__/fog_function.cpython-310.pyc
ADDED
|
Binary file (1.59 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
"""OpenGL Extensions"""
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (193 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/buffer_region.cpython-310.pyc
ADDED
|
Binary file (995 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context.cpython-310.pyc
ADDED
|
Binary file (1 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context_profile.cpython-310.pyc
ADDED
|
Binary file (1.05 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/create_context_robustness.cpython-310.pyc
ADDED
|
Binary file (1.07 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/extensions_string.cpython-310.pyc
ADDED
|
Binary file (1.02 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/framebuffer_sRGB.cpython-310.pyc
ADDED
|
Binary file (2.65 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/make_current_read.cpython-310.pyc
ADDED
|
Binary file (1.02 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/multisample.cpython-310.pyc
ADDED
|
Binary file (2.5 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pbuffer.cpython-310.pyc
ADDED
|
Binary file (960 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pixel_format.cpython-310.pyc
ADDED
|
Binary file (989 Bytes). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/pixel_format_float.cpython-310.pyc
ADDED
|
Binary file (1.02 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/render_texture.cpython-310.pyc
ADDED
|
Binary file (1 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/robustness_application_isolation.cpython-310.pyc
ADDED
|
Binary file (1.11 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/__pycache__/robustness_share_group_isolation.cpython-310.pyc
ADDED
|
Binary file (1.11 kB). View file
|
|
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/buffer_region.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.buffer_region
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.buffer_region 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/ARB/buffer_region.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.buffer_region import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.buffer_region import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitBufferRegionARB():
|
| 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/WGL/ARB/create_context.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.create_context
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.create_context 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/ARB/create_context.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.create_context import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.create_context import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitCreateContextARB():
|
| 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/WGL/ARB/create_context_profile.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.create_context_profile
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.create_context_profile 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/ARB/create_context_profile.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.create_context_profile import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.create_context_profile import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitCreateContextProfileARB():
|
| 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/WGL/ARB/create_context_robustness.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.create_context_robustness
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.create_context_robustness 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/ARB/create_context_robustness.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.create_context_robustness import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.create_context_robustness import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitCreateContextRobustnessARB():
|
| 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/WGL/ARB/extensions_string.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.extensions_string
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.extensions_string 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/ARB/extensions_string.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.extensions_string import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.extensions_string import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitExtensionsStringARB():
|
| 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/WGL/ARB/framebuffer_sRGB.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.framebuffer_sRGB
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.framebuffer_sRGB to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
Conventionally, OpenGL assumes framebuffer color components are stored
|
| 10 |
+
in a linear color space. In particular, framebuffer blending is a
|
| 11 |
+
linear operation.
|
| 12 |
+
|
| 13 |
+
The sRGB color space is based on typical (non-linear) monitor
|
| 14 |
+
characteristics expected in a dimly lit office. It has been
|
| 15 |
+
standardized by the International Electrotechnical Commission (IEC)
|
| 16 |
+
as IEC 61966-2-1. The sRGB color space roughly corresponds to 2.2
|
| 17 |
+
gamma correction.
|
| 18 |
+
|
| 19 |
+
This extension adds a framebuffer capability for sRGB framebuffer
|
| 20 |
+
update and blending. When blending is disabled but the new sRGB
|
| 21 |
+
updated mode is enabled (assume the framebuffer supports the
|
| 22 |
+
capability), high-precision linear color component values for red,
|
| 23 |
+
green, and blue generated by fragment coloring are encoded for sRGB
|
| 24 |
+
prior to being written into the framebuffer. When blending is enabled
|
| 25 |
+
along with the new sRGB update mode, red, green, and blue framebuffer
|
| 26 |
+
color components are treated as sRGB values that are converted to
|
| 27 |
+
linear color values, blended with the high-precision color values
|
| 28 |
+
generated by fragment coloring, and then the blend result is encoded
|
| 29 |
+
for sRGB just prior to being written into the framebuffer.
|
| 30 |
+
|
| 31 |
+
The primary motivation for this extension is that it allows OpenGL
|
| 32 |
+
applications to render into a framebuffer that is scanned to a monitor
|
| 33 |
+
configured to assume framebuffer color values are sRGB encoded.
|
| 34 |
+
This assumption is roughly true of most PC monitors with default
|
| 35 |
+
gamma correction. This allows applications to achieve faithful
|
| 36 |
+
color reproduction for OpenGL rendering without adjusting the
|
| 37 |
+
monitor's gamma correction.
|
| 38 |
+
|
| 39 |
+
The official definition of this extension is available here:
|
| 40 |
+
http://www.opengl.org/registry/specs/ARB/framebuffer_sRGB.txt
|
| 41 |
+
'''
|
| 42 |
+
from OpenGL import platform, constant, arrays
|
| 43 |
+
from OpenGL import extensions, wrapper
|
| 44 |
+
import ctypes
|
| 45 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 46 |
+
from OpenGL.raw.WGL.ARB.framebuffer_sRGB import *
|
| 47 |
+
from OpenGL.raw.WGL.ARB.framebuffer_sRGB import _EXTENSION_NAME
|
| 48 |
+
|
| 49 |
+
def glInitFramebufferSrgbARB():
|
| 50 |
+
'''Return boolean indicating whether this extension is available'''
|
| 51 |
+
from OpenGL import extensions
|
| 52 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/make_current_read.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.make_current_read
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.make_current_read 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/ARB/make_current_read.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.make_current_read import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.make_current_read import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitMakeCurrentReadARB():
|
| 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/WGL/ARB/multisample.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.multisample
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.multisample to provide a more
|
| 5 |
+
Python-friendly API
|
| 6 |
+
|
| 7 |
+
Overview (from the spec)
|
| 8 |
+
|
| 9 |
+
This extension provides a mechanism to antialias all GL primitives:
|
| 10 |
+
points, lines, polygons, bitmaps, and images. The technique is to
|
| 11 |
+
sample all primitives multiple times at each pixel. The color
|
| 12 |
+
sample values are resolved to a single, displayable color each time
|
| 13 |
+
a pixel is updated, so the antialiasing appears to be automatic at
|
| 14 |
+
the application level. Because each sample includes depth and
|
| 15 |
+
stencil information, the depth and stencil functions perform
|
| 16 |
+
equivalently to the single-sample mode.
|
| 17 |
+
|
| 18 |
+
An additional buffer, called the multisample buffer, is added to
|
| 19 |
+
the framebuffer. Pixel sample values, including color, depth, and
|
| 20 |
+
stencil values, are stored in this buffer. When the framebuffer
|
| 21 |
+
includes a multisample buffer, it does not also include separate
|
| 22 |
+
depth or stencil buffers, even if the multisample buffer does not
|
| 23 |
+
store depth or stencil values. Color buffers (left/right, front/
|
| 24 |
+
back, and aux) do coexist with the multisample buffer, however.
|
| 25 |
+
|
| 26 |
+
Multisample antialiasing is most valuable for rendering polygons,
|
| 27 |
+
because it requires no sorting for hidden surface elimination, and
|
| 28 |
+
it correctly handles adjacent polygons, object silhouettes, and
|
| 29 |
+
even intersecting polygons. If only points or lines are being
|
| 30 |
+
rendered, the "smooth" antialiasing mechanism provided by the base
|
| 31 |
+
GL may result in a higher quality image. This extension is
|
| 32 |
+
designed to allow multisample and smooth antialiasing techniques
|
| 33 |
+
to be alternated during the rendering of a single scene.
|
| 34 |
+
|
| 35 |
+
The official definition of this extension is available here:
|
| 36 |
+
http://www.opengl.org/registry/specs/ARB/multisample.txt
|
| 37 |
+
'''
|
| 38 |
+
from OpenGL import platform, constant, arrays
|
| 39 |
+
from OpenGL import extensions, wrapper
|
| 40 |
+
import ctypes
|
| 41 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 42 |
+
from OpenGL.raw.WGL.ARB.multisample import *
|
| 43 |
+
from OpenGL.raw.WGL.ARB.multisample import _EXTENSION_NAME
|
| 44 |
+
|
| 45 |
+
def glInitMultisampleARB():
|
| 46 |
+
'''Return boolean indicating whether this extension is available'''
|
| 47 |
+
from OpenGL import extensions
|
| 48 |
+
return extensions.hasGLExtension( _EXTENSION_NAME )
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
### END AUTOGENERATED SECTION
|
vllm/lib/python3.10/site-packages/OpenGL/WGL/ARB/pbuffer.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.pbuffer
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.pbuffer 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/ARB/pbuffer.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.pbuffer import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.pbuffer import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitPbufferARB():
|
| 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/WGL/ARB/pixel_format.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.pixel_format
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.pixel_format 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/ARB/pixel_format.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.pixel_format import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.pixel_format import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitPixelFormatARB():
|
| 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/WGL/ARB/pixel_format_float.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.pixel_format_float
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.pixel_format_float 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/ARB/pixel_format_float.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.pixel_format_float import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.pixel_format_float import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitPixelFormatFloatARB():
|
| 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/WGL/ARB/render_texture.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.render_texture
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.render_texture 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/ARB/render_texture.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.render_texture import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.render_texture import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitRenderTextureARB():
|
| 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/WGL/ARB/robustness_application_isolation.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.robustness_application_isolation
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.robustness_application_isolation 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/ARB/robustness_application_isolation.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.robustness_application_isolation import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.robustness_application_isolation import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitRobustnessApplicationIsolationARB():
|
| 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/WGL/ARB/robustness_share_group_isolation.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
'''OpenGL extension ARB.robustness_share_group_isolation
|
| 2 |
+
|
| 3 |
+
This module customises the behaviour of the
|
| 4 |
+
OpenGL.raw.WGL.ARB.robustness_share_group_isolation 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/ARB/robustness_share_group_isolation.txt
|
| 9 |
+
'''
|
| 10 |
+
from OpenGL import platform, constant, arrays
|
| 11 |
+
from OpenGL import extensions, wrapper
|
| 12 |
+
import ctypes
|
| 13 |
+
from OpenGL.raw.WGL import _types, _glgets
|
| 14 |
+
from OpenGL.raw.WGL.ARB.robustness_share_group_isolation import *
|
| 15 |
+
from OpenGL.raw.WGL.ARB.robustness_share_group_isolation import _EXTENSION_NAME
|
| 16 |
+
|
| 17 |
+
def glInitRobustnessShareGroupIsolationARB():
|
| 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
|