webgl2 1.1.17 → 1.2.0

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.
package/coverage.md CHANGED
@@ -4,44 +4,48 @@
4
4
 
5
5
  | File | Lines Covered | Lines Missed | Total Lines | Coverage |
6
6
  |---|---|---|---|---:|
7
- | src/decompiler/emitter.rs | 16 | 7 | 23 | 69.57% 🟡 |
7
+ | src/decompiler/ast.rs | 0 | 1 | 1 | 0.00% 🟡 |
8
+ | src/decompiler/emitter.rs | 17 | 8 | 25 | 68.00% 🟡 |
8
9
  | src/decompiler/lifter.rs | 17 | 21 | 38 | 44.74% 🟠 |
9
- | src/decompiler/mod.rs | 9 | 5 | 14 | 64.29% 🟡 |
10
+ | src/decompiler/mod.rs | 8 | 6 | 14 | 57.14% 🟡 |
10
11
  | src/decompiler/module.rs | 1 | 1 | 2 | 50.00% 🟡 |
11
- | src/decompiler/parser.rs | 17 | 0 | 17 | 100.00% 🟢 |
12
- | src/decompiler/simplifier.rs | 50 | 17 | 67 | 74.63% 🟡 |
13
- | src/error.rs | 6 | 18 | 24 | 25.00% 🟠 |
14
- | src/lib.rs | 285 | 203 | 488 | 58.40% 🟡 |
15
- | src/naga_wasm_backend/backend.rs | 54 | 1 | 55 | 98.18% 🟢 |
16
- | src/naga_wasm_backend/call_lowering.rs | 5 | 12 | 17 | 29.41% 🟠 |
17
- | src/naga_wasm_backend/control_flow.rs | 29 | 15 | 44 | 65.91% 🟡 |
18
- | src/naga_wasm_backend/debug/stub.rs | 21 | 0 | 21 | 100.00% 🟢 |
19
- | src/naga_wasm_backend/expressions.rs | 48 | 23 | 71 | 67.61% 🟡 |
20
- | src/naga_wasm_backend/function_abi.rs | 11 | 11 | 22 | 50.00% 🟡 |
12
+ | src/decompiler/parser.rs | 17 | 2 | 19 | 89.47% 🟢 |
13
+ | src/decompiler/simplifier.rs | 53 | 19 | 72 | 73.61% 🟡 |
14
+ | src/error.rs | 7 | 15 | 22 | 31.82% 🟠 |
15
+ | src/lib.rs | 315 | 210 | 525 | 60.00% 🟡 |
16
+ | src/naga_wasm_backend/backend.rs | 62 | 2 | 64 | 96.88% 🟢 |
17
+ | src/naga_wasm_backend/call_lowering.rs | 18 | 0 | 18 | 100.00% 🟢 |
18
+ | src/naga_wasm_backend/control_flow.rs | 54 | 16 | 70 | 77.14% 🟡 |
19
+ | src/naga_wasm_backend/debug/stub.rs | 20 | 0 | 20 | 100.00% 🟢 |
20
+ | src/naga_wasm_backend/expressions.rs | 65 | 105 | 170 | 38.24% 🟠 |
21
+ | src/naga_wasm_backend/function_abi.rs | 22 | 0 | 22 | 100.00% 🟢 |
21
22
  | src/naga_wasm_backend/functions/prep.rs | 4 | 0 | 4 | 100.00% 🟢 |
22
- | src/naga_wasm_backend/functions/registry.rs | 4 | 0 | 4 | 100.00% 🟢 |
23
+ | src/naga_wasm_backend/functions/registry.rs | 4 | 1 | 5 | 80.00% 🟢 |
24
+ | src/naga_wasm_backend/memory_layout.rs | 9 | 0 | 9 | 100.00% 🟢 |
23
25
  | src/naga_wasm_backend/output_layout.rs | 2 | 2 | 4 | 50.00% 🟡 |
24
- | src/naga_wasm_backend/types.rs | 6 | 5 | 11 | 54.55% 🟡 |
25
- | src/wasm_gl_emu/rasterizer.rs | 14 | 0 | 14 | 100.00% 🟢 |
26
- | src/webgl2_context/buffers.rs | 16 | 1 | 17 | 94.12% 🟢 |
27
- | src/webgl2_context/drawing.rs | 30 | 6 | 36 | 83.33% 🟢 |
28
- | src/webgl2_context/framebuffers.rs | 8 | 0 | 8 | 100.00% 🟢 |
29
- | src/webgl2_context/registry.rs | 7 | 1 | 8 | 87.50% 🟢 |
30
- | src/webgl2_context/renderbuffers.rs | 10 | 0 | 10 | 100.00% 🟢 |
31
- | src/webgl2_context/shaders.rs | 87 | 15 | 102 | 85.29% 🟢 |
32
- | src/webgl2_context/state.rs | 13 | 3 | 16 | 81.25% 🟢 |
33
- | src/webgl2_context/textures.rs | 11 | 0 | 11 | 100.00% 🟢 |
34
- | src/webgl2_context/types.rs | 8 | 1 | 9 | 88.89% 🟢 |
35
- | src/webgl2_context/vaos.rs | 35 | 1 | 36 | 97.22% 🟢 |
36
- | src/webgpu/adapter.rs | 2 | 1 | 3 | 66.67% 🟡 |
37
- | src/webgpu/backend.rs | 25 | 24 | 49 | 51.02% 🟡 |
38
- | **Total** | **851** | **394** | **1245** | **68.35% 🟡** |
26
+ | src/naga_wasm_backend/types.rs | 11 | 0 | 11 | 100.00% 🟢 |
27
+ | src/wasm_gl_emu/framebuffer.rs | 1 | 0 | 1 | 100.00% 🟢 |
28
+ | src/wasm_gl_emu/rasterizer.rs | 26 | 18 | 44 | 59.09% 🟡 |
29
+ | src/webgl2_context/blend.rs | 2 | 1 | 3 | 66.67% 🟡 |
30
+ | src/webgl2_context/buffers.rs | 18 | 1 | 19 | 94.74% 🟢 |
31
+ | src/webgl2_context/drawing.rs | 26 | 3 | 29 | 89.66% 🟢 |
32
+ | src/webgl2_context/framebuffers.rs | 10 | 0 | 10 | 100.00% 🟢 |
33
+ | src/webgl2_context/registry.rs | 7 | 0 | 7 | 100.00% 🟢 |
34
+ | src/webgl2_context/renderbuffers.rs | 11 | 0 | 11 | 100.00% 🟢 |
35
+ | src/webgl2_context/shaders.rs | 113 | 12 | 125 | 90.40% 🟢 |
36
+ | src/webgl2_context/state.rs | 23 | 1 | 24 | 95.83% 🟢 |
37
+ | src/webgl2_context/textures.rs | 28 | 17 | 45 | 62.22% 🟡 |
38
+ | src/webgl2_context/types.rs | 15 | 1 | 16 | 93.75% 🟢 |
39
+ | src/webgl2_context/vaos.rs | 35 | 0 | 35 | 100.00% 🟢 |
40
+ | src/webgpu/adapter.rs | 3 | 0 | 3 | 100.00% 🟢 |
41
+ | src/webgpu/backend.rs | 25 | 27 | 52 | 48.08% 🟠 |
42
+ | **Total** | **1049** | **490** | **1539** | **68.16% 🟡** |
39
43
 
40
44
  ## Top Missed Files
41
45
 
42
46
  | File | Lines Missed | Illustrative Line | Coverage |
43
47
  |---|---|---|---:|
44
- | src/lib.rs | 203/488 | [1042] `}` | 58.40% 🟡 |
45
- | src/webgpu/backend.rs | 24/49 | [919] `}` | 51.02% 🟡 |
46
- | src/naga_wasm_backend/expressions.rs | 23/71 | [888] `let var = &ctx.module.global_variables[*handle];` | 67.61% 🟡 |
48
+ | src/lib.rs | 210/525 | [1040] `/// Get active attribute info.` | 60.00% 🟡 |
49
+ | src/naga_wasm_backend/expressions.rs | 105/170 | [1504] `for j in 0..count {` | 38.24% 🟠 |
50
+ | src/webgpu/backend.rs | 27/52 | [965] `}` | 48.08% 🟠 |
47
51
  | src/decompiler/lifter.rs | 21/38 | [455] `fn unary_op(&mut self, op: UnaryOp) {` | 44.74% 🟠 |
package/daebug.md CHANGED
@@ -1,14 +1,13 @@
1
- # 👾 Daebug remote debugging REPL: SERVER SHUT DOWN 11:04:54 AM
2
- > This debugging session has concluded.
1
+ # 👾 Daebug remote debugging REPL started 22:13:58
2
+ > Interactive debugging REPL sessions for live browser contexts
3
3
 
4
- The REPL server has been shut down. Total uptime was from 10:29:55 AM to 11:04:54 AM.
4
+ This file tracks all active debugging sessions. Each entry represents a connected page or web worker where you can execute JavaScript code and see results in real-time.
5
5
 
6
6
 
7
- To begin a new debugging session:
7
+ ## Active Sessions
8
8
 
9
- ```
10
- npm start
11
- ```
9
+ * [18-quartz-2214-06-webworker](daebug/18-quartz-2214-06-webworker.md) (worker://18-quartz-2214-06-webworker) at 22:14:06: live
10
+ * [18-quartz-2214-06](daebug/18-quartz-2214-06.md) (http://localhost:8907/) at 22:14:06: live
12
11
 
13
12
 
14
13
  ## How to Use