Lines Matching full:guest
275 struct VncSurface *s = &vs->guest;
356 /* guest surface */
357 if (!vs->guest.ds)
358 vs->guest.ds = g_malloc0(sizeof(*vs->guest.ds));
359 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel)
362 size_changed = ds_get_width(ds) != vs->guest.ds->width ||
363 ds_get_height(ds) != vs->guest.ds->height;
364 *(vs->guest.ds) = *(ds->surface);
375 memset(vs->guest.dirty, 0xFF, sizeof(vs->guest.dirty));
385 memset(vs->server.dirty, 0xFF, sizeof(vs->guest.dirty));
734 * Walk through the guest dirty map.
735 * Check and copy modified bits from guest to server surface.
740 guest_row = vs->guest.ds->data;
742 for (y = 0; y < vs->guest.ds->height; y++) {
743 if (vnc_and_bits(vs->guest.dirty[y], width_mask, VNC_DIRTY_WORDS)) {
751 for (x = 0; x < vs->guest.ds->width;
753 if (!vnc_get_bit(vs->guest.dirty[y], (x / 16)))
755 vnc_clear_bit(vs->guest.dirty[y], (x / 16));
774 * surface and server dirty map. guest surface updates
928 g_free(vs->guest.ds);
1505 vnc_set_bits(vs->guest.dirty[y_position + i],
1636 vs->clientds = *(vs->guest.ds);