[Spice-devel] [PATCH 1/8] Move SurfaceInfo structure
alexl at redhat.com
alexl at redhat.com
Fri Aug 20 11:54:33 PDT 2010
From: Alexander Larsson <alexl at redhat.com>
This is in preparation for using it in DevRes
---
display/qxldd.h | 27 +++++++++++++--------------
1 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/display/qxldd.h b/display/qxldd.h
index 4d3911d..b896e23 100644
--- a/display/qxldd.h
+++ b/display/qxldd.h
@@ -161,6 +161,19 @@ enum {
NUM_MSPACES,
};
+typedef struct PDev PDev;
+
+typedef struct DrawArea {
+ HSURF bitmap;
+ SURFOBJ* surf_obj;
+ UINT8 *base_mem;
+} DrawArea;
+
+typedef struct SurfaceInfo {
+ DrawArea draw_area;
+ PDev *pdev;
+} SurfaceInfo;
+
typedef struct DevRes {
MspaceInfo mspaces[NUM_MSPACES];
@@ -202,20 +215,6 @@ typedef struct DevRes {
#define SSE_MASK 15
#define SSE_ALIGN 16
-
-typedef struct DrawArea {
- HSURF bitmap;
- SURFOBJ* surf_obj;
- UINT8 *base_mem;
-} DrawArea;
-
-typedef struct PDev PDev;
-
-typedef struct SurfaceInfo {
- DrawArea draw_area;
- PDev *pdev;
-} SurfaceInfo;
-
typedef struct PDev {
HANDLE driver;
HDEV eng;
--
1.7.2.1
More information about the Spice-devel
mailing list