]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
make DisplayState match xen-unstable better
authorIan Jackson <iwj@mariner.uk.xensource.com>
Thu, 29 May 2008 13:58:02 +0000 (14:58 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 29 May 2008 13:58:02 +0000 (14:58 +0100)
console.h

index 2928e83c0f7700032cc8bb78d9eeffc7df658585..7ec1d887d89285d0518ee1b0a5f0a129e6bb0820 100644 (file)
--- a/console.h
+++ b/console.h
@@ -72,16 +72,16 @@ struct DisplayState {
     void *opaque;
     struct QEMUTimer *gui_timer;
 
+    int shared_buf;
+
     void (*dpy_update)(struct DisplayState *s, int x, int y, int w, int h);
     void (*dpy_resize)(struct DisplayState *s, int w, int h);
+    void (*dpy_setdata)(DisplayState *s, void *pixels);
     void (*dpy_refresh)(struct DisplayState *s);
     void (*dpy_copy)(struct DisplayState *s, int src_x, int src_y,
                      int dst_x, int dst_y, int w, int h);
     void (*dpy_fill)(struct DisplayState *s, int x, int y,
                      int w, int h, uint32_t c);
-    void (*mouse_set)(int x, int y, int on);
-    void (*cursor_define)(int width, int height, int bpp, int hot_x, int hot_y,
-                          uint8_t *image, uint8_t *mask);
 };
 
 static inline void dpy_update(DisplayState *s, int x, int y, int w, int h)