From: Dylan Baker <baker.dyla...@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 _______________________________________________ waffle mailing list waffle@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/waffle