xserver-multidpi/hw/xfree86
Keith Packard 4172aa137c dri2: Only deal with output windows and pixmaps.
This reverts commit fdb081b430
"dri2: Deal with input-only windows by using WindowDrawable()"
and replaces it as follows:

Reject the creation of a DRI2 drawable for UNDRAWABLE_WINDOW (input-only
windows) and DRAWABLE_BUFFER (whatever those are) drawables and only look up
privates for the supported drawable types.

The rest of the the code can continue pretending there's only output windows
and pixmaps, which are the only kinds of drawables relevant for DRI2.

Fixes server crash with GLX compositing managers such as compiz or kwin, due
to looking up a window private for a pixmap and getting a bogus pointer.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-10 07:20:03 -07:00
..
common Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
ddc Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
dixmods Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
doc Stop searching for XF86Config files 2010-06-04 00:22:54 -07:00
dri Make DRI_SCREEN_PRIV just return NULL when DRI isn't initialized 2010-06-07 21:49:43 -07:00
dri2 dri2: Only deal with output windows and pixmaps. 2010-06-10 07:20:03 -07:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw Install fbdevhw module in normal module directory instead of linux/ 2010-06-03 07:29:50 -07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 xfree86/int10/helper_mem: Fix log message. 2010-05-26 11:10:55 -07:00
loader Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
modes Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
os-support Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
parser Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
ramdac Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
shadowfb Clean up after removal of screen parameters from region macros. 2010-06-05 22:07:21 -07:00
utils Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vbe Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
vgahw Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00