pyglet 2.1.4__py3-none-any.whl → 2.1.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyglet/__init__.py +1 -1
- pyglet/font/dwrite/__init__.py +3 -5
- pyglet/graphics/shader.py +34 -20
- pyglet/shapes.py +24 -23
- {pyglet-2.1.4.dist-info → pyglet-2.1.6.dist-info}/METADATA +1 -1
- {pyglet-2.1.4.dist-info → pyglet-2.1.6.dist-info}/RECORD +8 -8
- {pyglet-2.1.4.dist-info → pyglet-2.1.6.dist-info}/LICENSE +0 -0
- {pyglet-2.1.4.dist-info → pyglet-2.1.6.dist-info}/WHEEL +0 -0
pyglet/__init__.py
CHANGED
pyglet/font/dwrite/__init__.py
CHANGED
|
@@ -280,7 +280,7 @@ class _DWriteTextRenderer(com.COMObject):
|
|
|
280
280
|
(glyph_run.glyphAdvances[i] - glyph.advance),
|
|
281
281
|
0,
|
|
282
282
|
glyph_run.glyphOffsets[i].advanceOffset,
|
|
283
|
-
glyph_run.glyphOffsets[i].ascenderOffset
|
|
283
|
+
glyph_run.glyphOffsets[i].ascenderOffset,
|
|
284
284
|
)
|
|
285
285
|
|
|
286
286
|
else:
|
|
@@ -485,7 +485,7 @@ class DirectWriteGlyphRenderer(base.GlyphRenderer): # noqa: D101
|
|
|
485
485
|
self._brush,
|
|
486
486
|
None,
|
|
487
487
|
0,
|
|
488
|
-
mode
|
|
488
|
+
mode,
|
|
489
489
|
)
|
|
490
490
|
elif glyph_image_fmt & DWRITE_GLYPH_IMAGE_FORMATS_BITMAP:
|
|
491
491
|
if self._ctx_supported:
|
|
@@ -493,7 +493,7 @@ class DirectWriteGlyphRenderer(base.GlyphRenderer): # noqa: D101
|
|
|
493
493
|
glyph_image_fmt,
|
|
494
494
|
baseline_offset,
|
|
495
495
|
color_run.contents.glyphRun,
|
|
496
|
-
self.measuring_mode
|
|
496
|
+
self.measuring_mode,
|
|
497
497
|
)
|
|
498
498
|
else:
|
|
499
499
|
glyph_run = color_run.contents.glyphRun
|
|
@@ -903,8 +903,6 @@ class Win32DirectWriteFont(base.Font):
|
|
|
903
903
|
if glyph_indice == 0:
|
|
904
904
|
missing[i] = clusters[i]
|
|
905
905
|
|
|
906
|
-
print("MISSING", missing)
|
|
907
|
-
|
|
908
906
|
return glyph_indices, missing
|
|
909
907
|
|
|
910
908
|
def render_glyph_indices(self, indices: list[int]) -> None:
|
pyglet/graphics/shader.py
CHANGED
|
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import re
|
|
4
4
|
import warnings
|
|
5
5
|
import weakref
|
|
6
|
+
from _ctypes import _Pointer, _SimpleCData
|
|
6
7
|
from collections import defaultdict
|
|
7
8
|
from ctypes import (
|
|
8
9
|
POINTER,
|
|
@@ -29,8 +30,6 @@ from ctypes import (
|
|
|
29
30
|
)
|
|
30
31
|
from typing import TYPE_CHECKING, Any, Callable, Literal, Sequence, Type, Union
|
|
31
32
|
|
|
32
|
-
from _ctypes import _Pointer, _SimpleCData
|
|
33
|
-
|
|
34
33
|
import pyglet
|
|
35
34
|
from pyglet.gl import Context, GLException, gl, gl_info
|
|
36
35
|
from pyglet.gl.gl import (
|
|
@@ -171,19 +170,19 @@ _uniform_setters: dict[int, tuple[GLDataType, GLFunc, GLFunc, int]] = {
|
|
|
171
170
|
# GL_FLOAT_MAT4x3: glUniformMatrix4x3fv, glProgramUniformMatrix4x3fv,
|
|
172
171
|
|
|
173
172
|
gl.GL_IMAGE_1D: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
174
|
-
gl.GL_IMAGE_2D: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
175
|
-
gl.GL_IMAGE_2D_RECT: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
176
|
-
gl.GL_IMAGE_3D: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
173
|
+
gl.GL_IMAGE_2D: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
174
|
+
gl.GL_IMAGE_2D_RECT: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
175
|
+
gl.GL_IMAGE_3D: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
177
176
|
|
|
178
|
-
gl.GL_IMAGE_1D_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
179
|
-
gl.GL_IMAGE_2D_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
177
|
+
gl.GL_IMAGE_1D_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
178
|
+
gl.GL_IMAGE_2D_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
180
179
|
|
|
181
|
-
gl.GL_IMAGE_2D_MULTISAMPLE: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
182
|
-
gl.GL_IMAGE_2D_MULTISAMPLE_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
180
|
+
gl.GL_IMAGE_2D_MULTISAMPLE: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
181
|
+
gl.GL_IMAGE_2D_MULTISAMPLE_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
183
182
|
|
|
184
|
-
gl.GL_IMAGE_BUFFER: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
183
|
+
gl.GL_IMAGE_BUFFER: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
185
184
|
gl.GL_IMAGE_CUBE: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
186
|
-
gl.GL_IMAGE_CUBE_MAP_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv,
|
|
185
|
+
gl.GL_IMAGE_CUBE_MAP_ARRAY: (gl.GLint, gl.glUniform1iv, gl.glProgramUniform1iv, 1),
|
|
187
186
|
}
|
|
188
187
|
|
|
189
188
|
_attribute_types: dict[int, tuple[int, str]] = {
|
|
@@ -332,8 +331,17 @@ class _UniformArray:
|
|
|
332
331
|
_ptr: CTypesPointer[GLDataType]
|
|
333
332
|
_idx_to_loc: dict[int, int]
|
|
334
333
|
|
|
335
|
-
__slots__ = (
|
|
336
|
-
|
|
334
|
+
__slots__ = (
|
|
335
|
+
'_c_array',
|
|
336
|
+
'_dsa',
|
|
337
|
+
'_gl_getter',
|
|
338
|
+
'_gl_setter',
|
|
339
|
+
'_gl_type',
|
|
340
|
+
'_idx_to_loc',
|
|
341
|
+
'_is_matrix',
|
|
342
|
+
'_ptr',
|
|
343
|
+
'_uniform',
|
|
344
|
+
)
|
|
337
345
|
|
|
338
346
|
def __init__(self, uniform: _Uniform, gl_getter: GLFunc, gl_setter: GLFunc, gl_type: GLDataType, is_matrix: bool,
|
|
339
347
|
dsa: bool) -> None:
|
|
@@ -362,7 +370,7 @@ class _UniformArray:
|
|
|
362
370
|
right location.
|
|
363
371
|
"""
|
|
364
372
|
loc = gl.glGetUniformLocation(self._uniform.program,
|
|
365
|
-
create_string_buffer(f"{self._uniform.name}[{index}]".encode(
|
|
373
|
+
create_string_buffer(f"{self._uniform.name}[{index}]".encode()))
|
|
366
374
|
return loc
|
|
367
375
|
|
|
368
376
|
def _get_array_loc(self, index: int) -> int:
|
|
@@ -471,7 +479,7 @@ class _Uniform:
|
|
|
471
479
|
get: Callable[[], Array[GLDataType] | GLDataType]
|
|
472
480
|
set: Callable[[float], None] | Callable[[Sequence], None]
|
|
473
481
|
|
|
474
|
-
__slots__ = '
|
|
482
|
+
__slots__ = 'count', 'get', 'length', 'location', 'name', 'program', 'set', 'size', 'type'
|
|
475
483
|
|
|
476
484
|
def __init__(self, program: int, name: str, uniform_type: int, size: int, location: int, dsa: bool) -> None:
|
|
477
485
|
self.name = name
|
|
@@ -662,7 +670,7 @@ class UniformBlock:
|
|
|
662
670
|
binding: int
|
|
663
671
|
uniforms: dict[int, tuple[str, GLDataType, int, int]]
|
|
664
672
|
view_cls: type[Structure] | None
|
|
665
|
-
__slots__ = '
|
|
673
|
+
__slots__ = 'binding', 'index', 'name', 'program', 'size', 'uniform_count', 'uniforms', 'view_cls'
|
|
666
674
|
|
|
667
675
|
def __init__(self, program: ShaderProgram, name: str, index: int, size: int, binding: int,
|
|
668
676
|
uniforms: dict[int, tuple[str, GLDataType, int, int]], uniform_count: int) -> None:
|
|
@@ -793,9 +801,15 @@ class UniformBlock:
|
|
|
793
801
|
if part_idx == len(parts) - 1: # The last part is the actual type
|
|
794
802
|
if u_size > 1:
|
|
795
803
|
# If size > 1, treat as an array of type
|
|
796
|
-
|
|
804
|
+
if length > 1:
|
|
805
|
+
current_structure[part_name] = (gl_type * length) * u_size
|
|
806
|
+
else:
|
|
807
|
+
current_structure[part_name] = gl_type * u_size
|
|
797
808
|
else:
|
|
798
|
-
|
|
809
|
+
if length > 1:
|
|
810
|
+
current_structure[part_name] = gl_type * length
|
|
811
|
+
else:
|
|
812
|
+
current_structure[part_name] = gl_type
|
|
799
813
|
|
|
800
814
|
offset_size = offsets[i + 1] - offsets[i]
|
|
801
815
|
c_type_size = sizeof(current_structure[part_name])
|
|
@@ -836,7 +850,7 @@ class UniformBufferObject:
|
|
|
836
850
|
_view_ptr: CTypesPointer[Structure]
|
|
837
851
|
binding: int
|
|
838
852
|
buffer: BufferObject
|
|
839
|
-
__slots__ = '
|
|
853
|
+
__slots__ = '_view_ptr', 'binding', 'buffer', 'view'
|
|
840
854
|
|
|
841
855
|
def __init__(self, view_class: type[Structure], buffer_size: int, binding: int) -> None:
|
|
842
856
|
"""Initialize the Uniform Buffer Object with the specified Structure."""
|
|
@@ -1267,7 +1281,7 @@ class ShaderProgram:
|
|
|
1267
1281
|
_uniforms: dict[str, _Uniform]
|
|
1268
1282
|
_uniform_blocks: dict[str, UniformBlock]
|
|
1269
1283
|
|
|
1270
|
-
__slots__ = '
|
|
1284
|
+
__slots__ = '__weakref__', '_attributes', '_context', '_id', '_uniform_blocks', '_uniforms'
|
|
1271
1285
|
|
|
1272
1286
|
def __init__(self, *shaders: Shader) -> None:
|
|
1273
1287
|
"""Initialize the ShaderProgram using at least two Shader instances."""
|
pyglet/shapes.py
CHANGED
|
@@ -82,12 +82,13 @@ if TYPE_CHECKING:
|
|
|
82
82
|
vertex_source = """#version 150 core
|
|
83
83
|
in vec2 position;
|
|
84
84
|
in vec2 translation;
|
|
85
|
-
in vec4
|
|
85
|
+
in vec4 colors;
|
|
86
86
|
in float zposition;
|
|
87
|
+
|
|
87
88
|
in float rotation;
|
|
88
89
|
|
|
89
90
|
|
|
90
|
-
out vec4
|
|
91
|
+
out vec4 vertex_colors;
|
|
91
92
|
|
|
92
93
|
uniform WindowBlock
|
|
93
94
|
{
|
|
@@ -108,17 +109,17 @@ vertex_source = """#version 150 core
|
|
|
108
109
|
m_rotation[1][1] = cos(-radians(rotation));
|
|
109
110
|
|
|
110
111
|
gl_Position = window.projection * window.view * m_translate * m_rotation * vec4(position, zposition, 1.0);
|
|
111
|
-
|
|
112
|
+
vertex_colors = colors;
|
|
112
113
|
}
|
|
113
114
|
"""
|
|
114
115
|
|
|
115
116
|
fragment_source = """#version 150 core
|
|
116
|
-
in vec4
|
|
117
|
+
in vec4 vertex_colors;
|
|
117
118
|
out vec4 final_color;
|
|
118
119
|
|
|
119
120
|
void main()
|
|
120
121
|
{
|
|
121
|
-
final_color =
|
|
122
|
+
final_color = vertex_colors;
|
|
122
123
|
// No GL_ALPHA_TEST in core, use shader to discard.
|
|
123
124
|
if(final_color.a < 0.01){
|
|
124
125
|
discard;
|
|
@@ -376,12 +377,12 @@ class ShapeBase(ABC):
|
|
|
376
377
|
def _update_color(self) -> None:
|
|
377
378
|
"""Send the new colors for each vertex to the GPU.
|
|
378
379
|
|
|
379
|
-
This method must set the contents of `self._vertex_list.
|
|
380
|
+
This method must set the contents of `self._vertex_list.colors`
|
|
380
381
|
using a list or tuple that contains the RGBA color components
|
|
381
382
|
for each vertex in the shape. This is usually done by repeating
|
|
382
383
|
`self._rgba` for each vertex.
|
|
383
384
|
"""
|
|
384
|
-
self._vertex_list.
|
|
385
|
+
self._vertex_list.colors[:] = self._rgba * self._num_verts
|
|
385
386
|
|
|
386
387
|
def _update_translation(self) -> None:
|
|
387
388
|
self._vertex_list.translation[:] = (self._x, self._y) * self._num_verts
|
|
@@ -862,7 +863,7 @@ class Arc(ShapeBase):
|
|
|
862
863
|
self._vertex_list = self._program.vertex_list(
|
|
863
864
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
864
865
|
position=('f', self._get_vertices()),
|
|
865
|
-
|
|
866
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
866
867
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
867
868
|
|
|
868
869
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1032,7 +1033,7 @@ class BezierCurve(ShapeBase):
|
|
|
1032
1033
|
self._vertex_list = self._program.vertex_list(
|
|
1033
1034
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
1034
1035
|
position=('f', self._get_vertices()),
|
|
1035
|
-
|
|
1036
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1036
1037
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1037
1038
|
|
|
1038
1039
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1169,7 +1170,7 @@ class Circle(ShapeBase):
|
|
|
1169
1170
|
self._vertex_list = self._program.vertex_list(
|
|
1170
1171
|
self._segments * 3, self._draw_mode, self._batch, self._group,
|
|
1171
1172
|
position=('f', self._get_vertices()),
|
|
1172
|
-
|
|
1173
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1173
1174
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1174
1175
|
|
|
1175
1176
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1287,7 +1288,7 @@ class Ellipse(ShapeBase):
|
|
|
1287
1288
|
self._vertex_list = self._program.vertex_list(
|
|
1288
1289
|
self._segments * 3, self._draw_mode, self._batch, self._group,
|
|
1289
1290
|
position=('f', self._get_vertices()),
|
|
1290
|
-
|
|
1291
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1291
1292
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1292
1293
|
|
|
1293
1294
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1420,7 +1421,7 @@ class Sector(ShapeBase):
|
|
|
1420
1421
|
self._vertex_list = self._program.vertex_list(
|
|
1421
1422
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
1422
1423
|
position=('f', self._get_vertices()),
|
|
1423
|
-
|
|
1424
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1424
1425
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1425
1426
|
|
|
1426
1427
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1562,7 +1563,7 @@ class Line(ShapeBase):
|
|
|
1562
1563
|
self._vertex_list = self._program.vertex_list(
|
|
1563
1564
|
6, self._draw_mode, self._batch, self._group,
|
|
1564
1565
|
position=('f', self._get_vertices()),
|
|
1565
|
-
|
|
1566
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1566
1567
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1567
1568
|
|
|
1568
1569
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1688,7 +1689,7 @@ class Rectangle(ShapeBase):
|
|
|
1688
1689
|
self._vertex_list = self._program.vertex_list(
|
|
1689
1690
|
6, self._draw_mode, self._batch, self._group,
|
|
1690
1691
|
position=('f', self._get_vertices()),
|
|
1691
|
-
|
|
1692
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
1692
1693
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1693
1694
|
|
|
1694
1695
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1831,11 +1832,11 @@ class BorderedRectangle(ShapeBase):
|
|
|
1831
1832
|
self._vertex_list = self._program.vertex_list_indexed(
|
|
1832
1833
|
8, self._draw_mode, indices, self._batch, self._group,
|
|
1833
1834
|
position=('f', self._get_vertices()),
|
|
1834
|
-
|
|
1835
|
+
colors=('Bn', self._rgba * 4 + self._border_rgba * 4),
|
|
1835
1836
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
1836
1837
|
|
|
1837
1838
|
def _update_color(self) -> None:
|
|
1838
|
-
self._vertex_list.
|
|
1839
|
+
self._vertex_list.colors[:] = self._rgba * 4 + self._border_rgba * 4
|
|
1839
1840
|
|
|
1840
1841
|
def _get_vertices(self) -> Sequence[float]:
|
|
1841
1842
|
if not self._visible:
|
|
@@ -2045,11 +2046,11 @@ class Box(ShapeBase):
|
|
|
2045
2046
|
self._vertex_list = self._program.vertex_list_indexed(
|
|
2046
2047
|
self._num_verts, self._draw_mode, indices, self._batch, self._group,
|
|
2047
2048
|
position=('f', self._get_vertices()),
|
|
2048
|
-
|
|
2049
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2049
2050
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2050
2051
|
|
|
2051
2052
|
def _update_color(self):
|
|
2052
|
-
self._vertex_list.
|
|
2053
|
+
self._vertex_list.colors[:] = self._rgba * self._num_verts
|
|
2053
2054
|
|
|
2054
2055
|
def _get_vertices(self) -> Sequence[float]:
|
|
2055
2056
|
if not self._visible:
|
|
@@ -2224,7 +2225,7 @@ class RoundedRectangle(pyglet.shapes.ShapeBase):
|
|
|
2224
2225
|
self._vertex_list = self._program.vertex_list(
|
|
2225
2226
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
2226
2227
|
position=('f', self._get_vertices()),
|
|
2227
|
-
|
|
2228
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2228
2229
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2229
2230
|
|
|
2230
2231
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -2375,7 +2376,7 @@ class Triangle(ShapeBase):
|
|
|
2375
2376
|
self._vertex_list = self._program.vertex_list(
|
|
2376
2377
|
3, self._draw_mode, self._batch, self._group,
|
|
2377
2378
|
position=('f', self._get_vertices()),
|
|
2378
|
-
|
|
2379
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2379
2380
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2380
2381
|
|
|
2381
2382
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -2511,7 +2512,7 @@ class Star(ShapeBase):
|
|
|
2511
2512
|
self._vertex_list = self._program.vertex_list(
|
|
2512
2513
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
2513
2514
|
position=('f', self._get_vertices()),
|
|
2514
|
-
|
|
2515
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2515
2516
|
rotation=('f', (self._rotation,) * self._num_verts),
|
|
2516
2517
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2517
2518
|
|
|
@@ -2636,7 +2637,7 @@ class Polygon(ShapeBase):
|
|
|
2636
2637
|
earcut.earcut(vertices),
|
|
2637
2638
|
self._batch, self._group,
|
|
2638
2639
|
position=('f', vertices),
|
|
2639
|
-
|
|
2640
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2640
2641
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2641
2642
|
|
|
2642
2643
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -2721,7 +2722,7 @@ class MultiLine(ShapeBase):
|
|
|
2721
2722
|
self._vertex_list = self._program.vertex_list(
|
|
2722
2723
|
self._num_verts, self._draw_mode, self._batch, self._group,
|
|
2723
2724
|
position=('f', self._get_vertices()),
|
|
2724
|
-
|
|
2725
|
+
colors=('Bn', self._rgba * self._num_verts),
|
|
2725
2726
|
translation=('f', (self._x, self._y) * self._num_verts))
|
|
2726
2727
|
|
|
2727
2728
|
def _get_vertices(self) -> Sequence[float]:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyglet/__init__.py,sha256=
|
|
1
|
+
pyglet/__init__.py,sha256=QnAmv9yhf1whXZj5Gf6sc4sY0jGOQEQqZ4XyrIIE54w,21486
|
|
2
2
|
pyglet/__init__.pyi,sha256=g-eSsTUa4WDTqTULiN7cRqagvW58NGCPLj9sabXRFjo,2005
|
|
3
3
|
pyglet/clock.py,sha256=kGQIw6WDFOHVi5IQKCNyoOlOf65B2gVk342M200MaVo,21892
|
|
4
4
|
pyglet/customtypes.py,sha256=e9AB-8WPPhhZXqfDEf4r2Lv0vAQUBjwig5EBejBDz0k,608
|
|
@@ -8,7 +8,7 @@ pyglet/lib.py,sha256=Mj1W_KDmUQXMg1iPLrM0pIIHDyWPO38J6qvoU_hXKjc,12013
|
|
|
8
8
|
pyglet/math.py,sha256=BCSmydmyvRMov1t6GUXZ8Em3F_8TjU82cyvTqMj-QfI,55528
|
|
9
9
|
pyglet/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
pyglet/resource.py,sha256=EknGIAxDuc8prrGd5faOM4MNPT2q6NN4r3KQlrRg2dM,29374
|
|
11
|
-
pyglet/shapes.py,sha256=
|
|
11
|
+
pyglet/shapes.py,sha256=TpNofm5cBUDmA9TBBt6llQnYBmUWyCuDvh0VIh3eTs8,97444
|
|
12
12
|
pyglet/sprite.py,sha256=hZKXYxvG82rhpagVqCney6KSEF5IAFaqqJC5O-uynHk,28701
|
|
13
13
|
pyglet/util.py,sha256=b6Ji84EwfJ3jh54FHLTmwvvvbabxJwHFiU6NaXCqMQw,8646
|
|
14
14
|
pyglet/app/__init__.py,sha256=Cc21DTHddyf-YaTvwiZ5y6iKmrnEgyyVAdjVBAbiw5Y,2879
|
|
@@ -43,7 +43,7 @@ pyglet/font/quartz.py,sha256=3MYuPH_PWaGY4I2Zp_rFZl2g5GwFxyisMTMdGF1oDPs,25849
|
|
|
43
43
|
pyglet/font/ttf.py,sha256=xrTxY02uGcc3s9xG60iu4x4HzDfxuTwAyT8KFfJ8GS0,24225
|
|
44
44
|
pyglet/font/user.py,sha256=F4e1tLVTdt8AnY0Sw5As7uk3Bf3DhSlzpMQNnOhGtE0,12429
|
|
45
45
|
pyglet/font/win32.py,sha256=lZpmzFgZJvit2PK15SwpFtP__M_qgrc-laEna7pQP48,16460
|
|
46
|
-
pyglet/font/dwrite/__init__.py,sha256=
|
|
46
|
+
pyglet/font/dwrite/__init__.py,sha256=XxkLn5SSUM4bVCrKg56gjwAJmbDVJMtVhb-rpMWs77A,53525
|
|
47
47
|
pyglet/font/dwrite/d2d1_lib.py,sha256=dqLJo33Xt5WiUWaXnrTPQKGQFclzcMV8ysRNtEHGrqY,19563
|
|
48
48
|
pyglet/font/dwrite/d2d1_types_lib.py,sha256=-vzx6qyHfdFQ6n8Sf38LxYRNWFDnz_zJR_AvnxFPEDU,1201
|
|
49
49
|
pyglet/font/dwrite/dwrite_lib.py,sha256=D9nd4UhXm0EXQVhfG3EvkdsntTvY0D2n54i2P7ck6io,51437
|
|
@@ -75,7 +75,7 @@ pyglet/gl/xlib.py,sha256=DTX3fJEaNChjF50XMCPFOnYR33ZUDh32m1oNa4jft6E,10155
|
|
|
75
75
|
pyglet/graphics/__init__.py,sha256=O4O7fCQBI7qPReI8tUwLwArJHTWcoE1c_SotlHyUb2A,27940
|
|
76
76
|
pyglet/graphics/allocation.py,sha256=0MTwkK7-00UDs2xl6Te7cf0ljC2mmsOQMbx0zKZCJOU,12430
|
|
77
77
|
pyglet/graphics/instance.py,sha256=pzIaxO0EZCeoQDMR-qzjo4ahwfcbt3dDZm9UinYpZo0,2202
|
|
78
|
-
pyglet/graphics/shader.py,sha256=
|
|
78
|
+
pyglet/graphics/shader.py,sha256=OV2Fg_mgER5JD-n3pRvrsbQzGuw40J3fC97kDKI2nX0,63900
|
|
79
79
|
pyglet/graphics/vertexarray.py,sha256=BWJFvP79JHpKwY91mrkjjhlbK3g87nIpMbCsc4FCcEg,1371
|
|
80
80
|
pyglet/graphics/vertexbuffer.py,sha256=_z8Yq-U5tsfWj1VU-onfGNeJB10fgtLcTIMBMBXEZGs,15283
|
|
81
81
|
pyglet/graphics/vertexdomain.py,sha256=Y4tAi26ABf5kLBGJ0QDvTVeWEL2vSN4HuIeS5svZjsg,32764
|
|
@@ -224,7 +224,7 @@ pyglet/window/cocoa/systemcursor.py,sha256=-rMhvPH3DWl4gsSTCUbkn-yUnbyKM7JdQLfb5
|
|
|
224
224
|
pyglet/window/headless/__init__.py,sha256=BLmawFLSJqV_ZjwePGT8DxFSc2ZWuVMDbxATvu1qFX4,3251
|
|
225
225
|
pyglet/window/win32/__init__.py,sha256=rOklaFryGJj5IdU4wjVE8Y0Pa4MY4sFVsJGXFcfUNeA,54794
|
|
226
226
|
pyglet/window/xlib/__init__.py,sha256=kTeJUNpByqIBDk2L_5dbfsAFB2UNmH7WP_79ZwqOVM8,70060
|
|
227
|
-
pyglet-2.1.
|
|
228
|
-
pyglet-2.1.
|
|
229
|
-
pyglet-2.1.
|
|
230
|
-
pyglet-2.1.
|
|
227
|
+
pyglet-2.1.6.dist-info/LICENSE,sha256=V-fuy2c8jUDPMZJjPEgH-6jIFoUymjfht2PhVW1d7TQ,1546
|
|
228
|
+
pyglet-2.1.6.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
|
229
|
+
pyglet-2.1.6.dist-info/METADATA,sha256=1IhFClzsNDk3cTILjCRii2WBLX-RK8Ctt03FocOdx9Y,7650
|
|
230
|
+
pyglet-2.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|