xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Mon Sep 9 07:03:43 PDT 2013
src/sna/sna_accel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit af4215dd7fdf16b9886cff74765d6865bd743ddb
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Sep 9 15:02:28 2013 +0100
sna: Call the new __offset functions in the last commit
Sigh. I added the new functions for the asserts, updated the parameters,
but forgot to change the actual function themselves.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 9ddc633..6d7d2fb 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -5109,8 +5109,8 @@ sna_copy_boxes__inplace(struct sna *sna, RegionPtr region, int alu,
return false;
}
- assert(sna_damage_contains_box(src_priv->gpu_damage, ®ion->extents, dx, dy) == PIXMAN_REGION_IN);
- assert(sna_damage_contains_box(src_priv->cpu_damage, ®ion->extents, dx, dy) == PIXMAN_REGION_OUT);
+ assert(sna_damage_contains_box__offset(src_priv->gpu_damage, ®ion->extents, dx, dy) == PIXMAN_REGION_IN);
+ assert(sna_damage_contains_box__offset(src_priv->cpu_damage, ®ion->extents, dx, dy) == PIXMAN_REGION_OUT);
src = kgem_bo_map__cpu(&sna->kgem, src_priv->gpu_bo);
if (src == NULL) {
More information about the xorg-commit
mailing list