Home
last modified time | relevance | path

Searched refs:dcl (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/qemu/ui/
H A Dconsole.c228 dcl->ops->dpy_gfx_switch(dcl, new_surface); in displaychangelistener_gfx_switch()
232 dcl->ops->dpy_gfx_update(dcl, 0, 0, in displaychangelistener_gfx_switch()
288 dcl->ops->dpy_gl_scanout_texture(dcl, in displaychangelistener_display_console()
562 return dcl->ops->dpy_has_dmabuf(dcl); in displaychangelistener_has_dmabuf()
858 if (dcl->con && dcl->con != con) { in dpy_gfx_check_format()
882 dcl->ops->dpy_refresh(dcl); in dpy_refresh()
900 dcl->ops->dpy_text_cursor(dcl, x, y); in dpy_text_cursor()
936 dcl->ops->dpy_text_resize(dcl, w, h); in dpy_text_resize()
958 dcl->ops->dpy_mouse_set(dcl, x, y, on); in dpy_mouse_set()
979 dcl->ops->dpy_cursor_define(dcl, cursor); in dpy_cursor_define()
[all …]
H A Degl-headless.c11 DisplayChangeListener dcl; member
26 graphic_hw_update(dcl->con); in egl_refresh()
37 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_gfx_switch()
52 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_disable()
67 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_texture()
108 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_cursor_dmabuf()
136 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_cursor_position()
146 egl_dpy *edpy = container_of(dcl, egl_dpy, dcl); in egl_scanout_flush()
198 return dcl->ops == &egl_ops; in egl_is_compatible_dcl()
234 edpy->dcl.con = con; in egl_headless_init()
[all …]
H A Ddbus-listener.c108 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_disable()
231 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_call_update_gl()
281 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_dmabuf()
469 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_scanout_texture()
490 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_cursor_dmabuf()
547 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_cursor_position()
563 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_refresh()
601 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_gfx_update()
677 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gfx_update()
705 DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, dcl); in dbus_gl_gfx_switch()
[all …]
H A Dsdl2-gl.c63 void sdl2_gl_update(DisplayChangeListener *dcl, in sdl2_gl_update() argument
66 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_update()
79 void sdl2_gl_switch(DisplayChangeListener *dcl, in sdl2_gl_switch() argument
82 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_switch()
111 void sdl2_gl_refresh(DisplayChangeListener *dcl) in sdl2_gl_refresh() argument
113 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_refresh()
117 graphic_hw_update(dcl->con); in sdl2_gl_refresh()
194 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_scanout_disable()
211 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_gl_scanout_texture()
227 void sdl2_gl_scanout_flush(DisplayChangeListener *dcl, in sdl2_gl_scanout_flush() argument
[all …]
H A Dgtk-egl.c133 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_update()
149 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_refresh()
178 graphic_hw_update(dcl->con); in gd_egl_refresh()
190 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_switch()
229 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_disable()
243 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_texture()
270 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_dmabuf()
305 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_cursor_dmabuf()
328 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_cursor_position()
337 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_egl_scanout_flush()
[all …]
H A Dsdl2-2d.c31 void sdl2_2d_update(DisplayChangeListener *dcl, in sdl2_2d_update() argument
34 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_2d_update()
59 void sdl2_2d_switch(DisplayChangeListener *dcl, in sdl2_2d_switch() argument
62 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_2d_switch()
75 if (surface_is_placeholder(new_surface) && qemu_console_get_index(dcl->con)) { in sdl2_2d_switch()
127 void sdl2_2d_refresh(DisplayChangeListener *dcl) in sdl2_2d_refresh() argument
129 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl2_2d_refresh()
132 graphic_hw_update(dcl->con); in sdl2_2d_refresh()
143 sdl2_2d_update(&scon->dcl, 0, 0, in sdl2_2d_redraw()
148 bool sdl2_2d_check_format(DisplayChangeListener *dcl, in sdl2_2d_check_format() argument
H A Ddbus-console.c41 DisplayChangeListener dcl; member
73 dbus_gfx_switch(DisplayChangeListener *dcl, in dbus_gfx_switch() argument
76 DBusDisplayConsole *ddc = container_of(dcl, DBusDisplayConsole, dcl); in dbus_gfx_switch()
84 dbus_gfx_update(DisplayChangeListener *dcl, in dbus_gfx_update() argument
104 DBusDisplayConsole *ddc = container_of(dcl, DBusDisplayConsole, dcl); in dbus_gl_scanout_texture()
115 DBusDisplayConsole *ddc = container_of(dcl, DBusDisplayConsole, dcl); in dbus_gl_scanout_dmabuf()
147 ddc->dcl.ops = &dbus_console_dcl_ops; in dbus_display_console_init()
155 unregister_displaychangelistener(&ddc->dcl); in dbus_display_console_dispose()
205 if (!dpy_ui_info_supported(ddc->dcl.con)) { in dbus_console_set_ui_info()
563 ddc->dcl.con = con; in dbus_display_console_new()
[all …]
H A Dgtk-gl-area.c109 void gd_gl_area_update(DisplayChangeListener *dcl, in gd_gl_area_update() argument
112 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_update()
124 void gd_gl_area_refresh(DisplayChangeListener *dcl) in gd_gl_area_refresh() argument
126 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_refresh()
147 graphic_hw_update(dcl->con); in gd_gl_area_refresh()
156 void gd_gl_area_switch(DisplayChangeListener *dcl, in gd_gl_area_switch() argument
159 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_switch()
260 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_texture()
282 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_disable()
290 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_area_scanout_flush()
[all …]
H A Dsdl2.c215 if (!qemu_input_is_absolute(scon->dcl.con)) { in sdl_hide_cursor()
226 if (!qemu_input_is_absolute(scon->dcl.con)) { in sdl_show_cursor()
242 QemuConsole *con = scon ? scon->dcl.con : NULL; in sdl_grab_start()
323 if (qemu_input_is_absolute(scon->dcl.con)) { in sdl_send_mouse_event()
489 QemuConsole *con = scon ? scon->dcl.con : NULL; in handle_textinput()
579 qemu_input_queue_btn(scon->dcl.con, btn, true); in handle_mousewheel()
735 struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); in sdl_mouse_warp()
737 if (!qemu_console_is_graphic(scon->dcl.con)) { in sdl_mouse_warp()
827 return dcl->ops == &dcl_gl_ops; in sdl2_gl_is_compatible_dcl()
918 sdl2_console[i].dcl.ops = &dcl_2d_ops; in sdl2_display_init()
[all …]
H A Dspice-display.c733 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_update()
740 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_switch()
746 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_refresh()
753 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_mouse_set()
767 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in display_mouse_define()
846 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in spice_gl_refresh()
869 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in spice_gl_update()
878 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in spice_gl_switch()
925 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in qemu_spice_gl_scanout_disable()
943 SimpleSpiceDisplay *ssd = container_of(dcl, SimpleSpiceDisplay, dcl); in qemu_spice_gl_scanout_texture()
[all …]
H A Dcurses.c59 static DisplayChangeListener *dcl; variable
68 static void curses_update(DisplayChangeListener *dcl, in curses_update() argument
101 if (qemu_console_is_fixedsize(dcl->con)) { in curses_calc_pad()
277 graphic_hw_invalidate(dcl->con); in curses_refresh()
281 graphic_hw_text_update(dcl->con, screen); in curses_refresh()
326 dcl->con = con; in curses_refresh()
362 if (qemu_console_is_graphic(dcl->con)) { in curses_refresh()
805 dcl = g_new0(DisplayChangeListener, 1); in curses_display_init()
806 dcl->con = qemu_console_lookup_default(); in curses_display_init()
807 dcl->ops = &dcl_ops; in curses_display_init()
[all …]
H A Dgtk.c391 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_update()
440 graphic_hw_update(dcl->con); in gd_refresh()
451 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_mouse_set()
473 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_cursor_define()
496 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_switch()
571 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_has_dmabuf()
586 VirtualConsole *vc = container_of(dcl, VirtualConsole, gfx.dcl); in gd_gl_release_dmabuf()
633 return dcl->ops == &dcl_gl_area_ops; in gd_gl_area_is_compatible_dcl()
667 return dcl->ops == &dcl_egl_ops; in gd_egl_is_compatible_dcl()
2189 vc->gfx.dcl.ops = &dcl_ops; in gd_vc_gfx_init()
[all …]
H A Dvnc.c559 if (vd->dcl.con) { in qmp_query_vnc_servers()
668 VncDisplay *vd = container_of(dcl, VncDisplay, dcl); in vnc_dpy_update()
826 VncDisplay *vd = container_of(dcl, VncDisplay, dcl); in vnc_dpy_switch()
1029 VncDisplay *vd = container_of(dcl, VncDisplay, dcl); in vnc_dpy_cursor_define()
3205 VncDisplay *vd = container_of(dcl, VncDisplay, dcl); in vnc_refresh()
3214 graphic_hw_update(vd->dcl.con); in vnc_refresh()
3230 vd->dcl.update_interval /= 2; in vnc_refresh()
3340 graphic_hw_update(vd->dcl.con); in vnc_connect()
3422 vd->dcl.ops = &dcl_ops; in vnc_display_init()
4211 if (con != vd->dcl.con) { in vnc_display_open()
[all …]
H A Dcocoa.m76 static void cocoa_update(DisplayChangeListener *dcl,
94 static DisplayChangeListener dcl = {
423 unregister_displaychangelistener(&dcl);
425 dcl.con = con;
426 register_displaychangelistener(&dcl);
648 if (!qemu_console_is_graphic(dcl.con)) {
685 dpy_set_ui_info(dcl.con, &info, TRUE);
2086 graphic_hw_update(dcl->con);
2174 dcl.con = qemu_console_lookup_default();
2175 kbd = qkbd_state_init(dcl.con);
[all …]
H A Dsdl2-input.c36 QemuConsole *con = scon->dcl.con; in sdl2_process_key()
H A Ddbus.c57 DisplayChangeListener *dcl) in dbus_is_compatible_dcl() argument
60 dcl->ops == &dbus_gl_dcl_ops || in dbus_is_compatible_dcl()
61 dcl->ops == &dbus_console_dcl_ops; in dbus_is_compatible_dcl()
H A Dconsole-gl.c33 bool console_gl_check_format(DisplayChangeListener *dcl, in console_gl_check_format() argument
H A Dqemu-pixman.c171 bool qemu_pixman_check_format(DisplayChangeListener *dcl, in qemu_pixman_check_format() argument
/openbmc/qemu/include/ui/
H A Dgtk.h39 DisplayChangeListener dcl; member
164 void gd_egl_update(DisplayChangeListener *dcl,
166 void gd_egl_refresh(DisplayChangeListener *dcl);
167 void gd_egl_switch(DisplayChangeListener *dcl,
180 void gd_egl_scanout_dmabuf(DisplayChangeListener *dcl,
182 void gd_egl_cursor_dmabuf(DisplayChangeListener *dcl,
187 void gd_egl_flush(DisplayChangeListener *dcl,
189 void gd_egl_scanout_flush(DisplayChangeListener *dcl,
198 void gd_gl_area_update(DisplayChangeListener *dcl,
200 void gd_gl_area_refresh(DisplayChangeListener *dcl);
[all …]
H A Dsdl2.h31 DisplayChangeListener dcl; member
64 void sdl2_2d_update(DisplayChangeListener *dcl,
66 void sdl2_2d_switch(DisplayChangeListener *dcl,
68 void sdl2_2d_refresh(DisplayChangeListener *dcl);
70 bool sdl2_2d_check_format(DisplayChangeListener *dcl,
73 void sdl2_gl_update(DisplayChangeListener *dcl,
75 void sdl2_gl_switch(DisplayChangeListener *dcl,
77 void sdl2_gl_refresh(DisplayChangeListener *dcl);
86 void sdl2_gl_scanout_disable(DisplayChangeListener *dcl);
87 void sdl2_gl_scanout_texture(DisplayChangeListener *dcl,
[all …]
H A Dconsole.h212 void (*dpy_refresh)(DisplayChangeListener *dcl);
215 void (*dpy_gfx_update)(DisplayChangeListener *dcl,
218 void (*dpy_gfx_switch)(DisplayChangeListener *dcl,
225 void (*dpy_text_cursor)(DisplayChangeListener *dcl,
228 void (*dpy_text_resize)(DisplayChangeListener *dcl,
231 void (*dpy_text_update)(DisplayChangeListener *dcl,
235 void (*dpy_mouse_set)(DisplayChangeListener *dcl,
238 void (*dpy_cursor_define)(DisplayChangeListener *dcl,
253 bool (*dpy_has_dmabuf)(DisplayChangeListener *dcl);
268 void (*dpy_gl_update)(DisplayChangeListener *dcl,
[all …]
H A Dqemu-pixman.h77 bool qemu_pixman_check_format(DisplayChangeListener *dcl,
H A Dspice-display.h88 DisplayChangeListener dcl; member
/openbmc/qemu/hw/display/
H A Dqxl.c1175 graphic_console_set_hwops(d->ssd.dcl.con, &qxl_ops, d); in qxl_exit_vga_mode()
2001 static void display_update(DisplayChangeListener *dcl, argument
2004 PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl);
2011 static void display_switch(DisplayChangeListener *dcl, argument
2014 PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl);
2022 static void display_refresh(DisplayChangeListener *dcl) argument
2024 PCIQXLDevice *qxl = container_of(dcl, PCIQXLDevice, ssd.dcl);
2253 qxl->ssd.dcl.ops = &display_listener_ops;
2254 qxl->ssd.dcl.con = vga->con;
2255 register_displaychangelistener(&qxl->ssd.dcl);
[all …]
H A Dqxl-render.c166 graphic_hw_update_done(qxl->ssd.dcl.con); in qxl_render_update_area_unlocked()
186 graphic_hw_update_done(qxl->ssd.dcl.con); in qxl_render_update()

12