summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-08-27 16:05:47 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-28 10:12:28 -0400
commitee7c684f21d220d5e046bab31ae617a7d64d60f6 (patch)
tree92a290b945986fe642d81ab6f86f17e62ea3436a /exa/exa.c
parent2db1afbf2e56d8743c701d81a5797001ce9e5c52 (diff)
Reimplement ShmPutImage.
There's no reason to not just dispatch this straight into the GC. As a bonus, if you do so, damage wraps correctly, and thus swcursor works. The side effect is it's no longer possible to override ShmPutImage with ShmRegisterFuncs(). Also remove the (broken) damage tracking for same from EXA, since it didn't work right, and is now superfluous.
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/exa/exa.c b/exa/exa.c
index ab7aab330..12c154960 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -936,13 +936,6 @@ exaDriverInit (ScreenPtr 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, &exaShmFuncs);
-#endif
/*
* Hookup offscreen pixmaps
*/