[waffle] [RFC 0/3] Add JSON output to wflinfo

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Wed Dec 16 17:37:00 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

This is a pretty rough RFC for adding JSON output to wflinfo. The
intended consumer of this feature is piglit, for use with the
fast-skipping mechanism. This mechanism currently parses the human
readable form of wflinfo, but this seems less than ideal, and I remember
someone else (I think from google), asking for json formatted output
from wflinfo.

I'm going to admit I'm still fumbling trying to learn C, so pointers on
things I'm not doing well/right are appreciated.

Dylan Baker (3):
  wflinfo.c: split out flags struct
  wflinfo.c: split version, renderer, and vendor checks
  wflinfo.c: Add a --json flag that prints json

 src/utils/wflinfo.c | 237 +++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 217 insertions(+), 20 deletions(-)

-- 
2.6.4



More information about the waffle mailing list