rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
gfx_damage_t Struct Reference

What one buffer has had written since gfx_damage_reset(). More...

#include <gfx_damage.h>

Data Fields

uintptr_t base
uintptr_t end
int32_t stride
int16_t width
int16_t height
int16_t bands
bool all
int16_t lo [GFX_DAMAGE_MAX_BANDS]
int16_t hi [GFX_DAMAGE_MAX_BANDS]
uintptr_t last
int16_t last_x
int16_t last_y

Detailed Description

What one buffer has had written since gfx_damage_reset().

Field Documentation

◆ all

bool gfx_damage_t::all

the whole buffer counts as written

◆ bands

int16_t gfx_damage_t::bands

bands in use: height / 16, rounded up

◆ base

uintptr_t gfx_damage_t::base

the buffer's first pixel, as an address

◆ end

uintptr_t gfx_damage_t::end

one past its last row, as an address

◆ height

int16_t gfx_damage_t::height

its height, rows

◆ hi

int16_t gfx_damage_t::hi[GFX_DAMAGE_MAX_BANDS]

one past its last written x

◆ last

uintptr_t gfx_damage_t::last

the pixels of the canvas last translated

◆ last_x

int16_t gfx_damage_t::last_x

that canvas's left edge in the buffer

◆ last_y

int16_t gfx_damage_t::last_y

its top edge in the buffer

◆ lo

int16_t gfx_damage_t::lo[GFX_DAMAGE_MAX_BANDS]

a band's first written x, or width when nothing is

◆ stride

int32_t gfx_damage_t::stride

pixels from one row to the next

◆ width

int16_t gfx_damage_t::width

the buffer's width, pixels


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