compositor: use bounding box for damage regions
authorPekka Paalanen <ppaalanen@gmail.com>
Thu, 26 Jan 2012 11:12:45 +0000 (13:12 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 27 Jan 2012 14:15:02 +0000 (16:15 +0200)
commit2267d45f7c55ab452ad827c6997d623b54065a69
tree372882b1fdea72ae431b2974d248193ca6c4cda7
parent45f3e405c6e556f50eeeb319d2191b8a4aa61796
compositor: use bounding box for damage regions

Change weston_surface_damage*() functions to use the full surface
bounding box or call surface_compute_bbox() to find the bounding box for
an arbitrary rectangle.

This should fix all rendering artifacts for non-opaque (i.e. ARGB)
transformed surfaces.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c