Lines Matching full:ds

193     int blocks = DIV_ROUND_UP(surface_width(ssd->ds), blksize);  in qemu_spice_create_update()
196 int bpp = surface_bytes_per_pixel(ssd->ds); in qemu_spice_create_update()
208 guest = surface_data(ssd->ds); in qemu_spice_create_update()
211 yoff1 = y * surface_stride(ssd->ds); in qemu_spice_create_update()
331 surface_size = (uint64_t) surface_width(ssd->ds) * in qemu_spice_create_host_primary()
332 surface_height(ssd->ds) * 4; in qemu_spice_create_host_primary()
342 surface.width = surface_width(ssd->ds); in qemu_spice_create_host_primary()
343 surface.height = surface_height(ssd->ds); in qemu_spice_create_host_primary()
405 ssd->ds = surface; in qemu_spice_display_switch()
407 ssd->surface = pixman_image_ref(ssd->ds->image); in qemu_spice_display_switch()
430 need_destroy = (ssd->ds != NULL); in qemu_spice_display_switch()
431 ssd->ds = surface; in qemu_spice_display_switch()
440 if (ssd->ds) { in qemu_spice_display_switch()
441 ssd->surface = pixman_image_ref(ssd->ds->image); in qemu_spice_display_switch()
442 ssd->mirror = qemu_pixman_mirror_create(surface_format(ssd->ds), in qemu_spice_display_switch()
443 ssd->ds->image); in qemu_spice_display_switch()
493 if (QTAILQ_EMPTY(&ssd->updates) && ssd->ds) { in qemu_spice_display_refresh()
851 if (!ssd->ds || qemu_console_is_gl_blocked(ssd->dcl.con)) { in spice_gl_refresh()
861 surface_width(ssd->ds), in spice_gl_refresh()
862 surface_height(ssd->ds), in spice_gl_refresh()
873 surface_gl_update_texture(ssd->gls, ssd->ds, x, y, w, h); in spice_gl_update()
902 if (ssd->ds) { in spice_gl_switch()
903 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch()
905 ssd->ds = new_surface; in spice_gl_switch()
906 if (ssd->ds) { in spice_gl_switch()
911 surface_gl_create_texture(ssd->gls, ssd->ds); in spice_gl_switch()
912 if (!egl_dmabuf_export_texture(ssd->ds->texture, in spice_gl_switch()
919 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch()
924 surface_width(ssd->ds), in spice_gl_switch()
925 surface_height(ssd->ds), in spice_gl_switch()
930 surface_width(ssd->ds), in spice_gl_switch()
931 surface_height(ssd->ds), in spice_gl_switch()
938 surface_width(ssd->ds), in spice_gl_switch()
939 surface_height(ssd->ds)); in spice_gl_switch()