Re: [Mesa-dev] [PATCH] st/dri: implement the __DRI_DRIVER_VTABLE extension

2018-09-05 Thread Eric Anholt
Emil Velikov writes: > Hi Eric, > > On 24 August 2018 at 14:11, Emil Velikov wrote: >> From: Emil Velikov >> >> As the comment above globalDriverAPI (in dri_util.c) says, if the loader >> is unaware of createNewScreen2 there is a race condition. >> >> In which globalDriverAPI, will be set in th

Re: [Mesa-dev] [PATCH] st/dri: implement the __DRI_DRIVER_VTABLE extension

2018-09-03 Thread Emil Velikov
Hi Eric, On 24 August 2018 at 14:11, Emil Velikov wrote: > From: Emil Velikov > > As the comment above globalDriverAPI (in dri_util.c) says, if the loader > is unaware of createNewScreen2 there is a race condition. > > In which globalDriverAPI, will be set in the driver driDriverGetExtensions* >

[Mesa-dev] [PATCH] st/dri: implement the __DRI_DRIVER_VTABLE extension

2018-08-24 Thread Emil Velikov
From: Emil Velikov As the comment above globalDriverAPI (in dri_util.c) says, if the loader is unaware of createNewScreen2 there is a race condition. In which globalDriverAPI, will be set in the driver driDriverGetExtensions* function and used in createNewScreen(). If we call another drivers' dr