mesa/src
Kristian Høgsberg edb5253dfa glx: Fix config chooser logic for 'mask' matching
When matching attributes using the 'mask' matching criteria, the spec
says that

  "Only GLXFBConfigs for which the set bits of attribute include all
   the bits that are set in the requested value are
   considered. (Additional bits might be set in the attribute)."

The current test returns true if the two bit masks have bits in
common, specifically it matches even if the requested value has bits
set that are not set in the fbconfig attribute.  For example, an
application asking for

  GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_PBUFFER_BIT,

as glxpbdemo does, will match fbconfigs that don't support pbuffer
rendering, as long as they support pixmap rendering.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-04-09 15:15:28 -04:00
..
driclient
egl egl_dri2: Flush before context switch and swap buffers. 2010-04-06 19:54:06 +08:00
gallium Fix copyright headers. 2010-04-10 01:20:57 +08:00
glew glew: Include X11 headers and libraries in SCons build. 2010-04-04 18:10:20 -07:00
glsl glsl: implement support for GL_EXT_texture_array 2010-02-25 20:11:55 -07:00
glu Grammar and spelling fixes 2010-03-12 08:55:05 -07:00
glut glut: Include X11 headers and libraries in SCons build. 2010-04-04 18:28:03 -07:00
glw
glx glx: Fix config chooser logic for 'mask' matching 2010-04-09 15:15:28 -04:00
mesa Fix copyright headers. 2010-04-10 01:20:57 +08:00
Makefile
SConscript scons: Add new targets option. 2010-03-09 15:09:32 +00:00