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

Framebuffer descriptor returned by display_get_framebuffer. More...

#include <ra8_display_pal.h>

Data Fields

void * pixels
 Base of pixel data (RGB565 unless noted).
uint16_t width_px
 Framebuffer width.
uint16_t height_px
 Framebuffer height.
uint32_t stride_bytes
 Row stride in bytes.
display_pixfmt_t pixfmt
 Pixel format of pixels.

Detailed Description

Framebuffer descriptor returned by display_get_framebuffer.

pixels points at the same buffer the caller passed in via display_cfg_t.framebuffer. The backend may have re-validated alignment / size; the values reported here are authoritative for subsequent paint loops.

Since
0.1.0

Definition at line 167 of file ra8_display_pal.h.

Field Documentation

◆ height_px

uint16_t display_fb_t::height_px

Framebuffer height.

Definition at line 170 of file ra8_display_pal.h.

Referenced by internal_eink_clear(), and internal_lcd_clear().

◆ pixels

◆ pixfmt

display_pixfmt_t display_fb_t::pixfmt

Pixel format of pixels.

Definition at line 172 of file ra8_display_pal.h.

◆ stride_bytes

uint32_t display_fb_t::stride_bytes

Row stride in bytes.

Definition at line 171 of file ra8_display_pal.h.

Referenced by internal_lcd_clear(), and internal_lcd_flush().

◆ width_px

uint16_t display_fb_t::width_px

Framebuffer width.

Definition at line 169 of file ra8_display_pal.h.

Referenced by internal_eink_clear(), internal_eink_load_rect(), and internal_lcd_clear().


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