[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: |
Tue, 6 Jun 2017 13:04:55 +0200 |
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
- [Qemu-devel] [PATCH 0/4] ui/opengl: add and use helper functions to handle framebuffers,
Gerd Hoffmann <=