ZTWHHH commited on
Commit
9abc596
·
verified ·
1 Parent(s): b64e951

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__init__.py +1 -0
  2. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/__init__.cpython-310.pyc +0 -0
  3. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/async_histogram.cpython-310.pyc +0 -0
  4. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/async_pixel.cpython-310.pyc +0 -0
  5. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/blend_alpha_minmax.cpython-310.pyc +0 -0
  6. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/calligraphic_fragment.cpython-310.pyc +0 -0
  7. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/clipmap.cpython-310.pyc +0 -0
  8. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/convolution_accuracy.cpython-310.pyc +0 -0
  9. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/depth_pass_instrument.cpython-310.pyc +0 -0
  10. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/flush_raster.cpython-310.pyc +0 -0
  11. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/fog_offset.cpython-310.pyc +0 -0
  12. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/fragment_lighting.cpython-310.pyc +0 -0
  13. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/framezoom.cpython-310.pyc +0 -0
  14. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/igloo_interface.cpython-310.pyc +0 -0
  15. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/instruments.cpython-310.pyc +0 -0
  16. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/interlace.cpython-310.pyc +0 -0
  17. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ir_instrument1.cpython-310.pyc +0 -0
  18. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/list_priority.cpython-310.pyc +0 -0
  19. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/pixel_texture.cpython-310.pyc +0 -0
  20. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/pixel_tiles.cpython-310.pyc +0 -0
  21. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/polynomial_ffd.cpython-310.pyc +0 -0
  22. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/reference_plane.cpython-310.pyc +0 -0
  23. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/resample.cpython-310.pyc +0 -0
  24. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/scalebias_hint.cpython-310.pyc +0 -0
  25. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/shadow.cpython-310.pyc +0 -0
  26. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/shadow_ambient.cpython-310.pyc +0 -0
  27. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/sprite.cpython-310.pyc +0 -0
  28. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/subsample.cpython-310.pyc +0 -0
  29. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/tag_sample_buffer.cpython-310.pyc +0 -0
  30. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_add_env.cpython-310.pyc +0 -0
  31. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_coordinate_clamp.cpython-310.pyc +0 -0
  32. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_lod_bias.cpython-310.pyc +0 -0
  33. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_multi_buffer.cpython-310.pyc +0 -0
  34. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_scale_bias.cpython-310.pyc +0 -0
  35. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/vertex_preclip.cpython-310.pyc +0 -0
  36. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcb.cpython-310.pyc +0 -0
  37. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcb_subsample.cpython-310.pyc +0 -0
  38. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcba.cpython-310.pyc +0 -0
  39. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async.py +72 -0
  40. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async_histogram.py +30 -0
  41. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async_pixel.py +35 -0
  42. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/clipmap.py +31 -0
  43. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/convolution_accuracy.py +28 -0
  44. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/depth_texture.py +34 -0
  45. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/flush_raster.py +38 -0
  46. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/framezoom.py +47 -0
  47. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/resample.py +43 -0
  48. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/shadow_ambient.py +33 -0
  49. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/sprite.py +79 -0
  50. vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/texture_add_env.py +23 -0
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__init__.py ADDED
@@ -0,0 +1 @@
 
 
1
+ """OpenGL Extensions"""
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (193 Bytes). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/async_histogram.cpython-310.pyc ADDED
Binary file (1.28 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/async_pixel.cpython-310.pyc ADDED
Binary file (1.56 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/blend_alpha_minmax.cpython-310.pyc ADDED
Binary file (1.45 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/calligraphic_fragment.cpython-310.pyc ADDED
Binary file (1.05 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/clipmap.cpython-310.pyc ADDED
Binary file (1.3 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/convolution_accuracy.cpython-310.pyc ADDED
Binary file (1.18 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/depth_pass_instrument.cpython-310.pyc ADDED
Binary file (1.04 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/flush_raster.cpython-310.pyc ADDED
Binary file (1.66 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/fog_offset.cpython-310.pyc ADDED
Binary file (1.83 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/fragment_lighting.cpython-310.pyc ADDED
Binary file (1.65 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/framezoom.cpython-310.pyc ADDED
Binary file (2.06 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/igloo_interface.cpython-310.pyc ADDED
Binary file (1.08 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/instruments.cpython-310.pyc ADDED
Binary file (2.9 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/interlace.cpython-310.pyc ADDED
Binary file (1.47 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ir_instrument1.cpython-310.pyc ADDED
Binary file (1.03 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/list_priority.cpython-310.pyc ADDED
Binary file (1.55 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/pixel_texture.cpython-310.pyc ADDED
Binary file (997 Bytes). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/pixel_tiles.cpython-310.pyc ADDED
Binary file (985 Bytes). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/polynomial_ffd.cpython-310.pyc ADDED
Binary file (1.13 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/reference_plane.cpython-310.pyc ADDED
Binary file (2.27 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/resample.cpython-310.pyc ADDED
Binary file (1.74 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/scalebias_hint.cpython-310.pyc ADDED
Binary file (1 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/shadow.cpython-310.pyc ADDED
Binary file (1.29 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/shadow_ambient.cpython-310.pyc ADDED
Binary file (1.44 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/sprite.cpython-310.pyc ADDED
Binary file (3.4 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/subsample.cpython-310.pyc ADDED
Binary file (974 Bytes). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/tag_sample_buffer.cpython-310.pyc ADDED
Binary file (1.35 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_add_env.cpython-310.pyc ADDED
Binary file (1.01 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_coordinate_clamp.cpython-310.pyc ADDED
Binary file (1.44 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_lod_bias.cpython-310.pyc ADDED
Binary file (2.18 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_multi_buffer.cpython-310.pyc ADDED
Binary file (2.53 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/texture_scale_bias.cpython-310.pyc ADDED
Binary file (1.7 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/vertex_preclip.cpython-310.pyc ADDED
Binary file (1.72 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcb.cpython-310.pyc ADDED
Binary file (2.33 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcb_subsample.cpython-310.pyc ADDED
Binary file (1.01 kB). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/__pycache__/ycrcba.cpython-310.pyc ADDED
Binary file (953 Bytes). View file
 
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async.py ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.async
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.async to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension provides a framework for asynchronous OpenGL
10
+ commands. It also provides commands allowing a program to wait
11
+ for the completion of asynchronous commands.
12
+
13
+ Asynchronous commands have two properties:
14
+
15
+ 1) Asynchronous commands are non-blocking. For example, an
16
+ asynchronous ReadPixels command returns control to the program
17
+ immediately rather than blocking until the command completes.
18
+ This property allows the program to issue other OpenGL commands in
19
+ parallel with the execution of commands that normally block.
20
+
21
+ 2) Asynchronous commands may complete out-of-order with respect to
22
+ other OpenGL commands. For example, an asynchronous TexImage
23
+ command may complete after subsequent OpenGL commands issued by
24
+ the program rather than maintaining the normal serial order of the
25
+ OpenGL command stream. This property allows the graphics
26
+ accelerator to execute asynchronous commands in parallel with the
27
+ normal command stream, for instance using a secondary path to
28
+ transfer data from or to the host, without doing any dependency
29
+ checking.
30
+
31
+ Programs that issue asynchronous commands must also be able to
32
+ determine when the commands have completed. The completion status
33
+ may be needed so that results can be retrieved (e.g. the image
34
+ data from a ReadPixels command) or so that dependent commands can
35
+ be issued (e.g. drawing commands that use texture data downloaded
36
+ by an earlier asynchronous command). This extension provides
37
+ fine-grain control over asynchronous commands by introducing a
38
+ mechanism for determining the status of individual commands.
39
+
40
+ Each invocation of an asynchronous command is associated with an
41
+ integer called a "marker." A program specifies a marker before it
42
+ issues an asynchronous command. The program may later issue a
43
+ command to query if any asynchronous commands have completed. The
44
+ query commands return a marker to identify the command that
45
+ completed. This extension provides both blocking and non-blocking
46
+ query commands.
47
+
48
+ This extension does not define any asynchronous commands.
49
+ See SGIX_async_pixel for the asynchronous pixel commands.
50
+
51
+ The official definition of this extension is available here:
52
+ http://www.opengl.org/registry/specs/SGIX/async.txt
53
+ '''
54
+ from OpenGL import platform, constant, arrays
55
+ from OpenGL import extensions, wrapper
56
+ import ctypes
57
+ from OpenGL.raw.GL import _types, _glgets
58
+ from OpenGL.raw.GL.SGIX.async import *
59
+ from OpenGL.raw.GL.SGIX.async import _EXTENSION_NAME
60
+
61
+ def glInitAsyncSGIX():
62
+ '''Return boolean indicating whether this extension is available'''
63
+ from OpenGL import extensions
64
+ return extensions.hasGLExtension( _EXTENSION_NAME )
65
+
66
+ glFinishAsyncSGIX=wrapper.wrapper(glFinishAsyncSGIX).setOutput(
67
+ 'markerp',size=(1,),orPassIn=True
68
+ )
69
+ glPollAsyncSGIX=wrapper.wrapper(glPollAsyncSGIX).setOutput(
70
+ 'markerp',size=(1,),orPassIn=True
71
+ )
72
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async_histogram.py ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.async_histogram
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.async_histogram to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension introduces a new asynchronous mode for histogram
10
+ and minmax readbacks. It allows programs to get the contents of a
11
+ histogram or minmax table without blocking and to continue issuing
12
+ graphics commands during the readback.
13
+
14
+ The official definition of this extension is available here:
15
+ http://www.opengl.org/registry/specs/SGIX/async_histogram.txt
16
+ '''
17
+ from OpenGL import platform, constant, arrays
18
+ from OpenGL import extensions, wrapper
19
+ import ctypes
20
+ from OpenGL.raw.GL import _types, _glgets
21
+ from OpenGL.raw.GL.SGIX.async_histogram import *
22
+ from OpenGL.raw.GL.SGIX.async_histogram import _EXTENSION_NAME
23
+
24
+ def glInitAsyncHistogramSGIX():
25
+ '''Return boolean indicating whether this extension is available'''
26
+ from OpenGL import extensions
27
+ return extensions.hasGLExtension( _EXTENSION_NAME )
28
+
29
+
30
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/async_pixel.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.async_pixel
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.async_pixel to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension introduces a new asynchronous mode for texture
10
+ download, pixel download and pixel readback commands. It allows
11
+ programs to transfer textures or images between the host and the
12
+ graphics accelerator in parallel with the execution of other
13
+ graphics commands (possibly taking advantage of a secondary path
14
+ to the graphics accelerator). It also allows programs to issue
15
+ non-blocking pixel readback commands that return immediately after
16
+ they are issued so that the program can issue other commands while
17
+ the readback takes place.
18
+
19
+ The official definition of this extension is available here:
20
+ http://www.opengl.org/registry/specs/SGIX/async_pixel.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.SGIX.async_pixel import *
27
+ from OpenGL.raw.GL.SGIX.async_pixel import _EXTENSION_NAME
28
+
29
+ def glInitAsyncPixelSGIX():
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/SGIX/clipmap.py ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.clipmap
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.clipmap to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ Mipmaps provide a general but expensive solution when the texture image
10
+ is very large. This extension defines clipmaps, which occupy a small
11
+ subset of the memory required by equivalent mipmaps, but provide much
12
+ of the mipmap rendering capabilities. Clipmaps are especially useful
13
+ for rendering terrain.
14
+
15
+ The official definition of this extension is available here:
16
+ http://www.opengl.org/registry/specs/SGIX/clipmap.txt
17
+ '''
18
+ from OpenGL import platform, constant, arrays
19
+ from OpenGL import extensions, wrapper
20
+ import ctypes
21
+ from OpenGL.raw.GL import _types, _glgets
22
+ from OpenGL.raw.GL.SGIX.clipmap import *
23
+ from OpenGL.raw.GL.SGIX.clipmap import _EXTENSION_NAME
24
+
25
+ def glInitClipmapSGIX():
26
+ '''Return boolean indicating whether this extension is available'''
27
+ from OpenGL import extensions
28
+ return extensions.hasGLExtension( _EXTENSION_NAME )
29
+
30
+
31
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/convolution_accuracy.py ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.convolution_accuracy
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.convolution_accuracy to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension adds an accuracy hint for convolution. It
10
+ allows the program to trade off precision for speed.
11
+
12
+ The official definition of this extension is available here:
13
+ http://www.opengl.org/registry/specs/SGIX/convolution_accuracy.txt
14
+ '''
15
+ from OpenGL import platform, constant, arrays
16
+ from OpenGL import extensions, wrapper
17
+ import ctypes
18
+ from OpenGL.raw.GL import _types, _glgets
19
+ from OpenGL.raw.GL.SGIX.convolution_accuracy import *
20
+ from OpenGL.raw.GL.SGIX.convolution_accuracy import _EXTENSION_NAME
21
+
22
+ def glInitConvolutionAccuracySGIX():
23
+ '''Return boolean indicating whether this extension is available'''
24
+ from OpenGL import extensions
25
+ return extensions.hasGLExtension( _EXTENSION_NAME )
26
+
27
+
28
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/depth_texture.py ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.depth_texture
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.depth_texture to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension defines a new depth texture format. An important
10
+ application of depth texture images is shadow casting, but separating
11
+ this from the shadow extension allows for the potential use of depth
12
+ textures in other applications such as image-based rendering or
13
+ displacement mapping. This extension does not define new depth-texture
14
+ environment functions, such as filtering or applying the depth values
15
+ computed from a texture, but leaves this to other extensions, such as
16
+ the shadow extension.
17
+
18
+ The official definition of this extension is available here:
19
+ http://www.opengl.org/registry/specs/SGIX/depth_texture.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.SGIX.depth_texture import *
26
+ from OpenGL.raw.GL.SGIX.depth_texture import _EXTENSION_NAME
27
+
28
+ def glInitDepthTextureSGIX():
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/SGIX/flush_raster.py ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.flush_raster
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.flush_raster to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extensions provides a way to ensure that all raster operations
10
+ currently in the pipeline will be completed before the next
11
+ raster operation begins. We define a raster operation as an operation
12
+ that involves the rasterization stage of the OpenGL pipeline.
13
+ The implementation is free to decide what consitutes flushing the
14
+ raster subsystem.
15
+
16
+ The motivation is to allow accurate instrumentation by
17
+ including this call before stopping rasterization measurements.
18
+ There are cases where Finish() is used, but a FlushRaster()
19
+ would suffice, so this extension is deliberately kept independent
20
+ of the instruments extension.
21
+
22
+ The official definition of this extension is available here:
23
+ http://www.opengl.org/registry/specs/SGIX/flush_raster.txt
24
+ '''
25
+ from OpenGL import platform, constant, arrays
26
+ from OpenGL import extensions, wrapper
27
+ import ctypes
28
+ from OpenGL.raw.GL import _types, _glgets
29
+ from OpenGL.raw.GL.SGIX.flush_raster import *
30
+ from OpenGL.raw.GL.SGIX.flush_raster import _EXTENSION_NAME
31
+
32
+ def glInitFlushRasterSGIX():
33
+ '''Return boolean indicating whether this extension is available'''
34
+ from OpenGL import extensions
35
+ return extensions.hasGLExtension( _EXTENSION_NAME )
36
+
37
+
38
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/framezoom.py ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.framezoom
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.framezoom to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension provides a additional way to rasterize geometric
10
+ primitives and pixel rectangles. The techique is to reduce the
11
+ number of pixels rasterized and (possibly) the number of depth and
12
+ stencil operations performed per primitive. Each pixel is zoomed
13
+ up and used to render an N x N block of screen pixels. The
14
+ implementation is free to choose the number of stencil and z pixels
15
+ that will correspond to each N x N block.
16
+
17
+ This extension provides an opportunity to the implementation to
18
+ perform expensive raster operations at a reduced resolution,
19
+ increasing performance. Such operations may include
20
+ texture-mapping, depth & stencil tests, etc. The hardware should
21
+ be allowed to perform operations that it accelerates at full
22
+ hardware speed.
23
+
24
+ The visual result will be the same as if a scene were rendered into
25
+ a small window, and then that buffer was copied and zoomed up into
26
+ a large window.
27
+
28
+ All OpenGL parameters that effect rasterization size will implicitly
29
+ be multipled by N (this includes point size, line width, etc).
30
+
31
+ The official definition of this extension is available here:
32
+ http://www.opengl.org/registry/specs/SGIX/framezoom.txt
33
+ '''
34
+ from OpenGL import platform, constant, arrays
35
+ from OpenGL import extensions, wrapper
36
+ import ctypes
37
+ from OpenGL.raw.GL import _types, _glgets
38
+ from OpenGL.raw.GL.SGIX.framezoom import *
39
+ from OpenGL.raw.GL.SGIX.framezoom import _EXTENSION_NAME
40
+
41
+ def glInitFramezoomSGIX():
42
+ '''Return boolean indicating whether this extension is available'''
43
+ from OpenGL import extensions
44
+ return extensions.hasGLExtension( _EXTENSION_NAME )
45
+
46
+
47
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/resample.py ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.resample
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.resample to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension enhances the unpacking resampling capabilities
10
+ of the SGIX_subsample extension.
11
+
12
+ When pixel data is received from the client and an unpacking
13
+ upsampling mode other than PIXEL_SUBSAMPLE_RATE_4444_SGIX is
14
+ specified, the upsampling is performed via one of two methods:
15
+ RESAMPLE_REPLICATE_SGIX, RESAMPLE_ZERO_FILL_SGIX.
16
+ Replicate and zero fill are provided to
17
+ give the application greatest performance and control over the
18
+ filtering process.
19
+
20
+ However, when pixel data is read back to the client and a
21
+ packing downsampling mode other than PIXEL_SUBSAMPLE_RATE_4444_SGIX
22
+ is specified, downsampling is
23
+ performed via simple component decimation (point sampling). That is,
24
+ only the RESAMPLE_DECIMATE_SGIX is valid.
25
+
26
+
27
+ The official definition of this extension is available here:
28
+ http://www.opengl.org/registry/specs/SGIX/resample.txt
29
+ '''
30
+ from OpenGL import platform, constant, arrays
31
+ from OpenGL import extensions, wrapper
32
+ import ctypes
33
+ from OpenGL.raw.GL import _types, _glgets
34
+ from OpenGL.raw.GL.SGIX.resample import *
35
+ from OpenGL.raw.GL.SGIX.resample import _EXTENSION_NAME
36
+
37
+ def glInitResampleSGIX():
38
+ '''Return boolean indicating whether this extension is available'''
39
+ from OpenGL import extensions
40
+ return extensions.hasGLExtension( _EXTENSION_NAME )
41
+
42
+
43
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/shadow_ambient.py ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.shadow_ambient
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.shadow_ambient to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension allows a value other than 0.0 to be returned by the
10
+ SGIX_shadow operation in the case when the shadow test passes.
11
+ With this extension any floating point value in the range [0.0,
12
+ 1.0] can be returned as the texture value when an object is in
13
+ shadow. This allows the (untextured) ambient lighting and direct
14
+ shadowed lighting from a single light source to be computed in a
15
+ single pass.
16
+
17
+ The official definition of this extension is available here:
18
+ http://www.opengl.org/registry/specs/SGIX/shadow_ambient.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.SGIX.shadow_ambient import *
25
+ from OpenGL.raw.GL.SGIX.shadow_ambient import _EXTENSION_NAME
26
+
27
+ def glInitShadowAmbientSGIX():
28
+ '''Return boolean indicating whether this extension is available'''
29
+ from OpenGL import extensions
30
+ return extensions.hasGLExtension( _EXTENSION_NAME )
31
+
32
+
33
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/sprite.py ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.sprite
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.sprite to provide a more
5
+ Python-friendly API
6
+
7
+ Overview (from the spec)
8
+
9
+ This extension provides support for viewpoint dependent alignment
10
+ of geometry, in particular geometry that rotates about a point or
11
+ a specified axis to face the eye point. The primary use is for
12
+ quickly rendering roughly cylindrically or spherically symmetric
13
+ objects, e.g. trees, smoke, clouds, etc. using geometry textured
14
+ with a partially transparent texture map.
15
+
16
+ Rendering sprite geometry requires applying a transformation to
17
+ primitives before the current model view. This matrix includes a
18
+ rotation which is computed based on the current model view matrix
19
+ and a translation which is specified explicitly
20
+ (SPRITE_TRANSLATION_SGIX). The current model view matrix itself
21
+ is not modified.
22
+
23
+ Primitives are first transformed by a rotation, depending on the
24
+ sprite mode:
25
+
26
+ SPRITE_AXIAL_SGIX: The front of the object is rotated about
27
+ an axis so that it faces the eye as much as the axis
28
+ constraint allows. This is used for roughly rendering cylindrical
29
+ objects such as trees in visual simulation.
30
+
31
+ SPRITE_OBJECT_ALIGNED_SGIX: The front of the object is
32
+ rotated about a point to face the eye with the remaining
33
+ rotational degree of freedom specified by aligning the top
34
+ of the object with a specified axis in object coordinates.
35
+ This is used for spherical objects and special effects such
36
+ as smoke which must maintain an alignment in object
37
+ coordinates for realism.
38
+
39
+ SPRITE_EYE_ALIGNED_SGIX: The front of the object is rotated
40
+ about a point to face the eye with the remaining rotational
41
+ degree of freedom specified by aligning the top of the object
42
+ with a specified axis in eye coordinates. This is used for
43
+ rendering sprites which must maintain an alignment on the
44
+ screen, such as 3D annotations.
45
+
46
+ The axis of rotation or alignment, SPRITE_AXIS_SGIX, can be
47
+ an arbitrary direction to support geocentric coordinate frames
48
+ in which "up" is not along X, Y or Z.
49
+
50
+ Sprite geometry is modeled in a canonical frame: +Z is the up
51
+ vector. -Y is the front vector which is rotated to point towards
52
+ the eye. In the discussion below, the eye vector is the vector to
53
+ the eye from the origin of the model view frame translated by the
54
+ sprite position.
55
+
56
+ The official definition of this extension is available here:
57
+ http://www.opengl.org/registry/specs/SGIX/sprite.txt
58
+ '''
59
+ from OpenGL import platform, constant, arrays
60
+ from OpenGL import extensions, wrapper
61
+ import ctypes
62
+ from OpenGL.raw.GL import _types, _glgets
63
+ from OpenGL.raw.GL.SGIX.sprite import *
64
+ from OpenGL.raw.GL.SGIX.sprite import _EXTENSION_NAME
65
+
66
+ def glInitSpriteSGIX():
67
+ '''Return boolean indicating whether this extension is available'''
68
+ from OpenGL import extensions
69
+ return extensions.hasGLExtension( _EXTENSION_NAME )
70
+
71
+ # INPUT glSpriteParameterfvSGIX.params size not checked against 'pname'
72
+ glSpriteParameterfvSGIX=wrapper.wrapper(glSpriteParameterfvSGIX).setInputArraySize(
73
+ 'params', None
74
+ )
75
+ # INPUT glSpriteParameterivSGIX.params size not checked against 'pname'
76
+ glSpriteParameterivSGIX=wrapper.wrapper(glSpriteParameterivSGIX).setInputArraySize(
77
+ 'params', None
78
+ )
79
+ ### END AUTOGENERATED SECTION
vllm/lib/python3.10/site-packages/OpenGL/GL/SGIX/texture_add_env.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ '''OpenGL extension SGIX.texture_add_env
2
+
3
+ This module customises the behaviour of the
4
+ OpenGL.raw.GL.SGIX.texture_add_env 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/SGIX/texture_add_env.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.SGIX.texture_add_env import *
15
+ from OpenGL.raw.GL.SGIX.texture_add_env import _EXTENSION_NAME
16
+
17
+ def glInitTextureAddEnvSGIX():
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