Searched refs:current_cursor (Results 1 – 5 of 5) sorted by relevance
40 if (width != s->current_cursor->width || in virtio_gpu_gl_update_cursor_data()41 height != s->current_cursor->height) { in virtio_gpu_gl_update_cursor_data()46 pixels = s->current_cursor->width * s->current_cursor->height; in virtio_gpu_gl_update_cursor_data()47 memcpy(s->current_cursor->data, data, pixels * sizeof(uint32_t)); in virtio_gpu_gl_update_cursor_data()
134 if (!s->current_cursor) { in vhost_user_gpu_handle_cursor()135 s->current_cursor = cursor_alloc(64, 64); in vhost_user_gpu_handle_cursor()138 s->current_cursor->hot_x = up->hot_x; in vhost_user_gpu_handle_cursor()139 s->current_cursor->hot_y = up->hot_y; in vhost_user_gpu_handle_cursor()141 memcpy(s->current_cursor->data, up->data, in vhost_user_gpu_handle_cursor()144 dpy_cursor_define(s->con, s->current_cursor); in vhost_user_gpu_handle_cursor()
59 if (res->blob_size < (s->current_cursor->width * in virtio_gpu_update_cursor_data()60 s->current_cursor->height * 4)) { in virtio_gpu_update_cursor_data()65 if (pixman_image_get_width(res->image) != s->current_cursor->width || in virtio_gpu_update_cursor_data()66 pixman_image_get_height(res->image) != s->current_cursor->height) { in virtio_gpu_update_cursor_data()72 pixels = s->current_cursor->width * s->current_cursor->height; in virtio_gpu_update_cursor_data()73 memcpy(s->current_cursor->data, data, in virtio_gpu_update_cursor_data()95 if (!s->current_cursor) { in update_cursor()96 s->current_cursor = cursor_alloc(64, 64); in update_cursor()99 s->current_cursor->hot_x = cursor->hot_x; in update_cursor()100 s->current_cursor->hot_y = cursor->hot_y; in update_cursor()[all …]
46 if (res->width != s->current_cursor->width || in virtio_gpu_rutabaga_update_cursor()47 res->height != s->current_cursor->height) { in virtio_gpu_rutabaga_update_cursor()58 transfer_iovec.iov_base = s->current_cursor->data; in virtio_gpu_rutabaga_update_cursor()
83 QEMUCursor *current_cursor; member