Files
Netcatty/components
bincxzandClaude Opus 4.8 9294a7130f perf(terminal): defer WebGL renderer for hidden panes until visible
Each terminal that loads the WebGL addon holds a live WebGL context for
its whole lifetime, and all session panes stay mounted (hidden ones
off-screen). Batch connect therefore created a WebGL context per host up
front, contending for the GPU on the main thread — also the root of the
"garbled / 花屏" corruption in #1049/#1063. Defer WebGL creation for panes
that mount hidden (background tabs of a batch) and upgrade them on first
visibility via an idempotent ensureWebglRenderer(); a hidden pane renders
through xterm's DOM renderer until shown. Visible panes (single connect,
the active tab) keep creating WebGL immediately — unchanged behavior.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 22:52:35 +08:00
..
2026-06-06 18:59:48 +08:00
2026-06-01 21:03:43 +08:00
2026-06-06 17:04:33 +08:00
2026-06-06 22:13:47 +08:00
2026-06-02 01:15:36 +08:00
2026-06-02 01:28:39 +08:00
2026-05-07 12:57:54 +08:00
2026-06-01 21:03:43 +08:00
2026-06-01 21:03:43 +08:00
2026-06-01 21:03:43 +08:00
2026-06-02 12:01:40 +08:00
2026-06-06 22:13:47 +08:00