Commit 503519e
feat(export): route GIF through the native exporter, delete the pixi path
Finishes the wiring #200 left open (the IPC route did not exist, so nothing
could reach the native path even with the flag on) and removes the renderer-side
GIF renderer it replaces.
Wiring: exportGif takes the same clips + scene as exportMulti, gains the missing
'exportGif' dispatcher case, a client method, and resolveSceneAssetPaths (the
GIF path never had it). ExportDialog now has one native branch for both formats
— GIF differs only in output size preset, frame rate and loop count.
Deleted, all consumer-less once GIF stopped using them: gifExporter, its
documentExporter adapter, frameRenderer, the WGSL shaders it owned
(composite/shadowCascade/evaluate), threeDPass, cropSchedule, frameExtract,
timestampedVideoFrameQueue, and the NATIVE_GIF_EXPORT_ENABLED flag. gif.js and
@types/gif.js drop out of package.json.
This ends the second graphical SSOT: preview and export were both native
already, but GIF still rasterised through a parallel WGSL implementation that
had to be hand-synced with shaders.hlsl — and silently degraded when its 3D
pass failed to init ('rotation fields will be ignored'), producing different
pixels from the preview with no error.
pixi.js stays: cursor rendering (pixiCursorRenderer, nativeCursor,
CursorPreviewLayer) and zoomTransform still use it. That is the remaining half.
The browser test suite went with it — its only test was the pixi GIF exporter,
and the config existed to give Pixi software WebGL in headless CI. Test-file
typecheck errors drop 80 -> 74; baseline lowered to match.1 parent 4a24999 commit 503519e
28 files changed
Lines changed: 151 additions & 4163 deletions
File tree
- .github/workflows
- electron
- ipc
- native-bridge/services
- native/compositor-view
- src
- components/ai-edition
- lib
- ai-edition/exporter
- exporter
- wgsl
- native
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
416 | 438 | | |
417 | 439 | | |
418 | 440 | | |
| |||
Lines changed: 16 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
503 | 504 | | |
504 | | - | |
505 | | - | |
506 | | - | |
| 505 | + | |
507 | 506 | | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
517 | 523 | | |
518 | 524 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
160 | 158 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 159 | + | |
164 | 160 | | |
| 161 | + | |
165 | 162 | | |
166 | 163 | | |
167 | 164 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
| |||
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | | - | |
82 | 79 | | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
122 | | - | |
123 | | - | |
124 | 118 | | |
125 | 119 | | |
126 | 120 | | |
| |||
0 commit comments