mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
ui/console: Remove PixelFormat from qemu/typedefs.h
Header files requiring PixelFormat already include "ui/qemu-pixman.h". To clean "qemu/typedefs.h", move the declaration to "ui/qemu-pixman.h" (removing the forward declaration). Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
5a4c2e5905
commit
0a323e66b5
3 changed files with 10 additions and 11 deletions
|
@ -121,16 +121,6 @@ struct QemuConsoleClass {
|
|||
|
||||
#define QEMU_ALLOCATED_FLAG 0x01
|
||||
|
||||
struct PixelFormat {
|
||||
uint8_t bits_per_pixel;
|
||||
uint8_t bytes_per_pixel;
|
||||
uint8_t depth; /* color depth in bits */
|
||||
uint32_t rmask, gmask, bmask, amask;
|
||||
uint8_t rshift, gshift, bshift, ashift;
|
||||
uint8_t rmax, gmax, bmax, amax;
|
||||
uint8_t rbits, gbits, bbits, abits;
|
||||
};
|
||||
|
||||
typedef struct DisplaySurface {
|
||||
pixman_format_code_t format;
|
||||
pixman_image_t *image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue