|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
What one buffer has had written since gfx_damage_reset().
| bool gfx_damage_t::all |
the whole buffer counts as written
| int16_t gfx_damage_t::bands |
bands in use: height / 16, rounded up
| uintptr_t gfx_damage_t::base |
the buffer's first pixel, as an address
| uintptr_t gfx_damage_t::end |
one past its last row, as an address
| int16_t gfx_damage_t::height |
its height, rows
| int16_t gfx_damage_t::hi[GFX_DAMAGE_MAX_BANDS] |
one past its last written x
| uintptr_t gfx_damage_t::last |
the pixels of the canvas last translated
| int16_t gfx_damage_t::last_x |
that canvas's left edge in the buffer
| int16_t gfx_damage_t::last_y |
its top edge in the buffer
| int16_t gfx_damage_t::lo[GFX_DAMAGE_MAX_BANDS] |
a band's first written x, or width when nothing is
| int32_t gfx_damage_t::stride |
pixels from one row to the next
| int16_t gfx_damage_t::width |
the buffer's width, pixels