Hi,

On Saturday, April 18, 2015, Axel Davy <axel.d...@ens.fr> 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
> xcb_get_geometry
> with gallium nine with a different xcb connection than Xlib and it works
> without
>

Not all that surprising I guess. If a client creates a window and then
immediately creates a surface with it, nothing guarantees that the window
creation request on the other display actually ever got processed.

You'd need to pepper this with XSync on the display the client passed in to
recreate the synchronisation that was previously implicit in having both
client and Mesa requests ordered within the same connection.

Cheers,
Daniel
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to