vnc.h (21ef45d71221b4577330fe3aacfb06afad91ad46) vnc.h (d39fa6d86d07646e3481e5c3e45a984bff590642)
1/*
2 * QEMU VNC display driver
3 *
4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>
5 * Copyright (C) 2006 Fabrice Bellard
6 * Copyright (C) 2009 Red Hat, Inc
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 136 unchanged lines hidden (view full) ---

145 QEMUTimer *timer;
146 int timer_interval;
147 int lsock;
148#ifdef CONFIG_VNC_WS
149 int lwebsock;
150 bool websocket;
151 char *ws_display;
152#endif
1/*
2 * QEMU VNC display driver
3 *
4 * Copyright (C) 2006 Anthony Liguori <anthony@codemonkey.ws>
5 * Copyright (C) 2006 Fabrice Bellard
6 * Copyright (C) 2009 Red Hat, Inc
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy

--- 136 unchanged lines hidden (view full) ---

145 QEMUTimer *timer;
146 int timer_interval;
147 int lsock;
148#ifdef CONFIG_VNC_WS
149 int lwebsock;
150 bool websocket;
151 char *ws_display;
152#endif
153 DisplayState *ds;
153 DisplaySurface *ds;
154 DisplayChangeListener dcl;
155 kbd_layout_t *kbd_layout;
156 int lock_key_sync;
157 QemuMutex mutex;
158
159 QEMUCursor *cursor;
160 int cursor_msize;
161 uint8_t *cursor_mask;

--- 81 unchanged lines hidden (view full) ---

243 QLIST_HEAD(, VncRectEntry) rectangles;
244 QTAILQ_ENTRY(VncJob) next;
245};
246
247struct VncState
248{
249 int csock;
250
154 DisplayChangeListener dcl;
155 kbd_layout_t *kbd_layout;
156 int lock_key_sync;
157 QemuMutex mutex;
158
159 QEMUCursor *cursor;
160 int cursor_msize;
161 uint8_t *cursor_mask;

--- 81 unchanged lines hidden (view full) ---

243 QLIST_HEAD(, VncRectEntry) rectangles;
244 QTAILQ_ENTRY(VncJob) next;
245};
246
247struct VncState
248{
249 int csock;
250
251 DisplayState *ds;
252 DECLARE_BITMAP(dirty[VNC_MAX_HEIGHT], VNC_DIRTY_BITS);
253 uint8_t **lossy_rect; /* Not an Array to avoid costly memcpy in
254 * vnc-jobs-async.c */
255
256 VncDisplay *vd;
257 int need_update;
258 int force_update;
259 uint32_t features;

--- 326 unchanged lines hidden ---
251 DECLARE_BITMAP(dirty[VNC_MAX_HEIGHT], VNC_DIRTY_BITS);
252 uint8_t **lossy_rect; /* Not an Array to avoid costly memcpy in
253 * vnc-jobs-async.c */
254
255 VncDisplay *vd;
256 int need_update;
257 int force_update;
258 uint32_t features;

--- 326 unchanged lines hidden ---