qemu/include/ui
Akihiko Odaki 4bba839808 ui/console: Remove dpy_cursor_define_supported()
Remove dpy_cursor_define_supported() as it brings no benefit today and
it has a few inherent problems.

All graphical displays except egl-headless support cursor composition
without DMA-BUF, and egl-headless is meant to be used in conjunction
with another graphical display, so dpy_cursor_define_supported()
always returns true and meaningless.

Even if we add a new display without cursor composition in the future,
dpy_cursor_define_supported() will be problematic as a cursor display
fix for it because some display devices like virtio-gpu cannot tell the
lack of cursor composition capability to the guest and are unable to
utilize the value the function returns. Therefore, all non-headless
graphical displays must actually implement cursor composition for
correct cursor display.

Another problem with dpy_cursor_define_supported() is that it returns
true even if only some of the display listeners support cursor
composition, which is wrong unless all display listeners that lack
cursor composition is headless.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Phil Dennis-Jordan <phil@philjordan.eu>
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20240715-cursor-v3-4-afa5b9492dbf@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-07-16 20:04:08 +02:00
..
clipboard.h spelling: information 2023-06-09 23:38:16 +03:00
console.h ui/console: Remove dpy_cursor_define_supported() 2024-07-16 20:04:08 +02:00
dbus-display.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
dbus-module.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
dmabuf.h ui/console: move QemuDmaBuf struct def to dmabuf.c 2024-05-14 17:14:12 +04:00
egl-context.h ui: split the GL context in a different object 2021-12-21 10:50:21 +04:00
egl-helpers.h ui/egl: query ANGLE d3d device 2023-06-27 17:08:56 +02:00
gtk.h ui: add optional d3d texture pointer to scanout texture 2023-06-27 17:08:56 +02:00
input.h ui/input: Constify QemuInputHandler structure 2023-10-19 23:13:28 +02:00
kbd-state.h ui/vnc: Do not use console_select() 2024-03-20 10:27:54 +04:00
pixel_ops.h
pixman-minimal.h ui/pixman-minimal.h: fix empty allocation 2023-11-21 14:38:14 +04:00
qemu-pixman.h ui: add pixman-minimal.h 2023-11-07 14:04:25 +04:00
qemu-spice-module.h spice: wire up monitor in QemuSpiceOps. 2020-10-21 15:46:14 +02:00
qemu-spice.h ui/spice: QXLInterface method set_mm_time() is now dead, drop 2023-01-19 13:30:01 +01:00
rect.h include: Clean up includes 2024-01-30 21:20:20 +03:00
sdl2.h ui: add optional d3d texture pointer to scanout texture 2023-06-27 17:08:56 +02:00
shader.h opengl: add flipping vertex shader 2017-10-17 10:25:42 +02:00
spice-display.h ui: spelling fixes 2023-08-31 19:47:43 +02:00
surface.h ui+display: rename is_buffer_shared() -> surface_is_allocated() 2024-06-19 12:42:03 +02:00
win32-kbd-hook.h ui/win32-kbd-hook: handle AltGr in a hook procedure 2020-05-19 09:06:44 +02:00