Re: [Mesa-dev] [PATCH] glx/dri3: Use a separate xcb connection for Present events

2015-04-19 Thread Daniel Stone
Hi, On Saturday, April 18, 2015, Axel Davy wrote: > > There's a strange issue with xcb_get_geometry: If I use the new xcb > connection > it fails and the error is a drawable error. If I use the Xlib xcb > connection (what > I did in this patch) it works. If anyone knows why, please tell. We use >

[Mesa-dev] [PATCH] glx/dri3: Use a separate xcb connection for Present events

2015-04-18 Thread Axel Davy
Previously glx was using the xcb connection from Xlib. It is a problem for several reasons: . There are issues if Xlib is used in another thread (Present event lost) . Mixing Present events if you receive some for different windows (ie the client is having more than one window it renders to) This