sna: Avoid the GPU readback with READ==0 move_to_cpu

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-12-19 21:04:02 +00:00
parent 0b5fec3f80
commit 06a1792f91
1 changed files with 2 additions and 0 deletions

View File

@ -837,6 +837,8 @@ sna_drawable_move_region_to_cpu(DrawablePtr drawable,
sna_pixmap_free_cpu(sna, priv);
}
}
sna_damage_subtract(&priv->gpu_damage, region);
}
if (priv->mapped) {