mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
sna: Discard operations to either CPU or GPU bo when overwriting with RenderRectangles
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -1021,7 +1021,7 @@ sna_composite_rectangles(CARD8 op,
|
||||
goto fallback;
|
||||
}
|
||||
if (hint & REPLACES)
|
||||
kgem_bo_undo(&sna->kgem, bo);
|
||||
kgem_bo_pair_undo(&sna->kgem, priv->gpu_bo, priv->cpu_bo);
|
||||
|
||||
if (op <= PictOpSrc) {
|
||||
b = pixman_region_rectangles(®ion, &num_boxes);
|
||||
|
||||
Reference in New Issue
Block a user