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

Internal module state populated by ra8_gfx_init(). More...

#include <ra8_gfx_internal.h>

Data Fields

uint8_t * fb
 Framebuffer base.
uint16_t width
 Width in pixels.
uint16_t height
 Height in pixels.
ra8_gfx_format_t format
 Pixel format.
uint8_t bpp
 Bytes per pixel.
bool initialized
 Set after a successful init.
int32_t clip_x0
 Clip left (inclusive), within [0,width].
int32_t clip_y0
 Clip top (inclusive), within [0,height].
int32_t clip_x1
 Clip right (exclusive), within [0,w].
int32_t clip_y1
 Clip bottom (exclusive), within [0,h].

Detailed Description

Internal module state populated by ra8_gfx_init().

Definition at line 32 of file ra8_gfx_internal.h.

Field Documentation

◆ bpp

uint8_t ra8_gfx_state_t::bpp

Bytes per pixel.

Definition at line 37 of file ra8_gfx_internal.h.

◆ clip_x0

int32_t ra8_gfx_state_t::clip_x0

Clip left (inclusive), within [0,width].

Definition at line 39 of file ra8_gfx_internal.h.

◆ clip_x1

int32_t ra8_gfx_state_t::clip_x1

Clip right (exclusive), within [0,w].

Definition at line 41 of file ra8_gfx_internal.h.

◆ clip_y0

int32_t ra8_gfx_state_t::clip_y0

Clip top (inclusive), within [0,height].

Definition at line 40 of file ra8_gfx_internal.h.

◆ clip_y1

int32_t ra8_gfx_state_t::clip_y1

Clip bottom (exclusive), within [0,h].

Definition at line 42 of file ra8_gfx_internal.h.

◆ fb

uint8_t* ra8_gfx_state_t::fb

Framebuffer base.

Definition at line 33 of file ra8_gfx_internal.h.

◆ format

ra8_gfx_format_t ra8_gfx_state_t::format

Pixel format.

Definition at line 36 of file ra8_gfx_internal.h.

◆ height

uint16_t ra8_gfx_state_t::height

Height in pixels.

Definition at line 35 of file ra8_gfx_internal.h.

◆ initialized

bool ra8_gfx_state_t::initialized

Set after a successful init.

Definition at line 38 of file ra8_gfx_internal.h.

◆ width

uint16_t ra8_gfx_state_t::width

Width in pixels.

Definition at line 34 of file ra8_gfx_internal.h.


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