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

One independent owned surface plus non-owning bounded scratch. More...

#include <emu_presentation.h>

Data Fields

int fd
 Owned unlinked descriptor, or -1.
uint16_t panel_width
 Native panel width.
uint16_t panel_height
 Native panel height.
uint16_t display_width
 Rotation-adjusted panel width.
uint16_t display_height
 Rotation-adjusted panel height.
uint16_t composite_width
 Display plus sidebar width.
uint16_t composite_height
 Display/sidebar maximum height.
uint32_t rotate_deg
 Bound display rotation.
uint16_t * scratch
 Borrowed RGB565 scratch, or nullptr.
size_t scratch_bytes
 Exact bound scratch prefix.
size_t surface_bytes
 Exact raw-fd RGB565 length.

Detailed Description

One independent owned surface plus non-owning bounded scratch.

Definition at line 60 of file emu_presentation.h.

Field Documentation

◆ composite_height

uint16_t emu_presentation_workspace_t::composite_height

Display/sidebar maximum height.

Definition at line 67 of file emu_presentation.h.

Referenced by emu_presentation_fill(), internal_run_setup_geometry(), priv_emu_view_surface_build(), and write_ppm().

◆ composite_width

uint16_t emu_presentation_workspace_t::composite_width

◆ display_height

uint16_t emu_presentation_workspace_t::display_height

Rotation-adjusted panel height.

Definition at line 65 of file emu_presentation.h.

Referenced by internal_run_setup_geometry(), and priv_emu_view_surface_build().

◆ display_width

uint16_t emu_presentation_workspace_t::display_width

Rotation-adjusted panel width.

Definition at line 64 of file emu_presentation.h.

Referenced by internal_run_setup_geometry(), and priv_emu_view_surface_build().

◆ fd

◆ panel_height

uint16_t emu_presentation_workspace_t::panel_height

◆ panel_width

uint16_t emu_presentation_workspace_t::panel_width

◆ rotate_deg

uint32_t emu_presentation_workspace_t::rotate_deg

Bound display rotation.

Definition at line 68 of file emu_presentation.h.

Referenced by internal_rotate_tile(), internal_tile_destination(), and priv_emu_view_tile_write().

◆ scratch

uint16_t* emu_presentation_workspace_t::scratch

Borrowed RGB565 scratch, or nullptr.

Definition at line 69 of file emu_presentation.h.

Referenced by emu_presentation_fill(), emu_presentation_snapshot(), internal_write_layer(), and priv_emu_view_tile_write().

◆ scratch_bytes

size_t emu_presentation_workspace_t::scratch_bytes

Exact bound scratch prefix.

Definition at line 70 of file emu_presentation.h.

Referenced by emu_presentation_fill(), and emu_presentation_snapshot().

◆ surface_bytes

size_t emu_presentation_workspace_t::surface_bytes

Exact raw-fd RGB565 length.

Definition at line 71 of file emu_presentation.h.

Referenced by emu_presentation_read(), emu_presentation_snapshot(), emu_presentation_write(), and internal_write_ppm_pixels().


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