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 -- 2.9.3