On 19 January 2016 at 12:38, Michel Dänzer <mic...@daenzer.net> wrote: > On 19.01.2016 11:20, Dave Airlie wrote: >> On 19 January 2016 at 12:09, Michel Dänzer <mic...@daenzer.net> wrote: >>> On 19.01.2016 09:56, Dave Airlie wrote: >>>> From: Dave Airlie <airl...@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? >
That is only available in OpenGL 3.2. Dave. _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel