sna/trapezoids: Apply the drawable offset for the CPU migration
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c5313620a2
commit
7bbd445c8c
|
|
@ -4425,10 +4425,10 @@ trapezoid_span_fallback(CARD8 op, PicturePtr src, PicturePtr dst,
|
|||
if (mask) {
|
||||
RegionRec region;
|
||||
|
||||
region.extents.x1 = dst_x;
|
||||
region.extents.y1 = dst_y;
|
||||
region.extents.x2 = dst_x + extents.x2;
|
||||
region.extents.y2 = dst_y + extents.y2;
|
||||
region.extents.x1 = dst_x + dst->pDrawable->x;
|
||||
region.extents.y1 = dst_y + dst->pDrawable->y;
|
||||
region.extents.x2 = region.extents.x1 + extents.x2;
|
||||
region.extents.y2 = region.extents.y2 + extents.y2;
|
||||
region.data = NULL;
|
||||
|
||||
DBG(("%s: move-to-cpu\n", __FUNCTION__));
|
||||
|
|
|
|||
Loading…
Reference in New Issue