|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Everything ez_scene_init needs: storage and framebuffer geometry. More...
#include <ez_scene.h>
Data Fields | |
| void * | fb |
| Framebuffer base (hashed by the golden). | |
| uint32_t | fb_bytes |
| Framebuffer size, bytes. | |
| int32_t | fb_w |
| Framebuffer width, pixels. | |
| int32_t | fb_h |
| Framebuffer height, pixels. | |
| uint8_t * | cell_mem |
| k_ez_cells * k_ez_cell_bytes bytes. | |
| ra8_keycache_cell_t * | meta |
| k_ez_cells link-metadata entries. | |
| ra8_tile_key_t * | keys |
| k_ez_cells key entries. | |
| ra8_tile_dims_t * | dims |
| k_ez_cells dimension entries. | |
| int32_t * | buckets |
| k_ez_buckets hash-bucket heads. | |
| uint8_t * | row |
| k_ez_row_bytes composite row. | |
| uint8_t * | strip |
| k_ez_strip_bytes composite strip. | |
| uint8_t * | packed |
| k_ez_packed_bytes packed strip. | |
Everything ez_scene_init needs: storage and framebuffer geometry.
Every pointer is borrowed and must outlive the scene. The cache arrays are the six ra8_tile_cache_cfg_t needs; the three scratch buffers are the composite's. The framebuffer is carried here (as well as being bound into ra8_gfx) because the scene hashes it for the golden, and ra8_gfx exposes no accessor for the binding.
Definition at line 252 of file ez_scene.h.
| int32_t* ez_scene_cfg_t::buckets |
k_ez_buckets hash-bucket heads.
Definition at line 261 of file ez_scene.h.
Referenced by ez_bind_page(), and ez_cfg_ptrs_ok().
| uint8_t* ez_scene_cfg_t::cell_mem |
k_ez_cells * k_ez_cell_bytes bytes.
Definition at line 257 of file ez_scene.h.
Referenced by ez_bind_page(), and ez_cfg_ptrs_ok().
| ra8_tile_dims_t* ez_scene_cfg_t::dims |
k_ez_cells dimension entries.
Definition at line 260 of file ez_scene.h.
Referenced by ez_bind_page(), and ez_cfg_ptrs_ok().
| void* ez_scene_cfg_t::fb |
Framebuffer base (hashed by the golden).
Definition at line 253 of file ez_scene.h.
Referenced by ez_cfg_ptrs_ok(), and ez_scene_init().
| uint32_t ez_scene_cfg_t::fb_bytes |
| int32_t ez_scene_cfg_t::fb_h |
Framebuffer height, pixels.
Definition at line 256 of file ez_scene.h.
Referenced by ez_scene_init().
| int32_t ez_scene_cfg_t::fb_w |
Framebuffer width, pixels.
Definition at line 255 of file ez_scene.h.
Referenced by ez_scene_init().
| ra8_tile_key_t* ez_scene_cfg_t::keys |
k_ez_cells key entries.
Definition at line 259 of file ez_scene.h.
Referenced by ez_bind_page(), and ez_cfg_ptrs_ok().
| ra8_keycache_cell_t* ez_scene_cfg_t::meta |
k_ez_cells link-metadata entries.
Definition at line 258 of file ez_scene.h.
Referenced by ez_bind_page(), and ez_cfg_ptrs_ok().
| uint8_t* ez_scene_cfg_t::packed |
k_ez_packed_bytes packed strip.
Definition at line 264 of file ez_scene.h.
Referenced by ez_cfg_scratch_ok(), and ez_scratch_of().
| uint8_t* ez_scene_cfg_t::row |
k_ez_row_bytes composite row.
Definition at line 262 of file ez_scene.h.
Referenced by ez_cfg_scratch_ok(), and ez_scratch_of().
| uint8_t* ez_scene_cfg_t::strip |
k_ez_strip_bytes composite strip.
Definition at line 263 of file ez_scene.h.
Referenced by ez_cfg_scratch_ok(), and ez_scratch_of().