[Mesa-dev] [PATCH] DRI2: don't advertise GLX_INTEL_swap_event if it can't

Zack Rusin zackr at vmware.com
Tue Mar 12 17:09:20 PDT 2013


 > well, from what I can tell, if you advertise this extension
> applications will expect a swap event.  Which will never come if
> dri/glx on client side remaps scheduleswap to copyregion.
> 
> So maybe there are other conditions where we should not advertise this
> extension.  But if we know we will never get events, we should not
> advertise this extension.

The issue isn't on this side, it's on the Xserver side. We don't advertise extensions that aren't advertised by the server, unfortunately Xserver unconditionally enables this extension. I've sent a patch to xorg-devel at least limiting exposure ( http://lists.x.org/archives/xorg-devel/2013-February/035449.html ) but it hasn't been applied. The only reason for the vmwgfx hack is that we have a shipping driver that badly broke with the new Xserver so instead of leaving our users with broken systems we disable the extension on the client side. That isn't the correct approach though, in fact it's wrong, but it keeps those systems working until fixed xserver is out. I'd prefer to keep more hacks to fix this situation out of mesa.

z


More information about the mesa-dev mailing list