[PATCH 7/8] glamor: add core profile support to EGL glamor.

Michel Dänzer michel at daenzer.net
Mon Jan 18 18:38:08 PST 2016


On 19.01.2016 11:20, Dave Airlie wrote:
> On 19 January 2016 at 12:09, Michel Dänzer <michel at daenzer.net> wrote:
>> On 19.01.2016 09:56, Dave Airlie wrote:
>>> From: Dave Airlie <airlied at redhat.com>
>>>
>>> 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


More information about the xorg-devel mailing list