Lines Matching refs:guest
273 struct VncSurface *s = &vs->guest; in vnc_update()
355 if (!vs->guest.ds) in vnc_resize()
356 vs->guest.ds = qemu_mallocz(sizeof(*vs->guest.ds)); in vnc_resize()
357 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel) in vnc_resize()
360 size_changed = ds_get_width(ds) != vs->guest.ds->width || in vnc_resize()
361 ds_get_height(ds) != vs->guest.ds->height; in vnc_resize()
362 *(vs->guest.ds) = *(ds->surface); in vnc_resize()
373 memset(vs->guest.dirty, 0xFF, sizeof(vs->guest.dirty)); in vnc_resize()
383 memset(vs->server.dirty, 0xFF, sizeof(vs->guest.dirty)); in vnc_resize()
738 guest_row = vs->guest.ds->data; in vnc_update_client()
740 for (y = 0; y < vs->guest.ds->height; y++) { in vnc_update_client()
741 if (vnc_and_bits(vs->guest.dirty[y], width_mask, VNC_DIRTY_WORDS)) { in vnc_update_client()
749 for (x = 0; x < vs->guest.ds->width; in vnc_update_client()
751 if (!vnc_get_bit(vs->guest.dirty[y], (x / 16))) in vnc_update_client()
753 vnc_clear_bit(vs->guest.dirty[y], (x / 16)); in vnc_update_client()
926 qemu_free(vs->guest.ds); in vnc_disconnect_finish()
1504 vnc_set_bits(vs->guest.dirty[y_position + i], in framebuffer_update_request()
1635 vs->clientds = *(vs->guest.ds); in set_pixel_format()