[virglrenderer-devel] [PATCH v2 0/8] re-unify caps GL and GLES evaluation code path

Gert Wollny gert.wollny at collabora.com
Wed Jul 25 12:49:30 UTC 2018


Dear all, 

this is the second version of the caps evaluation code changes. T think there
is still some room for more clean-ups, but at least now one no longer has two 
different places to add cap flags. 

As refactoring goes the outcome is a bit different from what I had planned at 
the beginning, so some changes are probably not necessary as intermediate 
steps, but I thought I send out these patches now instead of reworking 
them from the ground up to make it look nicer. I still could do that of course. 

thanks for any comments, 
Gert 

Gert Wollny (8):
  vrend: remove superfluous initializations
  vrend, caps: Split GL/GLES version checking and move caps set check up
  vrend,caps: Move the sanity checks up in the call hierarchy
  vrend,caps: Move GL only caps into newly created function
  vrend,caps: move version-less common caps into common
  vrend,caps: Unify feature code path and remove duplicates
  vrend,caps: Add GLES entry for gl_prim_restart
  vrend, caps: unify GLSL version evaluation

 src/vrend_renderer.c | 344 ++++++++++++++++-----------------------------------
 1 file changed, 109 insertions(+), 235 deletions(-)

-- 
2.16.4



More information about the virglrenderer-devel mailing list