[virglrenderer-devel] [PATCH 0/4] Fix red-alpha blit

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Fri Jun 10 17:24:59 UTC 2016


From: Marc-André Lureau <marcandre.lureau at redhat.com>

stellarium and other Qt apps using QGLTextureGlyph have text rendering
issues with virgl. I traced down the problem thanks to vtest &
apitrace, however, I needed to workaround apitrace & epoxy with a new
glx backend that is proposed in this series (disable by default,
mainly useful for debugging).

Since arbitrary swizzling on texture formats doesn't seem necessary, I
simplified the VREND_BIND_NEED_SWIZZLE code to red-alpha trick only,
that allows to write a simpler solution for the tricky blit case.

Marc-André Lureau (4):
  Add a GLX backend
  vtest: add VTEST_USE_GLX environment variable
  formats: simplify red-alpha swizzle formats
  blit: fix blitting to red-alpha texture

 configure.ac            |  22 ++++++++++
 src/Makefile.am         |  10 ++++-
 src/virgl_glx.h         |  38 +++++++++++++++++
 src/virgl_glx_context.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++
 src/virglrenderer.c     |  57 +++++++++++++++++++++----
 src/virglrenderer.h     |   1 +
 src/vrend_blitter.c     |   2 +
 src/vrend_formats.c     |  11 ++---
 src/vrend_renderer.c    |  31 +++++++-------
 src/vrend_renderer.h    |  10 ++---
 vtest/vtest_renderer.c  |   7 +++-
 11 files changed, 259 insertions(+), 39 deletions(-)
 create mode 100644 src/virgl_glx.h
 create mode 100644 src/virgl_glx_context.c

-- 
2.7.4



More information about the virglrenderer-devel mailing list