Repository navigation
Free terminal GPU memory on Mac when the glyph cache grows large #43465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
brennanb2025
merged 40 commits into
stablyai:main
from
atharv2309-commits:fix/webgl-atlas-memory-rebuild
Nov 23, 2026
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
19b3678
fix(terminal): rebuild WebGL renderers once the glyph atlas reaches a…
atharv2309-commits 1de8b63
fix(terminal): ignore atlas pages from the rebuild's own repaint
atharv2309-commits 56e7c48
Merge remote-tracking branch 'origin/main' into brennanb2025/pr-43465…
brennanb2025 9a46852
fix(terminal): space atlas-memory rebuilds and re-arm them on output
brennanb2025 26088c7
fix(terminal): drop atlas output watchers with their renderer
brennanb2025 8435e56
fix(terminal): watch output for each renderer's lifetime
brennanb2025 85552a5
fix(terminal): release the atlas output watcher when WebGL attach fails
brennanb2025 cd64933
fix(terminal): scope atlas-memory rebuilds to the grown atlas
brennanb2025 3371b77
fix(terminal): re-arm atlas rebuilds on PTY output into that atlas
brennanb2025 5a20564
fix(terminal): reattach atlas-rebuilt renderers only in visible panes
brennanb2025 53a7156
fix(terminal): keep undisplayed panes detached and space deferred reb…
brennanb2025 159e6f4
fix(terminal): decide atlas-rebuild reattach per on-screen pane
brennanb2025 07d0320
refactor(terminal): type the atlas identity and read it without casts
brennanb2025 04a147a
refactor(terminal): identify the glyph atlas by its pages list
brennanb2025 f1c489b
fix(terminal): index atlas owners, honor stale visibility and paint r…
brennanb2025 99971b6
fix(terminal): follow atlas swaps, skip chat-covered panes and coales…
brennanb2025 a968cda
test(terminal): keep the fake pane cast annotated
brennanb2025 7d58f76
fix(terminal): re-index after xterm assigns the new atlas and keep th…
brennanb2025 82f728b
fix(terminal): keep chat-covered panes detached on atlas rebuild and …
brennanb2025 5681837
fix(terminal): key covered rebuild panes by terminal
brennanb2025 782115b
perf(terminal): check atlas-rebuild visibility per due pane against v…
brennanb2025 0d37668
fix(terminal): give a re-armed deferred atlas a fresh retry budget
brennanb2025 0f6f1a4
fix(terminal): mark atlas output when xterm parses it, so a queued ta…
brennanb2025 1f650d4
feat(terminal): record atlas-rebuild duration in its diagnostic
brennanb2025 aab79c2
perf(terminal): recreate atlas-rebuild contexts one per frame
brennanb2025 18a5764
fix(terminal): recheck visibility and synchronized output on each def…
brennanb2025 6857e05
perf(terminal): rebuild a grown atlas only after its output pauses an…
brennanb2025 a3c55e3
fix(terminal): hold an atlas rebuild's remaining reattaches while typ…
brennanb2025 c9d759c
fix(terminal): drop the mid-chain typing hold, record all user PTY in…
brennanb2025 ae0f0b6
fix(terminal): never start an atlas rebuild mid synchronized frame, k…
brennanb2025 78af19d
fix(terminal): key the rebuild's grid-fit guard by terminal, so PTY s…
brennanb2025 a97069e
fix(terminal): count chunked standalone pastes as typing for atlas re…
brennanb2025 7fdea97
perf(terminal): rebuild an atlas by clearing it in place and recreati…
brennanb2025 18c773f
fix(terminal): decide each rebuild step on its own frame, empty every…
brennanb2025 09c9d41
fix(terminal): run every atlas rebuild through one weak queue, and wa…
brennanb2025 3251c20
fix(terminal): rotate waiting panes in the rebuild queue, start it on…
brennanb2025 bae82bc
fix(terminal): park atlas rebuilds while the window is hidden or unfo…
brennanb2025 bff3da1
fix(terminal): park atlas rebuilds while focus is in an embedded brow…
brennanb2025 d1f302e
fix(terminal): stop retrying an atlas whose synchronized frame never …
brennanb2025 f3bbeb2
fix(terminal): look at each queued rebuild pane once per frame, and k…
brennanb2025 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.