/qemu/hw/display/ |
H A D | qxl-render.c | 252 c = cursor_alloc(cursor->header.width, cursor->header.height); in qxl_cursor() 256 cursor->header.width, cursor->header.height); in qxl_cursor() 260 c->hot_x = cursor->header.hot_spot_x; in qxl_cursor() 262 switch (cursor->header.type) { in qxl_cursor() 266 if (size != cursor->data_size) { in qxl_cursor() 271 and_mask = cursor->chunk.data; in qxl_cursor() 303 QXLCursor *cursor; in qxl_render_cursor() local 324 if (!cursor) { in qxl_render_cursor() 330 if (!cursor) { in qxl_render_cursor() 338 if (qxl->ssd.cursor) { in qxl_render_cursor() [all …]
|
H A D | vmware_vga.c | 58 } cursor; member 698 if (cursor.width > 256 in vmsvga_fifo_run() 940 ret = s->cursor.id; in vmsvga_value_read() 944 ret = s->cursor.x; in vmsvga_value_read() 948 ret = s->cursor.y; in vmsvga_value_read() 952 ret = s->cursor.on; in vmsvga_value_read() 1071 s->cursor.id = value; in vmsvga_value_write() 1075 s->cursor.x = value; in vmsvga_value_write() 1079 s->cursor.y = value; in vmsvga_value_write() 1087 dpy_mouse_set(s->vga.con, s->cursor.x, s->cursor.y, s->cursor.on); in vmsvga_value_write() [all …]
|
H A D | qxl-logger.c | 206 QXLCursor *cursor; in qxl_log_cmd_cursor() local 217 cursor = qxl_phys2virt(qxl, cmd->u.set.shape, group_id, in qxl_log_cmd_cursor() 219 if (!cursor) { in qxl_log_cmd_cursor() 224 qxl_name(spice_cursor_type, cursor->header.type), in qxl_log_cmd_cursor() 225 cursor->header.width, cursor->header.height, in qxl_log_cmd_cursor() 226 cursor->header.hot_spot_x, cursor->header.hot_spot_y, in qxl_log_cmd_cursor() 227 cursor->header.unique, cursor->data_size); in qxl_log_cmd_cursor()
|
H A D | virtio-gpu.c | 89 cursor->pos.x, in update_cursor() 90 cursor->pos.y, 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() 102 if (cursor->resource_id > 0) { in update_cursor() 107 s->cursor = *cursor; in update_cursor() 109 s->cursor.pos.x = cursor->pos.x; in update_cursor() 110 s->cursor.pos.y = cursor->pos.y; in update_cursor() 112 dpy_mouse_set(s->con, cursor->pos.x, cursor->pos.y, in update_cursor() 113 cursor->resource_id ? 1 : 0); in update_cursor() [all …]
|
H A D | g364fb.c | 44 uint16_t cursor[512]; member 146 uint16_t curs = s->cursor[(y - ycursor) * 8 + xdiff / 8]; in g364fb_draw_graphic8() 283 memset(s->cursor, 0, sizeof(s->cursor)); in g364fb_reset() 303 val = s->cursor[idx]; in g364fb_ctrl_read() 375 s->cursor[idx] = val; in g364fb_ctrl_write() 461 VMSTATE_UINT16_ARRAY(cursor, G364State, 512),
|
H A D | ati_int.h | 97 QEMUCursor *cursor; member
|
H A D | ati.c | 160 if (!s->cursor) { in ati_cursor_define() 161 s->cursor = cursor_alloc(64, 64); in ati_cursor_define() 163 cursor_set_mono(s->cursor, s->regs.cur_color1, s->regs.cur_color0, in ati_cursor_define() 165 dpy_cursor_define(s->vga.con, s->cursor); in ati_cursor_define()
|
/qemu/hw/vfio/ |
H A D | display.c | 287 VFIODMABuf *primary, *cursor; in vfio_display_dmabuf_update() local 310 if (dpy->dmabuf.cursor != cursor) { in vfio_display_dmabuf_update() 311 dpy->dmabuf.cursor = cursor; in vfio_display_dmabuf_update() 316 if (cursor && (new_cursor || cursor->hot_updates)) { in vfio_display_dmabuf_update() 320 cursor->hot_x, cursor->hot_y); in vfio_display_dmabuf_update() 321 cursor->hot_updates = 0; in vfio_display_dmabuf_update() 322 } else if (!cursor && new_cursor) { in vfio_display_dmabuf_update() 326 if (cursor && cursor->pos_updates) { in vfio_display_dmabuf_update() 328 cursor->pos_x, in vfio_display_dmabuf_update() 329 cursor->pos_y); in vfio_display_dmabuf_update() [all …]
|
/qemu/scripts/ |
H A D | minikconf.py | 358 self.cursor = 0 584 self.cursor += 1 595 if self.src[self.cursor + length].isalnum() or self.src[self.cursor + length] == '_': 597 self.cursor += length 602 self.cursor = self.src.find('\n', self.cursor) 611 self.cursor += 1 614 self.cursor += 1 643 self.cursor += 1 644 start = self.cursor 645 self.cursor = self.src.find('\n', self.cursor) [all …]
|
/qemu/docs/interop/ |
H A D | vhost-user-gpu.rst | 21 events for the display updates. It will also update the cursor shape 68 :scanout-id: ``u32``, the scanout where the cursor is located 70 :x/y: ``u32``, the cursor position 76 | pos | hot_x | hot_y | cursor | 79 :pos: a ``VhostUserGpuCursorPos``, the cursor location 81 :hot_x/hot_y: ``u32``, the cursor hot location 83 :cursor: ``[u32; 64 * 64]``, 64x64 RGBA cursor data (PIXMAN_a8r8g8b8 format) 218 Set/show the cursor position. 225 Set/hide the cursor. 232 Update the cursor shape and location.
|
/qemu/scripts/qapi/ |
H A D | parser.py | 105 self.cursor = 0 295 self.tok = self.src[self.cursor] 296 self.pos = self.cursor 297 self.cursor += 1 301 if self.src[self.cursor] == '#': 304 self.cursor = self.src.find('\n', self.cursor) 315 ch = self.src[self.cursor] 316 self.cursor += 1 338 self.cursor += 3 342 self.cursor += 4 [all …]
|
/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 966 switch (cursor->hdr.type) { in vg_process_cursor_cmd() 974 .x = cursor->pos.x, in vg_process_cursor_cmd() 975 .y = cursor->pos.y, in vg_process_cursor_cmd() 989 .x = cursor->pos.x, in vg_process_cursor_cmd() 990 .y = cursor->pos.y, in vg_process_cursor_cmd() 992 .hot_x = cursor->hot_x, in vg_process_cursor_cmd() 993 .hot_y = cursor->hot_y, in vg_process_cursor_cmd() 1020 struct virtio_gpu_update_cursor cursor; in vg_handle_cursor() local 1030 0, &cursor, sizeof(cursor)); in vg_handle_cursor() 1031 if (len != sizeof(cursor)) { in vg_handle_cursor() [all …]
|
H A D | virgl.c | 26 uint32_t *cursor; in vg_virgl_update_cursor_data() local 28 cursor = virgl_renderer_get_cursor_data(resource_id, &width, &height); in vg_virgl_update_cursor_data() 29 g_return_if_fail(cursor != NULL); in vg_virgl_update_cursor_data() 33 memcpy(data, cursor, 64 * 64 * sizeof(uint32_t)); in vg_virgl_update_cursor_data() 34 free(cursor); in vg_virgl_update_cursor_data()
|
/qemu/ui/ |
H A D | spice-display.c | 262 QXLCursor *cursor; in qemu_spice_create_cursor_update() local 267 cursor = &update->cursor; in qemu_spice_create_cursor_update() 282 cursor->data_size = size; in qemu_spice_create_cursor_update() 283 cursor->chunk.data_size = size; in qemu_spice_create_cursor_update() 449 if (ssd->cursor) { in qemu_spice_display_switch() 461 if (ssd->cursor) { in qemu_spice_cursor_refresh_bh() 462 QEMUCursor *c = ssd->cursor; in qemu_spice_cursor_refresh_bh() 563 SimpleSpiceCursor *cursor; in interface_release_resource() local 578 g_free(cursor); in interface_release_resource() 770 cursor_unref(ssd->cursor); in display_mouse_define() [all …]
|
H A D | input-legacy.c | 285 QEMUPutLEDEntry *cursor; in kbd_put_ledstate() local 287 QTAILQ_FOREACH(cursor, &led_handlers, next) { in kbd_put_ledstate() 288 cursor->put_led(cursor->opaque, ledstate); in kbd_put_ledstate()
|
H A D | console.c | 51 QEMUCursor *cursor; member 700 if (con && con->cursor && dcl->ops->dpy_cursor_define) { in dcl_set_graphic_cursor() 701 dcl->ops->dpy_cursor_define(dcl, con->cursor); in dcl_set_graphic_cursor() 982 void dpy_cursor_define(QemuConsole *c, QEMUCursor *cursor) in dpy_cursor_define() argument 988 cursor_unref(con->cursor); in dpy_cursor_define() 989 con->cursor = cursor_ref(cursor); in dpy_cursor_define() 998 dcl->ops->dpy_cursor_define(dcl, cursor); in dpy_cursor_define() 1360 return QEMU_IS_GRAPHIC_CONSOLE(con) ? QEMU_GRAPHIC_CONSOLE(con)->cursor : NULL; in qemu_console_get_cursor()
|
H A D | gtk.c | 475 GdkCursor *cursor; in gd_cursor_define() local 485 cursor = gdk_cursor_new_from_pixbuf in gd_cursor_define() 488 gdk_window_set_cursor(gtk_widget_get_window(vc->gfx.drawing_area), cursor); in gd_cursor_define() 490 g_object_unref(cursor); in gd_cursor_define() 1574 GdkCursor *cursor = NULL; in gd_grab_update() local 1581 cursor = vc->s->null_cursor; in gd_grab_update() 1585 gdk_seat_grab(seat, window, caps, false, cursor, in gd_grab_update()
|
/qemu/ebpf/ |
H A D | ebpf_rss.c | 188 char *cursor = ctx->mmap_indirections_table; in ebpf_rss_set_indirections_table() local 196 *(uint16_t *)cursor = indirections_table[i]; in ebpf_rss_set_indirections_table() 197 cursor += 8; in ebpf_rss_set_indirections_table()
|
/qemu/net/ |
H A D | vhost-vdpa.c | 1332 uint32_t cursor; in vhost_vdpa_net_excessive_mac_filter_cvq_add() local 1337 cursor = sizeof(*hdr_ptr); in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1338 r = iov_to_buf(elem->out_sg, elem->out_num, cursor, in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1351 r = iov_to_buf(elem->out_sg, elem->out_num, cursor, in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1364 if (iov_size(elem->out_sg, elem->out_num) != cursor) { in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1415 cursor = 0; in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1426 hdr_ptr = out->iov_base + cursor; in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1429 cursor += sizeof(*hdr_ptr); in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1438 mac_ptr = out->iov_base + cursor; in vhost_vdpa_net_excessive_mac_filter_cvq_add() 1440 cursor += sizeof(*mac_ptr) + fake_uni_entries * ETH_ALEN; in vhost_vdpa_net_excessive_mac_filter_cvq_add() [all …]
|
/qemu/include/ui/ |
H A D | spice-display.h | 115 QEMUCursor *cursor; member 150 QXLCursor cursor; member
|
H A D | console.h | 239 QEMUCursor *cursor); 326 void dpy_cursor_define(QemuConsole *con, QEMUCursor *cursor);
|
/qemu/chardev/ |
H A D | baum.c | 390 int cursor = BRLAPI_CURSOR_OFF; in baum_eat_packet() local 401 cursor = i + 1; in baum_eat_packet() 422 .cursor = cursor, in baum_eat_packet()
|
/qemu/qapi/ |
H A D | ui.json | 270 # @client: Mouse cursor position is determined by the client. 272 # @server: Mouse cursor position is determined by the server. 310 # @mouse-mode: The mode in which the mouse cursor is displayed 1537 # @show-cursor: Force showing the mouse cursor (default: off). 1548 '*show-cursor' : 'bool',
|
/qemu/include/hw/vfio/ |
H A D | vfio-common.h | 172 VFIODMABuf *cursor; member
|
/qemu/util/ |
H A D | cutils.c | 1174 char *cursor = result->str + result->len; in get_relocated_path() local 1176 wcsrtombs(cursor, &wdir_skipped_root, size + 1, &(mbstate_t){0}); in get_relocated_path()
|