The Source Library wall's pixel engine, extracted for anyone's pictures: libs/image_tiles carries the NV12 slot pyramid, the 32x32 shard atlas geometry and the one-HEVC-intra-frame-per-file tape codec (tape.rs), a small SQLite index (db.rs), a priority decode pool (store.rs), and the TileGrid widget — instanced tiles batched per atlas page, anchor-locked wheel zoom with log-space glide, continuous per-shard LOD with crossfades, full-resolution promotion under byte budgets with LRU eviction, and uniform-only re-presents inside the pad of the last build. image-tiles-bake downloads a manifest of URLs (fetch pool free to be wide, encode pool hard-capped — concurrent VT session churn has panicked the encoder's IOMMU) and bakes a library; examples/image_tiles views one. No JPEGs on disk; decode and encode are the hardware's. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
8 lines
220 B
TOML
8 lines
220 B
TOML
[package]
|
|
name = "makepad-example-image-tiles"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
makepad-widgets = { path = "../../widgets", version = "2.0.0" }
|
|
makepad-image-tiles = { path = "../../libs/image_tiles" }
|