ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
zoom_tiles.c File Reference

Tiled-atlas source adapter for the tap-to-zoom viewer (#478). More...

Go to the source code of this file.

Detailed Description

Tiled-atlas source adapter for the tap-to-zoom viewer (#478).

Implements zoom_tiles.h: pixel rectangle -> covering tiles -> per-tile acquire, copy the overlap, release. The acquire/release pair brackets exactly one copy, so at most one cell is ever pinned and the resident set is whatever the cache holds rather than whatever the rectangle spans – which is what makes "only visible tiles are resident" a property of the code rather than a hope.

The whole TU is guarded on ra8_tile_cache.h being reachable, the same pattern comic_tiles.c uses.

[Ring 4 / Domain] {World: NS}

Since
0.1.0

Definition in file zoom_tiles.c.