[Mesa-dev] Patch against glxinfo: one line per extension

Alexandre Demers alexandre.f.demers at gmail.com
Thu Jan 20 17:15:13 PST 2011


On 11-01-20 03:52 PM, Brian Paul wrote:
> On 01/20/2011 12:35 PM, Alexandre Demers wrote:
>> Hi,
>>
>> I'd like to propose a patch against glxinfo. Instead of separating the
>> extensions by a comma, it creates a new line. It's visually easier to
>> read through the extensions. Also, when doing a diff between supported
>> extensions by classic driver and gallium driver, it's a lot simpler to
>> compare the results.
>>
>> I attached the patch.
>
> At this point there may be programs/scripts that expect the glxinfo 
> output to be in the current format (which was copied from SGI's 
> original glxinfo program).
>
> How about a new command line flag to print one extension per line?
>
> -Brian
Here is a new patch. It adds the "-s" flag, which stands for "Print a 
single extension per line". That way, glxinfo will output extensions 
separated by commas by default as usual, unless the flag is added.

-- 
Alexandre Demers

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_glxinfo.txt
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110120/d73c36bd/attachment.txt>


More information about the mesa-dev mailing list