]> git.dujemihanovic.xyz Git - u-boot.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)
commit8657ad43f353386be5fb6a517650322e804c98b4
tree3623a28f6fb32df01a51060e2baa3d77da6a8d17
parent84051743917e5a34936bc47923838fd5eda24f43
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