aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-19 13:23:54 -0700
committerAnatolij Gustschin <agust@denx.de>2021-12-26 23:02:19 +0100
commit51f92c143019de3ad719d8ee7bcab8c1d9d87d1c (patch)
treed34fe4815cb6a8325671ca9d02bf4e28ec61690f /test
parent19c828c525a08807e5ba98d98655271606a7e4eb (diff)
downloadu-boot-51f92c143019de3ad719d8ee7bcab8c1d9d87d1c.zip
u-boot-51f92c143019de3ad719d8ee7bcab8c1d9d87d1c.tar.gz
u-boot-51f92c143019de3ad719d8ee7bcab8c1d9d87d1c.tar.bz2
video: Move BMP pixel-writing into a function
At present the code that writes to a pixel is quite convoluted. It uses a colour map which is in the uclass and the same code is repeated in different places within video_bmp_display(). As a first step, create a function which can write a pixel from the bitmap, no matter what the display depth. Use any provided palette directly, rather than using the uclass version. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions