render: move the glyph index into felis-render-core #172
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!172
Loading…
Reference in a new issue
No description provided.
Delete branch "render/core-glyph-index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on #171 (its two commits come first here; review the last one).
Third of four PRs extracting the wgpu-free half of
felis-render-wgpuintofelis-render-core. No behavior change; the #170 golden fixtures pass untouched.GlyphIndex(shape memo, rasterization, slot table, shelf atlas, recycle),GridWalker,ShapeFrame,GlyphSlot,AtlasViewand the helpers they call (sizing_key_from,font_style_of,cluster_block_cols,GLYPH_ATLAS_SIDE) move to core;glyphs.rsfollows as an 86% rename. A CPU backend keeps glyphs in a RAM atlas and drains the samePendingUploads the wgpu backend uploads, so the whole index belongs in core.GlyphCache(textures, bind group, upload path) stays in wgpu asglyph_cache.rs, wrapping core's index.GlyphSlotkeeps normalized uv for now: the painter still writes slot coordinates straight intoFgInstance; the switch to atlas pixels lands with the encoder in phase 4.pub(overlay-cluster priming,GridWalker::walk,cluster_base_char,cluster_block_cols);ShapeFrametest constructors behind a coretestingfeature.atlasandshape_memobenches move to core; unchanged within noise.Verified:
just checkgreen locally; sol review PASS.6a1a1692538f16927b85