[waffle] [PATCH] utils/wflinfo: allow requesting a core profile without a version

Jordan Justen jljusten at gmail.com
Fri Mar 7 17:52:03 PST 2014


On Fri, Mar 7, 2014 at 5:24 PM, Chad Versace
<chad.versace at linux.intel.com> wrote:
> On Sat, Mar 01, 2014 at 09:05:07PM -0800, Jordan Justen wrote:
>> $ wflinfo -p glx -a gl --profile=compat -V 3.2
>> Waffle error: 0x0 WAFFLE_NO_ERROR
>>
>> Maybe a wflinfo bug?

This returns a sensible error now.

>> $ wflinfo -p gbm -a gl --profile=compat -V 3.2
>> Waffle platform: gbm
>> Waffle api: gl
>> OpenGL vendor string: Intel Open Source Technology Center
>> OpenGL renderer string: Mesa DRI Intel(R) Haswell
>> OpenGL version string: 3.3 (Core Profile) Mesa 10.2.0-devel (git-c97763c)
>> OpenGL context flags: 0x0
>>
>> This should fail to create a context, right? And, obviously, it
>> shouldn't create a core profile, right?!
>
> I committed two wflinfo bug fixes with your series. Did either of the
> bugfix patches fix this bug?

This still creates a core profile for me even though a compat profile
was requested.

-Jordan


More information about the waffle mailing list