[PATCH weston 3/3] compositor: do not round a zero area to non-zero

2012-09-04 Thread Pekka Paalanen
surface_accumulate_damage() will call surface_compute_bbox() with the extents of the surface damage region, for transformed surfaces only. If there is no damage, surface_compute_bbox() will round up the empty rectangle to a 1x1 rectangle. Triangles are produced for this 1x1 rectangle intersected

Re: [PATCH weston 3/3] compositor: do not round a zero area to non-zero

2012-09-04 Thread Kristian Høgsberg
On Tue, Sep 04, 2012 at 01:55:44PM +0300, Pekka Paalanen wrote: surface_accumulate_damage() will call surface_compute_bbox() with the extents of the surface damage region, for transformed surfaces only. If there is no damage, surface_compute_bbox() will round up the empty rectangle to a 1x1