qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 0/4] ui/opengl: add and use helper functions to handle framebuffers
Date: Wed, 14 Jun 2017 10:41:45 +0200

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

v2:
 * use GL_LINEAR
 * add helper for default framebuffer setup

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 | 15 ++++++++++
 include/ui/gtk.h         |  4 +--
 include/ui/sdl2.h        |  8 +++--
 ui/egl-headless.c        | 67 +++++++++++-------------------------------
 ui/egl-helpers.c         | 76 ++++++++++++++++++++++++++++++++++++++++++++++++
 ui/gtk-egl.c             | 36 +++++------------------
 ui/gtk-gl-area.c         | 26 +++++------------
 ui/sdl2-gl.c             | 36 +++++------------------
 8 files changed, 137 insertions(+), 131 deletions(-)

-- 
2.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]