Skip to content

ui/opengl: add and use helper functions to handle framebuffers

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4egl-helpers: add helpers to handle opengl framebuffersinclude/ui/egl-helpers.h ui/egl-helpers.c+83 -01 reply
2/4egl-headless: use framebuffer helper functions.ui/egl-headless.c+17 -502 replies
3/4sdl2: use framebuffer helper functions.include/ui/sdl2.h ui/sdl2-gl.c+14 -322 replies
4/4gtk: use framebuffer helper functions.include/ui/gtk.h ui/gtk-egl.c ui/gtk-gl-area.c+17 -510 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchMarc-André Lureau
1/4R-b
2/4
3/4
4/4

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/4] ui/opengl: add and use helper functions to handle framebuffers

Hi,

All UIs with opengl support have simliar code to handle opengl framebuffers. Create some helpers and put them into use to reduce code duplication.

Gerd Hoffmann (4):
egl-helpers: add helpers to handle opengl framebuffers
egl-headless: use framebuffer helper functions.
sdl2: use framebuffer helper functions.
gtk: use framebuffer helper functions.

 include/ui/egl-helpers.h | 14 ++++++++++
 include/ui/gtk.h         |  4 +--
 include/ui/sdl2.h        |  8 ++++--
 ui/egl-headless.c        | 67 ++++++++++++----------------------------------
 ui/egl-helpers.c         | 69 ++++++++++++++++++++++++++++++++++++++++++++++++
 ui/gtk-egl.c             | 38 ++++++--------------------
 ui/gtk-gl-area.c         | 26 +++++-------------
 ui/sdl2-gl.c             | 38 ++++++--------------------
 8 files changed, 131 insertions(+), 133 deletions(-)
Signature · 1 line
2.9.3