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:
parent
0b5fec3f80
commit
06a1792f91
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue