[Mesa-dev] [PATCH] dri3: Check for dummyContext to see if the glx_context is valid

Stefan Dirsch sndirsch at suse.de
Wed Apr 27 14:15:00 UTC 2016

On Wed, Apr 27, 2016 at 01:12:57PM +0100, Emil Velikov wrote:
> On 25 April 2016 at 14:06, Stefan Dirsch <sndirsch at suse.de> wrote:
> > According to the comments in src/glx/glxcurrent.c __glXGetCurrentContext()
> > always returns a valid pointer. If no context is made current, it will
> > contain dummyContext. Thus a test for NULL will always fail.
> >
> > https://lists.freedesktop.org/archives/mesa-dev/2016-April/113962.html
> >
> > Signed-off-by: Stefan Dirsch <sndirsch at suse.de>
> > Reviewed-by: Egbert Eich <eich at freedesktop.org>
> Thanks for the patches Stefan.
> Both this and the dri2 one are in master... 


> just to realise that I
> should have tagged them for stable (/me does that on the side).

These have also been emailed with Cc set to
<mesa-stable at lists.freedesktop.org> meanwhile. So these should have been
tracked properly. No need to hurry. ;-)

> Barring the libva patch, can you skim through the list and let us know
> which ones are outstanding ?
> https://patchwork.freedesktop.org/project/mesa/patches/?submitter=12700&state=&q=&archive=&delegate=

These are all obsolete apart from the latest one:


> P.S. Don't bother resending, only to add someone's r-b/ack/... tag.
> Patchwork does this for us ;-)

Sorry, I wasn't aware of that. :-(


Public Key available
Stefan Dirsch (Res. & Dev.)   SUSE LINUX GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham
Norton, HRB 21284 (AG Nürnberg)

More information about the mesa-dev mailing list