openpencil/scripts
Kayshen-X 9e083e164a fix(desktop): recover from unusable native GL on Windows startup
Some Windows 11 machines flash-exit on launch: their WGL OpenGL is the
GDI-generic 1.1 software renderer (no/old GPU driver, VMs, RDP), which
Skia's GL backend rejects. The old WglThenEgl preference never fell
through to EGL because WGL *did* create a (1.1) context; the failure
only surfaced downstream in make_gl, after which new_desktop merely
eprintln'd (invisible under windows_subsystem="windows") and exited —
a silent crash. Not all machines: ones with a real GPU driver get
GL 3.0+ and work, which is why only some users saw it.

- native: new_desktop retries once via forced EGL (ANGLE) when the
  native context can't drive Skia; machines that already work keep the
  WGL path byte-for-byte unchanged.
- desktop: pop a native error dialog on GL-init failure instead of a
  silent exit, so a GPU/driver problem is visible not mysterious.
- packaging/CI: ship arch-matched ANGLE runtime DLLs (libEGL /
  libGLESv2 / d3dcompiler_47) next to the exe, staged from an Electron
  release zip, so glutin's EGL fallback can load them.
2026-07-21 21:15:23 +08:00
..
ab-g3 chore(smoke): audit rubric and loop-vs-orchestrator A/B harness 2026-07-12 02:56:43 +08:00
ab-v9 chore(ai): smoke concurrency override + ab-v9 matrix 2026-06-21 23:18:21 +08:00
render-parity merge: sync mesh/shader rendering, web live-sync and platform fixes from remote 2026-07-03 01:25:08 +08:00
bundle-macos.sh fix(release): gate publishing on Cargo version 2026-07-15 21:17:21 +08:00
install-op.ps1 docs(cli): document prerelease install channel 2026-07-08 23:28:07 +08:00
install-op.sh build: derive package versions from Cargo 2026-07-15 21:17:21 +08:00
package-appimage.sh chore(build): release packaging scripts, wasm bundle gate with codegen, workspace docs + lockfile 2026-06-12 23:28:09 +08:00
package-deb.sh chore(build): release packaging scripts, wasm bundle gate with codegen, workspace docs + lockfile 2026-06-12 23:28:09 +08:00
package-linux-common.sh chore(build): release packaging scripts, wasm bundle gate with codegen, workspace docs + lockfile 2026-06-12 23:28:09 +08:00
package-windows.nsi fix(desktop): recover from unusable native GL on Windows startup 2026-07-21 21:15:23 +08:00
self-loop.sh merge: sync mesh/shader rendering, web live-sync and platform fixes from remote 2026-07-03 01:25:08 +08:00
start-web-rust.sh test(web): add rust web browser smoke 2026-06-20 19:24:59 +08:00
sync-version.sh fix: complete version synchronization guidance 2026-07-15 21:17:21 +08:00
sync-version.test.sh fix(ci): install ripgrep for version guard 2026-07-15 22:47:01 +08:00
workspace-version.sh fix: harden workspace version reader inputs 2026-07-15 21:17:20 +08:00
workspace-version.test.sh fix: harden workspace version reader inputs 2026-07-15 21:17:20 +08:00