projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8ab77
)
sna: Discard operations to either CPU or GPU bo when overwriting with RenderRectangles
author
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 4 Jul 2014 12:04:02 +0000
(13:04 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 4 Jul 2014 12:04:02 +0000
(13:04 +0100)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_composite.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_composite.c
b/src/sna/sna_composite.c
index
bc50109
..
e65bce0
100644
(file)
--- a/
src/sna/sna_composite.c
+++ b/
src/sna/sna_composite.c
@@
-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);