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

Zack Rusin zackr at vmware.com
Tue Mar 12 16:53:19 PDT 2013


> If ddx does not support swap, don't advertise it.  We might also be
> able to get rid of the vmwgfx check (I'm not quite sure the purpose of
> that check vs. just checking dri2Minor.


No, not really. GLX_INTEL_swap_event doesn't have any hooks. You're checking for presence of generic swap extension.

Also unfortunately dri2minor has no correlation to glx_intel_swap_event. There's no way to check for presence of GLX_INTEL_swap_event on this side.


z


More information about the mesa-dev mailing list