Skip to content

feat(capi): render a loose MLT tile from bytes (tile57_render_mlt_tile)#23

Merged
beetlebugorg merged 1 commit into
mainfrom
feat/mlt-tile-render
Jul 14, 2026
Merged

feat(capi): render a loose MLT tile from bytes (tile57_render_mlt_tile)#23
beetlebugorg merged 1 commit into
mainfrom
feat/mlt-tile-render

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

Rendering could only paint tiles owned by an open archive (tile57_chart_tile_surface). Add its archive-less twin: paint a caller-supplied MLT tile with no chart open — for a host that fetched a tile over HTTP from a tile server and wants it drawn locally. Same world-space tagged draw calls, per-tile decluttering, and the embedded colour profile + symbol catalogue.

Handle-less process-global symbol-store caches (sharedStore, per palette) mirror sharedColors; renderMltTileSurface reuses the exact mlt.decode + scene.replayTile path as Chart.renderSurfaceTile. An undecodable tile paints nothing (still TILE57_OK).

Rendering could only paint tiles owned by an open archive
(tile57_chart_tile_surface). Add its archive-less twin: paint a
caller-supplied MLT tile with no chart open — for a host that fetched a
tile over HTTP from a tile server and wants it drawn locally. Same
world-space tagged draw calls, per-tile decluttering, and the embedded
colour profile + symbol catalogue.

Handle-less process-global symbol-store caches (sharedStore, per palette)
mirror sharedColors; renderMltTileSurface reuses the exact mlt.decode +
scene.replayTile path as Chart.renderSurfaceTile. An undecodable tile
paints nothing (still TILE57_OK).
@beetlebugorg beetlebugorg merged commit d42f6c5 into main Jul 14, 2026
5 checks passed
@beetlebugorg beetlebugorg deleted the feat/mlt-tile-render branch July 14, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant