]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: video: Add BMP tests for 32bpp and 8bpp modes
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:50 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000 (23:02 +0100)
commit8f2bc82b5500354f99597f01e7684d5246b05c7b
tree3623a28f6fb32df01a51060e2baa3d77da6a8d17
parentdc37ec055d45eec95749d570e90c29580603cf9c
sandbox: video: Add BMP tests for 32bpp and 8bpp modes

Add a few more tests for BMP rendering. Use a back door into the sandbox
SDL driver to adjust the resolution at runtime.

The truetype code does not support 8bpp. Add this so that the display is
not blank when running in this mode.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/test.h
drivers/video/console_truetype.c
drivers/video/sandbox_sdl.c
test/dm/video.c