|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-supplied storage + renderer for ra8_glyph_atlas_init. More...
#include <ra8_glyph_atlas.h>
Data Fields | |
| uint8_t * | cell_mem |
| cell_count * cell_bytes of bitmap storage. | |
| uint32_t | cell_bytes |
| Bytes per cell (max glyph bitmap). | |
| uint32_t | cell_count |
| Number of cells. | |
| ra8_keycache_cell_t * | meta |
| cell_count link-metadata entries. | |
| ra8_glyph_key_t * | keys |
| cell_count key-storage entries. | |
| ra8_glyph_dims_t * | dims |
| cell_count dimension descriptors. | |
| int32_t * | buckets |
| bucket_count hash-bucket heads. | |
| uint32_t | bucket_count |
| Number of hash buckets (>= 1). | |
| ra8_glyph_render_fn | render |
| Render-on-miss callback. | |
| void * | render_ctx |
Opaque context passed to render. | |
Caller-supplied storage + renderer for ra8_glyph_atlas_init.
All arrays are caller-owned and must out-live the atlas. meta, keys, and dims are parallel per-cell arrays (cell_count entries each); cell_mem holds the bitmaps.
Definition at line 142 of file ra8_glyph_atlas.h.
| uint32_t ra8_glyph_atlas_cfg_t::bucket_count |
Number of hash buckets (>= 1).
Definition at line 150 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| int32_t* ra8_glyph_atlas_cfg_t::buckets |
bucket_count hash-bucket heads.
Definition at line 149 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| uint32_t ra8_glyph_atlas_cfg_t::cell_bytes |
Bytes per cell (max glyph bitmap).
Definition at line 144 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| uint32_t ra8_glyph_atlas_cfg_t::cell_count |
Number of cells.
Definition at line 145 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| uint8_t* ra8_glyph_atlas_cfg_t::cell_mem |
cell_count * cell_bytes of bitmap storage.
Definition at line 143 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| ra8_glyph_dims_t* ra8_glyph_atlas_cfg_t::dims |
cell_count dimension descriptors.
Definition at line 148 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| ra8_glyph_key_t* ra8_glyph_atlas_cfg_t::keys |
cell_count key-storage entries.
Definition at line 147 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| ra8_keycache_cell_t* ra8_glyph_atlas_cfg_t::meta |
cell_count link-metadata entries.
Definition at line 146 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| ra8_glyph_render_fn ra8_glyph_atlas_cfg_t::render |
Render-on-miss callback.
Definition at line 151 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().
| void* ra8_glyph_atlas_cfg_t::render_ctx |
Opaque context passed to render.
Definition at line 152 of file ra8_glyph_atlas.h.
Referenced by ra8_glyph_atlas_init().