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

2015-12-27 Thread Frank Henigman
On Wed, Dec 16, 2015 at 8:37 PM,   wrote:
> From: Dylan Baker 
>
> 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.

That may have been me.  I actually implemented stuff but never sent it
to the list.
Sorry, I might have saved you some you some work if I'd made the
effort to land my version.
I'll comment on your version then send my own and after some
discussion on the list one or the other or some combination ought to
land.
___
waffle mailing list
waffle@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/waffle


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

2015-12-16 Thread baker . dylan . c
From: Dylan Baker 

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