Skip to content

opengl: add headless ui, misc fixes

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6virtio-gpu: move virtio_gpu_gl_blockhw/display/virtio-gpu-3d.c hw/display/virtio-gpu.c include/hw/virtio/virtio-gpu.h+19 -162 replies
2/6egl-helpers: drop support for gles and debug logginginclude/ui/egl-helpers.h ui/egl-helpers.c ui/gtk-egl.c+7 -492 replies
3/6egl-helpers: fix display init for x11include/ui/egl-helpers.h ui/egl-helpers.c ui/gtk-egl.c+29 -100 replies
4/6egl-helpers: add missing error checkui/egl-helpers.c+6 -11 reply
5/6egl: explicitly ask for core contextui/egl-context.c ui/egl-helpers.c+5 -30 replies
6/6opengl: add egl-headless displayinclude/ui/console.h ui/Makefile.objs ui/egl-headless.c +1 more+178 -01 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéMarc-André Lureau
1/6R-b R-b
2/6R-b R-b
3/6
4/6R-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] opengl: add headless ui, misc fixes

Hi,

This patch adds a headless opengl ui (see patch 6 for details) and fixes a bunch of issues along the way which I've trapped into while coding things up (patches 1-5).

cheers,
Gerd

Gerd Hoffmann (6):
virtio-gpu: move virtio_gpu_gl_block
egl-helpers: drop support for gles and debug logging
egl-helpers: fix display init for x11
egl-helpers: add missing error check
egl: explicitly ask for core context
opengl: add egl-headless display

 include/hw/virtio/virtio-gpu.h |   1 +
 include/ui/console.h           |   3 +
 include/ui/egl-helpers.h       |   3 +-
 hw/display/virtio-gpu-3d.c     |  16 +++++
 hw/display/virtio-gpu.c        |  18 +----
 ui/egl-context.c               |   7 +-
 ui/egl-headless.c              | 158 +++++++++++++++++++++++++++++++++++++++++
 ui/egl-helpers.c               |  88 +++++++++--------------
 ui/gtk-egl.c                   |   2 +-
 vl.c                           |  16 +++++
 ui/Makefile.objs               |   1 +
 11 files changed, 239 insertions(+), 74 deletions(-)
 create mode 100644 ui/egl-headless.c
Signature · 1 line
2.9.3