[virglrenderer-devel] [PATCH 0/1] vtest: command dispatch now uses a jump-table

Nathan Gauër nathan.gauer at lse.epita.fr
Mon Jun 4 12:42:27 UTC 2018


Hi !

Currently working on a new branch, I'll probably had to add a lot of new
commands.
I thought this refactorization could be benefic to Virgl.
What do you think ?

(There is the one special case which annoys me. Maybe I should declare a
static/inline wrapping function ?)

Kind regards,

Nathan


Nathan Gauër (1):
  vtest: command dispatch now uses a jump-table

 vtest/vtest.h          |  11 ++---
 vtest/vtest_renderer.c |  17 +++++--
 vtest/vtest_server.c   | 108 ++++++++++++++++++++++-------------------
 3 files changed, 75 insertions(+), 61 deletions(-)

-- 
2.17.0



More information about the virglrenderer-devel mailing list