diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:10 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-09-04 14:00:56 +0400 |
commit | 1ece6777fe1770f8a26f6887be96b21edfd0e442 (patch) | |
tree | fbca6bf3916acadab7367a5720d16038f71c7e6e /accel/accel-user.c | |
parent | 8c6381d84668ff9b6324bf00b91107cbcaf7505f (diff) | |
download | qemu-1ece6777fe1770f8a26f6887be96b21edfd0e442.zip qemu-1ece6777fe1770f8a26f6887be96b21edfd0e442.tar.gz qemu-1ece6777fe1770f8a26f6887be96b21edfd0e442.tar.bz2 |
ui/console: use QEMU_PIXMAN_COLOR helpers
QEMU_RGB macro is actually defining a pixman color. Make this explicit
in the macro name. Move it to qemu-pixman.h so it can be used elsewhere,
as done in the following patch. Finally, define
QEMU_PIXMAN_COLOR_{BLACK,GRAY}, to avoid need to look up the VGA color
table from the QemuConsole placeholder surface rendering.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230830093843.3531473-37-marcandre.lureau@redhat.com>
Diffstat (limited to 'accel/accel-user.c')
0 files changed, 0 insertions, 0 deletions