Lines Matching refs:dcl
198 !qemu_console_is_graphic(vc->gfx.dcl.con)) { in gd_update_cursor()
207 if (s->full_screen || qemu_input_is_absolute(vc->gfx.dcl.con) || s->ptr_owner == vc) { in gd_update_cursor()
361 !qemu_console_is_graphic(vc->gfx.dcl.con)) { in gtk_release_modifiers()
388 static void gd_update(DisplayChangeListener *dcl, in gd_update() argument
391 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_update()
438 static void gd_refresh(DisplayChangeListener *dcl) in gd_refresh() argument
440 graphic_hw_update(dcl->con); in gd_refresh()
448 static void gd_mouse_set(DisplayChangeListener *dcl, in gd_mouse_set() argument
451 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_mouse_set()
456 qemu_input_is_absolute(dcl->con)) { in gd_mouse_set()
470 static void gd_cursor_define(DisplayChangeListener *dcl, in gd_cursor_define() argument
473 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_cursor_define()
493 static void gd_switch(DisplayChangeListener *dcl, in gd_switch() argument
496 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_switch()
569 static bool gd_has_dmabuf(DisplayChangeListener *dcl) in gd_has_dmabuf() argument
571 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_has_dmabuf()
582 static void gd_gl_release_dmabuf(DisplayChangeListener *dcl, in gd_gl_release_dmabuf() argument
586 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_release_dmabuf()
606 graphic_hw_gl_block(vc->gfx.dcl.con, false); in gd_hw_gl_flushed()
631 DisplayChangeListener *dcl) in gd_gl_area_is_compatible_dcl() argument
633 return dcl->ops == &dcl_gl_area_ops; in gd_gl_area_is_compatible_dcl()
665 DisplayChangeListener *dcl) in gd_egl_is_compatible_dcl() argument
667 return dcl->ops == &dcl_egl_ops; in gd_egl_is_compatible_dcl()
696 if (s->ptr_owner && qemu_input_is_absolute(s->ptr_owner->gfx.dcl.con)) { in gd_mouse_mode_change()
733 if (!dpy_ui_info_supported(vc->gfx.dcl.con)) { in gd_set_ui_refresh_rate()
737 info = *dpy_get_ui_info(vc->gfx.dcl.con); in gd_set_ui_refresh_rate()
739 dpy_set_ui_info(vc->gfx.dcl.con, &info, true); in gd_set_ui_refresh_rate()
746 if (!dpy_ui_info_supported(vc->gfx.dcl.con)) { in gd_set_ui_size()
750 info = *dpy_get_ui_info(vc->gfx.dcl.con); in gd_set_ui_size()
753 dpy_set_ui_info(vc->gfx.dcl.con, &info, true); in gd_set_ui_size()
796 vc->gfx.dcl.update_interval = refresh_rate ? in gd_update_monitor_refresh_rate()
928 if (qemu_input_is_absolute(vc->gfx.dcl.con)) { in gd_motion_event()
934 qemu_input_queue_abs(vc->gfx.dcl.con, INPUT_AXIS_X, x, in gd_motion_event()
936 qemu_input_queue_abs(vc->gfx.dcl.con, INPUT_AXIS_Y, y, in gd_motion_event()
940 qemu_input_queue_rel(vc->gfx.dcl.con, INPUT_AXIS_X, x - s->last_x); in gd_motion_event()
941 qemu_input_queue_rel(vc->gfx.dcl.con, INPUT_AXIS_Y, y - s->last_y); in gd_motion_event()
948 if (!qemu_input_is_absolute(vc->gfx.dcl.con) && s->ptr_owner == vc) { in gd_motion_event()
990 !qemu_input_is_absolute(vc->gfx.dcl.con) && s->ptr_owner != vc) { in gd_button_event()
1018 qemu_input_queue_btn(vc->gfx.dcl.con, btn, in gd_button_event()
1072 qemu_input_queue_btn(vc->gfx.dcl.con, btn_vertical, true); in gd_scroll_event()
1074 qemu_input_queue_btn(vc->gfx.dcl.con, btn_vertical, false); in gd_scroll_event()
1079 qemu_input_queue_btn(vc->gfx.dcl.con, btn_horizontal, true); in gd_scroll_event()
1081 qemu_input_queue_btn(vc->gfx.dcl.con, btn_horizontal, false); in gd_scroll_event()
1112 console_handle_touch_event(vc->gfx.dcl.con, touch_slots, in gd_touch_event()
1212 QemuTextConsole *con = QEMU_TEXT_CONSOLE(vc->gfx.dcl.con); in gd_text_key_down()
1405 qemu_console_is_graphic(vc->gfx.dcl.con)) { in gd_menu_untabify()
1428 if (qemu_console_is_graphic(vc->gfx.dcl.con)) { in gd_menu_untabify()
1697 qemu_console_is_graphic(vc->gfx.dcl.con)); in gd_change_page()
2026 if (qemu_console_is_graphic(vc->gfx.dcl.con)) { in gd_connect_vc_gfx_signals()
2163 vc->gfx.dcl.ops = &dcl_gl_area_ops; in gd_vc_gfx_init()
2178 vc->gfx.dcl.ops = &dcl_egl_ops; in gd_vc_gfx_init()
2189 vc->gfx.dcl.ops = &dcl_ops; in gd_vc_gfx_init()
2213 vc->gfx.dcl.con = con; in gd_vc_gfx_init()
2218 register_displaychangelistener(&vc->gfx.dcl); in gd_vc_gfx_init()
2223 if (dpy_ui_info_supported(vc->gfx.dcl.con)) { in gd_vc_gfx_init()