On 19.01.2016 11:20, Dave Airlie wrote:
> On 19 January 2016 at 12:09, Michel Dänzer <[email protected]> wrote:
>> On 19.01.2016 09:56, Dave Airlie wrote:
>>> From: Dave Airlie <[email protected]>
>>>
>>> This breaks ABI unfortunately as we have to pass the core profile
>>> info from the egl part of glamor to the glamor part of glamor.
>>
>> That's indeed a bit ugly. Can't the glamor code determine itself whether
>> or not it's a core profile context?
>
> I couldn't find a query in GL for that, and if I have to resort to GLX/EGL
> (which I can't find a obvious query in either) than I still need to
> change the ABI.
>
> suggestions welcome.
glGetIntegerv(GL_CONTEXT_PROFILE_MASK, &mask);
and check mask for GL_CONTEXT_CORE_PROFILE_BIT?
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel