From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
"Gerd Hoffmann" <kraxel@redhat.com>
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 [thread overview]
Message-ID: <20170614084149.31314-1-kraxel@redhat.com> (raw)
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
next reply other threads:[~2017-06-14 8:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-14 8:41 Gerd Hoffmann [this message]
2017-06-14 8:41 ` [Qemu-devel] [PATCH 1/4] egl-helpers: add helpers to handle opengl framebuffers Gerd Hoffmann
2017-06-14 8:41 ` [Qemu-devel] [PATCH 2/4] egl-headless: use framebuffer helper functions Gerd Hoffmann
2017-06-14 8:41 ` [Qemu-devel] [PATCH 3/4] sdl2: " Gerd Hoffmann
2017-06-14 8:41 ` [Qemu-devel] [PATCH 4/4] gtk: " Gerd Hoffmann
2017-06-14 9:39 ` [Qemu-devel] [PATCH 0/4] ui/opengl: add and use helper functions to handle framebuffers no-reply
-- strict thread matches above, loose matches on Subject: below --
2017-06-06 11:04 Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170614084149.31314-1-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).