[virglrenderer-devel] [RFC PATCH 00/16] More virgl on GLES hosts work

Jakob Bornecrantz jakob.bornecrantz at collabora.com
Fri Dec 22 18:57:40 UTC 2017


Hello everybody,

here are some of the patches we have developed to run the virgl renderer on
OpenGL ES drivers. These are the ones that are the prettiest, there are more
available on our hacks branch[1].

The first four could probably go in right now, while there rest are more for
are we doing the right thing type of patch review.

Cheers, Jakob.

[1] https://gitlab.collabora.com/jakob/virglrenderer-gles/commits/hacks


Elie Tournier (2):
  tests: Check if geometry shaders are available before running tests
  tests: Check if multisample is available before running tests

Jakob Bornecrantz (14):
  vrend: Use more available glGetQueryObjectuiv
  vrend: Improved KHR_debug usage
  vrend: Detect OpenGL ES being used
  vrend: Use GL_KHR_robustness functions where available
  vrend: Use GL_EXT_buffer_object on GLES
  vrend: Support BGRX & BGRA formats
  vrend: Support Z32 format, with work around.
  vrend: Add code to dump formats
  vrend: Warn on invalid stipple and polygon mode
  vrend: Warn on depth range out of bounds
  vrend: Warn on unsupported point size
  vrend: Warn on lod bias usage
  vrend: Warn on SRGB Framebuffers
  vrend: Warn and partially work around missing GL_TEXTURE_RECTANGLE

 src/Makefile.am             |   1 +
 src/vrend_dump.c            | 196 ++++++++++++++++++++++++++++++++++++++++
 src/vrend_formats.c         |  27 ++++++
 src/vrend_renderer.c        | 215 ++++++++++++++++++++++++++++++++++++++------
 src/vrend_renderer.h        |   5 ++
 tests/test_virgl_cmd.c      |   7 ++
 tests/test_virgl_resource.c |   7 ++
 tests/testvirgl.c           |  46 ++++++++++
 tests/testvirgl.h           |   2 +
 9 files changed, 479 insertions(+), 27 deletions(-)
 create mode 100644 src/vrend_dump.c

-- 
2.11.0



More information about the virglrenderer-devel mailing list