[cairo-commit] src/cairo-xlib-render-compositor.c
Chris Wilson
ickle at kemper.freedesktop.org
Sat Aug 18 01:30:02 PDT 2012
src/cairo-xlib-render-compositor.c | 2 --
1 file changed, 2 deletions(-)
New commits:
commit b3448c3dff79d0eda2a921178c26eb87f1ba34ea
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Aug 18 09:28:17 2012 +0100
xlib: Drop the false optimisation of using a potentially busy shm upload pixmap
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/cairo-xlib-render-compositor.c b/src/cairo-xlib-render-compositor.c
index 8baeaf3..e325382 100644
--- a/src/cairo-xlib-render-compositor.c
+++ b/src/cairo-xlib-render-compositor.c
@@ -249,8 +249,6 @@ draw_image_boxes (void *_dst,
shm = NULL;
if (boxes_cover_surface (boxes, dst))
shm = (cairo_image_surface_t *) _cairo_xlib_surface_get_shm (dst, TRUE);
- if (shm == NULL && dst->shm)
- shm = (cairo_image_surface_t *) _cairo_xlib_surface_get_shm (dst, FALSE);
if (shm) {
for (chunk = &boxes->chunks; chunk; chunk = chunk->next) {
for (i = 0; i < chunk->count; i++) {
More information about the cairo-commit
mailing list