[Qemu-devel] [PATCH 0/4] ui/opengl: add and use helper functions to handle framebuffers

Gerd Hoffmann posted 4 patches 8 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170606110459.9771-1-kraxel@redhat.com
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
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(-)
[Qemu-devel] [PATCH 0/4] ui/opengl: add and use helper functions to handle framebuffers
Posted by Gerd Hoffmann 8 years, 8 months ago
  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(-)

-- 
2.9.3