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

Brian Paul brian.e.paul at gmail.com
Thu Jan 20 17:35:50 PST 2011


On Thu, Jan 20, 2011 at 6:15 PM, Alexandre Demers
<alexandre.f.demers at gmail.com> wrote:
> 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.

Looks good.  I'll commit it soon.  Thanks!

-Brian


More information about the mesa-dev mailing list