glinfo_common: fix extension_supported() function

The code did not correctly handle super-string handling.  For example,
if we were searching for "WGL_ARB_pixel_format" but we found
"WGL_ARB_pixel_format_float" we'd stop searching and return 0.  Now
we search past that initial, incorrect match.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
glxinfo: Print XFB, TBO, and UBO limits

Updated patch for refactored glxinfo/wglinfo code by Brian Paul.

Signed-off-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
glxinfo: Print GL_ARB_vertex_attrib_binding limits

Updated patch for refactored glxinfo/wglinfo code by Andreas Boll.

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
glxinfo: Print GL_EXT_texture_array limits

Updated patch for refactored glxinfo/wglinfo code by Andreas Boll.

Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
demos: add missing binaries to .gitignore
glsl/gsraytrace: Fix typo
glxinfo: remove query of GL_MAX_VERTEX_ATTRIB_STRIDE

This is not part of the GL_ARB_vertex_attrib_binding extension.
It's part of OpenGL 4.4.
Fixes compilation failure if glext.h doesn't have the GL 4.4 #defines.

Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
glxinfo: add query for OpenGL 4.4 GL_MAX_VERTEX_ATTRIB_STRIDE

And add support for qualifying a limit query with an OpenGL version
instead of an extension string.

Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
demos: Fix make distcheck

Reviewed-by: Julien Cristau <jcristau@debian.org>
configure.ac: Fix help text

Matches behavior with action-if-not-given

Reviewed-by: Julien Cristau <jcristau@debian.org>
demos: bump version to 8.2.0 for release
wglinfo: query and report multisample information

Before, we always reported zeros in the multisample columns of the
format list.  Since PIXELFORMATDESCRIPTOR doesn't have fields for
multisample, we use a new format_info structure to extend that type.

We can only query this info with the wglGetPixelFormatAttribivARB()
function which is part of the WGL_ARB_pixel_format extension.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
glxinfo/wglinfo: move argument parsing into common code

Reviewed-by: José Fonseca <jfonseca@vmware.com>
wglinfo: Add support for reporting core profile info

As with glxinfo, we first report version/extension info for a compatibility
profile context, then report version/extension info for a core profile
context.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
wglinfo: print swap method in print_visual_attribs_verbose()

Reviewed-by: José Fonseca <jfonseca@vmware.com>
wglinfo: adjust column spacing for pixel format info

Reviewed-by: José Fonseca <jfonseca@vmware.com>
glxinfo: fix direct rendering context in glxinfo

commit e769bc682b4a0d0f597286b067f54f923d159866 broke direct rendering
context because it defaults to indirect rendering and there is no way
to reverse it.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>