qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] GL & D-Bus display related fixes
@ 2022-02-17 11:58 marcandre.lureau
  2022-02-17 11:58 ` [PATCH v2 01/12] ui/console: fix crash when using gl context with non-gl listeners marcandre.lureau
                   ` (12 more replies)
  0 siblings, 13 replies; 23+ messages in thread
From: marcandre.lureau @ 2022-02-17 11:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau, kraxel, akihiko.odaki

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

In the thread "[PATCH 0/6] ui/dbus: Share one listener for a console", Akihiko
Odaki reported a number of issues with the GL and D-Bus display. His series
propose a different design, and reverting some of my previous generic console
changes to fix those issues.

However, as I work through the issue so far, they can be solved by reasonable
simple fixes while keeping the console changes generic (not specific to the
D-Bus display backend). I belive a shared infrastructure is more beneficial long
term than having GL-specific code in the DBus code (in particular, the
egl-headless & VNC combination could potentially use it)

Thanks a lot Akihiko for reporting the issues proposing a different approach!
Please test this alternative series and let me know of any further issues. My
understanding is that you are mainly concerned with the Cocoa backend, and I
don't have a way to test it, so please check it. If necessary, we may well have
to revert my earlier changes and go your way, eventually.

Marc-André Lureau (12):
  ui/console: fix crash when using gl context with non-gl listeners
  ui/console: fix texture leak when calling surface_gl_create_texture()
  ui: do not create a surface when resizing a GL scanout
  ui/console: move check for compatible GL context
  ui/console: move dcl compatiblity check to a callback
  ui/console: egl-headless is compatible with non-gl listeners
  ui/dbus: associate the DBusDisplayConsole listener with the given
    console
  ui/console: move console compatibility check to dcl_display_console()
  ui/shader: fix potential leak of shader on error
  ui/shader: free associated programs
  ui/console: add a dpy_gfx_switch callback helper
  ui/dbus: fix texture sharing

 include/ui/console.h |  19 ++++---
 ui/dbus.h            |   3 ++
 ui/console-gl.c      |   4 ++
 ui/console.c         | 119 ++++++++++++++++++++++++++-----------------
 ui/dbus-console.c    |  27 +++++-----
 ui/dbus-listener.c   |  11 ----
 ui/dbus.c            |  33 +++++++++++-
 ui/egl-headless.c    |  17 ++++++-
 ui/gtk.c             |  18 ++++++-
 ui/sdl2.c            |   9 +++-
 ui/shader.c          |   9 +++-
 ui/spice-display.c   |   9 +++-
 12 files changed, 192 insertions(+), 86 deletions(-)

-- 
2.34.1.428.gdcc0cd074f0c




^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-03-07 12:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 11:58 [PATCH v2 00/12] GL & D-Bus display related fixes marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 01/12] ui/console: fix crash when using gl context with non-gl listeners marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 02/12] ui/console: fix texture leak when calling surface_gl_create_texture() marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 03/12] ui: do not create a surface when resizing a GL scanout marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 04/12] ui/console: move check for compatible GL context marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 05/12] ui/console: move dcl compatiblity check to a callback marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 06/12] ui/console: egl-headless is compatible with non-gl listeners marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 07/12] ui/dbus: associate the DBusDisplayConsole listener with the given console marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 08/12] ui/console: move console compatibility check to dcl_display_console() marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 09/12] ui/shader: fix potential leak of shader on error marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 10/12] ui/shader: free associated programs marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 11/12] ui/console: add a dpy_gfx_switch callback helper marcandre.lureau
2022-02-17 11:58 ` [PATCH v2 12/12] ui/dbus: fix texture sharing marcandre.lureau
     [not found]   ` <CAMVc7JWYPZv9yWg0OQfoHQrwaZkb++crxePYQWKTD+af--NLGA@mail.gmail.com>
2022-02-17 12:42     ` Fwd: " Akihiko Odaki
2022-02-17 12:58 ` [PATCH v2 00/12] GL & D-Bus display related fixes Akihiko Odaki
2022-02-17 16:12   ` Marc-André Lureau
2022-02-17 16:11     ` Akihiko Odaki
2022-02-17 17:07       ` Marc-André Lureau
2022-02-17 17:25         ` Akihiko Odaki
2022-02-17 17:36           ` Marc-André Lureau
2022-02-17 17:43             ` Akihiko Odaki
2022-03-07 11:56             ` Marc-André Lureau
2022-03-06  4:31       ` Akihiko Odaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).