mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-04 15:40:24 +01:00
xlib: Drop the false optimisation of using a potentially busy shm upload pixmap
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
10ef077324
commit
b3448c3dff
1 changed files with 0 additions and 2 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue