@swf2es/render 0.1.24 → 0.1.26

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.
@@ -0,0 +1,205 @@
1
+ import { beginProgram, endProgram, ShaderError, } from "@swf2es/context3d/device";
2
+ /**
3
+ * Programs linked and warmed in a frame, at most, without KHR_parallel_shader_compile: each a few
4
+ * milliseconds, and a first draw may take a driver tens to build its pipeline.
5
+ */
6
+ const LINKS_A_FRAME = 1;
7
+ const WARMS_A_FRAME = 1;
8
+ /**
9
+ * Programs made ahead of the frame that first draws with them. A filter's
10
+ * pass linked as a frame first needs it stalls that frame while the driver
11
+ * compiles: on ANGLE's Direct3D back end, where GLSL becomes HLSL and that
12
+ * is compiled, for tens or hundreds of milliseconds, and a driver may put
13
+ * off more till the program's first draw. So once the first frame is drawn
14
+ * (step, from the second), every program queued is compiled and linked: with
15
+ * KHR_parallel_shader_compile all at once, on the driver's threads, each
16
+ * asked after on later frames only once complete; without it, one a frame.
17
+ * Each linked is then drawn with once into a target of a texel, one a
18
+ * frame, so that what the driver builds at a program's first draw is built
19
+ * then. A frame that needs a program before it is ready takes it at once
20
+ * (take), waiting only for what is left of its link.
21
+ */
22
+ export class ProgramQueue {
23
+ gl;
24
+ state;
25
+ parallel;
26
+ /** Not begun, begun and not yet asked after, linked and not yet drawn with. */
27
+ waiting = [];
28
+ begun = [];
29
+ warming = [];
30
+ /** The target of a texel the warming draws go into, and the texel their samplers read. */
31
+ framebuffer = null;
32
+ target = null;
33
+ texel = null;
34
+ /** Frames drawn so far, but for the first, which is shown before anything is made for later. */
35
+ frames = 0;
36
+ constructor(gl, state) {
37
+ this.gl = gl;
38
+ this.state = state;
39
+ this.parallel = gl.getExtension("KHR_parallel_shader_compile");
40
+ }
41
+ /**
42
+ * Program `key` of GLSL `vertex` and `fragment` to be made ahead, `made`
43
+ * told it once it is linked (step or take), with it in use. Its samplers
44
+ * read `units`.
45
+ */
46
+ add(key, vertex, fragment, units, made) {
47
+ this.waiting.push({ key, vertex, fragment, units, made, pending: null });
48
+ }
49
+ /** Whether any program is still to be linked or warmed. */
50
+ get busy() {
51
+ return this.waiting.length + this.begun.length + this.warming.length > 0;
52
+ }
53
+ /**
54
+ * A frame's share, after its draws, from the second frame: every program
55
+ * begun where the driver compiles in parallel, else one linked; those
56
+ * whose links completed told to their owners; and one drawn with for the
57
+ * first time.
58
+ */
59
+ step() {
60
+ // A context lost mid-frame makes no shaders; a restore makes a new queue.
61
+ if (!this.busy || this.frames++ === 0 || this.gl.isContextLost()) {
62
+ return;
63
+ }
64
+ const gl = this.gl;
65
+ if (this.parallel) {
66
+ // Each moved as it is begun, so that a throw leaves none in both lists.
67
+ while (this.waiting.length > 0) {
68
+ const job = this.waiting[0];
69
+ job.pending = beginProgram(gl, job.vertex, job.fragment);
70
+ this.waiting.shift();
71
+ this.begun.push(job);
72
+ }
73
+ const status = this.parallel.COMPLETION_STATUS_KHR;
74
+ for (let k = 0; k < this.begun.length; k++) {
75
+ const job = this.begun[k];
76
+ if (gl.getProgramParameter(job.pending.program, status)) {
77
+ this.begun.splice(k--, 1);
78
+ this.finish(job, true);
79
+ }
80
+ }
81
+ }
82
+ else {
83
+ for (let k = 0; k < LINKS_A_FRAME && this.waiting.length > 0; k++) {
84
+ const job = this.waiting.shift();
85
+ job.pending = beginProgram(gl, job.vertex, job.fragment);
86
+ this.finish(job, true);
87
+ }
88
+ }
89
+ for (let k = 0; k < WARMS_A_FRAME && this.warming.length > 0; k++) {
90
+ const { program, units } = this.warming.shift();
91
+ this.warm(program, units);
92
+ }
93
+ }
94
+ /**
95
+ * Program `key`, needed now: its link finished, waited for where it is
96
+ * not complete, or begun and finished where it was not begun, and its
97
+ * owner told. False where there is no such job, as once it was made or
98
+ * where its link failed, which the owner then links itself to see why.
99
+ */
100
+ take(key) {
101
+ let job;
102
+ for (const list of [this.begun, this.waiting]) {
103
+ const k = list.findIndex((j) => j.key === key);
104
+ if (k >= 0) {
105
+ job = list[k];
106
+ list.splice(k, 1);
107
+ break;
108
+ }
109
+ }
110
+ if (!job) {
111
+ return false;
112
+ }
113
+ job.pending ??= beginProgram(this.gl, job.vertex, job.fragment);
114
+ // Drawn with at once, as it is needed: no warming.
115
+ return this.finish(job, false);
116
+ }
117
+ /** `job`'s link finished and its owner told; whether it linked. */
118
+ finish(job, warm) {
119
+ let program;
120
+ try {
121
+ program = endProgram(this.gl, job.pending);
122
+ }
123
+ catch (e) {
124
+ // A program that does not link is linked again as it is needed, which says why.
125
+ if (e instanceof ShaderError) {
126
+ return false;
127
+ }
128
+ throw e;
129
+ }
130
+ this.state.useProgram(program);
131
+ job.made(program);
132
+ if (warm) {
133
+ this.warming.push({ program, units: job.units });
134
+ }
135
+ return true;
136
+ }
137
+ /**
138
+ * `program` drawn with once, a triangle into a target of a texel, its
139
+ * samplers reading another, with no attributes, blending, stencil nor
140
+ * scissor, as the filters' passes draw.
141
+ */
142
+ warm(program, units) {
143
+ const gl = this.gl;
144
+ const state = this.state;
145
+ // Bound again after, as the frame left it for what reads it.
146
+ const bound = state.boundFramebuffer ?? null;
147
+ if (!this.framebuffer) {
148
+ this.target = this.texture();
149
+ this.texel = this.texture();
150
+ this.framebuffer = gl.createFramebuffer();
151
+ state.bindFramebuffer(this.framebuffer);
152
+ gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, this.target, 0);
153
+ }
154
+ state.bindFramebuffer(this.framebuffer);
155
+ state.viewport(0, 0, 1, 1);
156
+ state.colorMask(15);
157
+ state.stencil(null);
158
+ state.setBlend(null);
159
+ state.scissor(null);
160
+ state.useProgram(program);
161
+ state.bindVertexArray(null);
162
+ // Unit 0 too, which a sampler its owner sets only as it draws reads till then.
163
+ state.bindTexture(0, this.texel);
164
+ state.bindSampler(0, null);
165
+ for (const unit of units) {
166
+ state.bindTexture(unit, this.texel);
167
+ state.bindSampler(unit, null);
168
+ }
169
+ gl.drawArrays(gl.TRIANGLES, 0, 3);
170
+ state.bindFramebuffer(bound);
171
+ }
172
+ /** A texture of a texel, clear, complete as it is (one level, nearest). */
173
+ texture() {
174
+ const gl = this.gl;
175
+ const texture = gl.createTexture();
176
+ this.state.bindTexture(0, texture);
177
+ this.state.activeTexture(0);
178
+ gl.texStorage2D(gl.TEXTURE_2D, 1, gl.RGBA8, 1, 1);
179
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);
180
+ gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
181
+ return texture;
182
+ }
183
+ /** What it made on the context, deleted: its target, and the programs begun and not finished. */
184
+ destroy() {
185
+ const gl = this.gl;
186
+ for (const job of this.begun) {
187
+ const pending = job.pending;
188
+ gl.deleteShader(pending.vertex);
189
+ gl.deleteShader(pending.fragment);
190
+ gl.deleteProgram(pending.program);
191
+ }
192
+ this.begun.length = 0;
193
+ this.waiting.length = 0;
194
+ this.warming.length = 0;
195
+ for (const texture of [this.target, this.texel]) {
196
+ if (texture) {
197
+ this.state.dropTexture(texture);
198
+ gl.deleteTexture(texture);
199
+ }
200
+ }
201
+ gl.deleteFramebuffer(this.framebuffer);
202
+ this.framebuffer = this.target = this.texel = null;
203
+ }
204
+ }
205
+ //# sourceMappingURL=precompile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"precompile.js","sourceRoot":"","sources":["../../src/webgl/precompile.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,UAAU,EAGV,WAAW,GACZ,MAAM,0BAA0B,CAAC;AAkBlC;;;GAGG;AACH,MAAM,aAAa,GAAG,CAAC,CAAC;AACxB,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,YAAY;IACN,EAAE,CAAyB;IAC3B,KAAK,CAAU;IACf,QAAQ,CAAyB;IAClD,+EAA+E;IAC9D,OAAO,GAAU,EAAE,CAAC;IACpB,KAAK,GAAU,EA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2
2
  "name": "@swf2es/render",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "swf2es's own renderer: a scene list, a planner and a WebGL 2 backend (docs/renderer.md)",
5
5
  "keywords": [
6
6
  "swf",
@@ -33,6 +33,6 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@swf2es/context3d": "0.1.24"
36
+ "@swf2es/context3d": "0.1.26"
37
37
  }
38
38
  }