mirror of https://github.com/xemu-project/xemu.git
ui/console: Remove DisplayState/DisplaySurface from "qemu/typedefs.h"
Files requiring DisplayState/DisplaySurface already include "ui/console.h". To clean "qemu/typedefs.h", move the declarations to "ui/console.h" (removing DisplaySurface forward declaration). Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
dfbb251e9f
commit
7536587c07
|
@ -24,8 +24,6 @@ typedef struct DeviceListener DeviceListener;
|
||||||
typedef struct DeviceState DeviceState;
|
typedef struct DeviceState DeviceState;
|
||||||
typedef struct DirtyBitmapSnapshot DirtyBitmapSnapshot;
|
typedef struct DirtyBitmapSnapshot DirtyBitmapSnapshot;
|
||||||
typedef struct DisplayChangeListener DisplayChangeListener;
|
typedef struct DisplayChangeListener DisplayChangeListener;
|
||||||
typedef struct DisplayState DisplayState;
|
|
||||||
typedef struct DisplaySurface DisplaySurface;
|
|
||||||
typedef struct DriveInfo DriveInfo;
|
typedef struct DriveInfo DriveInfo;
|
||||||
typedef struct Error Error;
|
typedef struct Error Error;
|
||||||
typedef struct EventNotifier EventNotifier;
|
typedef struct EventNotifier EventNotifier;
|
||||||
|
|
|
@ -131,7 +131,7 @@ struct PixelFormat {
|
||||||
uint8_t rbits, gbits, bbits, abits;
|
uint8_t rbits, gbits, bbits, abits;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct DisplaySurface {
|
typedef struct DisplaySurface {
|
||||||
pixman_format_code_t format;
|
pixman_format_code_t format;
|
||||||
pixman_image_t *image;
|
pixman_image_t *image;
|
||||||
uint8_t flags;
|
uint8_t flags;
|
||||||
|
@ -140,7 +140,7 @@ struct DisplaySurface {
|
||||||
GLenum gltype;
|
GLenum gltype;
|
||||||
GLuint texture;
|
GLuint texture;
|
||||||
#endif
|
#endif
|
||||||
};
|
} DisplaySurface;
|
||||||
|
|
||||||
typedef struct QemuUIInfo {
|
typedef struct QemuUIInfo {
|
||||||
/* geometry */
|
/* geometry */
|
||||||
|
@ -189,6 +189,8 @@ typedef struct QemuDmaBuf {
|
||||||
bool y0_top;
|
bool y0_top;
|
||||||
} QemuDmaBuf;
|
} QemuDmaBuf;
|
||||||
|
|
||||||
|
typedef struct DisplayState DisplayState;
|
||||||
|
|
||||||
typedef struct DisplayChangeListenerOps {
|
typedef struct DisplayChangeListenerOps {
|
||||||
const char *dpy_name;
|
const char *dpy_name;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue