Lines Matching refs:guest
273 struct VncSurface *s = &vs->guest;
354 /* guest surface */
355 if (!vs->guest.ds)
356 vs->guest.ds = qemu_mallocz(sizeof(*vs->guest.ds));
357 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel)
360 size_changed = ds_get_width(ds) != vs->guest.ds->width ||
361 ds_get_height(ds) != vs->guest.ds->height;
362 *(vs->guest.ds) = *(ds->surface);
373 memset(vs->guest.dirty, 0xFF, sizeof(vs->guest.dirty));
383 memset(vs->server.dirty, 0xFF, sizeof(vs->guest.dirty));
732 * Walk through the guest dirty map.
733 * Check and copy modified bits from guest to server surface.
738 guest_row = vs->guest.ds->data;
740 for (y = 0; y < vs->guest.ds->height; y++) {
741 if (vnc_and_bits(vs->guest.dirty[y], width_mask, VNC_DIRTY_WORDS)) {
749 for (x = 0; x < vs->guest.ds->width;
751 if (!vnc_get_bit(vs->guest.dirty[y], (x / 16)))
753 vnc_clear_bit(vs->guest.dirty[y], (x / 16));
772 * surface and server dirty map. guest surface updates
926 qemu_free(vs->guest.ds);
1504 vnc_set_bits(vs->guest.dirty[y_position + i],
1635 vs->clientds = *(vs->guest.ds);