sna: Be explicit in all sna_damage_contains_box() tests

Clarify the exact in/out/maybe expected result when testing.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-11-14 14:05:10 +00:00
parent 5d23149647
commit 405b015fe2
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ sna_drawable_move_region_to_cpu(DrawablePtr drawable,
goto done;
if (sna_damage_contains_box(priv->gpu_damage,
REGION_EXTENTS(NULL, region))) {
REGION_EXTENTS(NULL, region)) != PIXMAN_REGION_OUT) {
DBG(("%s: region (%dx%d) intersects gpu damage\n",
__FUNCTION__,
region->extents.x2 - region->extents.x1,