diff options
author | Eric Anholt <eric@anholt.net> | 2006-12-19 15:24:19 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2006-12-19 15:24:19 +0100 |
commit | 6b1e354dbb6e8ed9f2c654bbe7f8bbf241843d1c (patch) | |
tree | c822dcd6248d5126ab4cafb483e9105f4663fc0a /exa | |
parent | 1b029fd896b76096905c516925ce0214fe14632c (diff) |
EXA: Disable SHM pixmaps.
See https://bugs.freedesktop.org/show_bug.cgi?id=6772 .
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -32,6 +32,10 @@ #include <dix-config.h> #endif +#ifdef MITSHM +#include "shmint.h" +#endif + #include <stdlib.h> #include "exa_priv.h" @@ -610,6 +614,13 @@ exaDriverInit (ScreenPtr pScreen, miDisableCompositeWrapper(pScreen); #endif +#ifdef MITSHM + /* Re-register with the MI funcs, which don't allow shared pixmaps. + * Shared pixmaps are almost always a performance loss for us, but this + * still allows for SHM PutImage. + */ + ShmRegisterFuncs(pScreen, NULL); +#endif /* * Hookup offscreen pixmaps */ |