]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: video: Support 8bpp depth
authorSimon Glass <sjg@chromium.org>
Fri, 19 Nov 2021 20:23:45 +0000 (13:23 -0700)
committerAnatolij Gustschin <agust@denx.de>
Sun, 26 Dec 2021 22:02:19 +0000 (23:02 +0100)
commit6716c907f42c13245f26f8bb5f9141d588833d9f
tree4841fc25d1ba69ba86858840bfad0eb53d7b5cae
parent91c48360224ab34f3825a58061b17c340d76dde5
sandbox: video: Support 8bpp depth

At present sandbox only supports 16 and 32bpp depths, since those are the
easy ones with SDL.

We can support other depths by manually converting the pixel formats. Add
support for this, to enable an 8ppp (monochrome) format.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/sdl.c
drivers/video/sandbox_sdl.c