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

Caller-supplied storage + renderer for ra8_glyph_atlas_init. More...

#include <ra8_glyph_atlas.h>

Collaboration diagram for ra8_glyph_atlas_cfg_t:

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_tmeta
 cell_count link-metadata entries.
ra8_glyph_key_tkeys
 cell_count key-storage entries.
ra8_glyph_dims_tdims
 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.

Detailed Description

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.

Since
0.1.0

Definition at line 142 of file ra8_glyph_atlas.h.

Field Documentation

◆ bucket_count

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().

◆ buckets

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().

◆ cell_bytes

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().

◆ cell_count

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().

◆ cell_mem

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().

◆ dims

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().

◆ keys

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().

◆ meta

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().

◆ render

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().

◆ render_ctx

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().


The documentation for this struct was generated from the following file: