rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
gfx_work.h File Reference

The pixels the rasteriser's loops visit, counted for the host suite. More...

Go to the source code of this file.

Macros

#define GFX_VISIT(n)
 Count n pixels visited: nothing, in a build without GFX_WORK_COUNT.

Detailed Description

The pixels the rasteriser's loops visit, counted for the host suite.

Each pixel a loop examines or writes counts once, kept or clipped away: a filled rectangle by its clipped area, a glyph by its cells, an antialiased shape by the pixels of each row it walks, an arc by its steps, a single pixel by itself. The count is a frame's drawing work in a measure that does not depend on the machine (test_frame_work, test_gfx_clip). Compiled in only when GFX_WORK_COUNT is defined, as test/host/CMakeLists.txt builds the library; the panel builds without it and GFX_VISIT() is then nothing.

SPDX-License-Identifier: MIT

Macro Definition Documentation

◆ GFX_VISIT

#define GFX_VISIT ( n)
Value:
((void)0)

Count n pixels visited: nothing, in a build without GFX_WORK_COUNT.