__FUNCTION__, src_dx, src_dy, dst_dx, dst_dy, nbox,
src_bo->tiling, dst_bo->tiling,
src_bo->pitch, dst_bo->pitch));
+ assert(nbox);
if (wedged(sna) || !kgem_bo_can_blt(kgem, src_bo) || !kgem_bo_can_blt(kgem, dst_bo)) {
DBG(("%s: cannot blt to src? %d or dst? %d\n",
DBG((" %s: prev=(remain %d), count=%d\n",
__FUNCTION__, damage->remain, count));
+ assert(count);
restart:
n = count;
int i, n;
DBG((" %s: prev=(remain %d)\n", __FUNCTION__, damage->remain));
+ assert(count);
restart:
n = count;
DBG((" %s: prev=(remain %d), count=%d\n",
__FUNCTION__, damage->remain, count));
+ assert(count);
restart:
n = count;
DBG((" %s: prev=(remain %d), count=%d\n",
__FUNCTION__, damage->remain, count));
+ assert(count);
restart:
n = count;
if (damage->dirty)
__sna_damage_reduce(damage);
+ assert(!damage->dirty);
+ assert(damage->mode == DAMAGE_ADD);
+
*boxes = region_rects(&damage->region);
return region_num_rects(&damage->region);
}
DBG(("%s\n", __FUNCTION__));
__sna_damage_reduce(damage);
+
+ assert(!damage->dirty);
+ assert(damage->mode == DAMAGE_ADD);
+
if (!pixman_region_not_empty(&damage->region)) {
__sna_damage_destroy(damage);
damage = NULL;