mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Add a -p option to select the pattern to draw. The existing expanding rectangles animation remains the default, and a new "smpte" pattern fills the display with seven equal vertical bars (white, yellow, cyan, green, magenta, red and blue), which is useful to verify color ordering and channel wiring of a framebuffer display. To support more than one palette, the draw_rect() helpers now receive the color value to write instead of an index into the per-format color tables. Monochrome displays pick black or white per bar using a BT.601 luma threshold. The FBIO_UPDATE ioctl is moved out of draw_rect() into a new present_area() helper, so the SMPTE pattern can draw every bar and then update the display only once. Assisted-by: Cursor:claude-opus-5 Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| fb_main.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||