openpencil/.github/workflows
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
..
rust-check.yml fix(ci): gate windows test text measurement 2026-07-08 02:00:47 +08:00
rust-multiplatform.yml fix(ci): retry ARM apt prerequisites 2026-07-15 23:22:22 +08:00
rust-release.yml fix(desktop): recover from unusable native GL on Windows startup 2026-07-21 21:15:23 +08:00
version-sync.yml fix(ci): install ripgrep for version guard 2026-07-15 22:47:01 +08:00
vscode-extension.yml ci(vscode): trigger on workspace-root dependency changes too 2026-07-19 20:41:37 +08:00
wasm-bundle-build.yml merge: land the align-branch work onto the refreshed base 2026-07-03 00:08:17 +08:00
wasm-bundle-check.yml ci: run rust-check + wasm-bundle-check on any branch push 2026-05-17 00:05:11 +08:00
web-sdk-bundle.yml merge: land the align-branch work onto the refreshed base 2026-07-03 00:08:17 +08:00