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

2013-03-13 Thread Paul Menzel
Dear Rob, Am Dienstag, den 12.03.2013, 19:44 -0400 schrieb Rob Clark: ?it? sounds strange in commit summary. > If ddx does not support swap, don't advertise it. So how is `dri2BindExtensions` changed. Some things passed beforehand are already available in `struct dri2_screen *psc`? Are bugs

Re: [PATCH] DRI2: don't advertise GLX_INTEL_swap_event if it can't

2013-03-13 Thread Paul Menzel
Dear Rob, Am Dienstag, den 12.03.2013, 19:44 -0400 schrieb Rob Clark: »it« sounds strange in commit summary. > If ddx does not support swap, don't advertise it. So how is `dri2BindExtensions` changed. Some things passed beforehand are already available in `struct dri2_screen *psc`? Are bugs

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

2013-03-12 Thread Rob Clark
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. Signed-off-by: Rob Clark --- src/glx/dri2_glx.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) d

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

2013-03-12 Thread Rob Clark
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. Signed-off-by: Rob Clark --- src/glx/dri2_glx.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) d