compositor: let view_compute_bbox() take a box32_t
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 23 Feb 2015 10:27:00 +0000 (12:27 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 26 Feb 2015 07:07:07 +0000 (09:07 +0200)
commitc7d7fdfd11db9c4725149c821f4cdc0fe98f8eca
tree91768fcb94a4d689c16de22b3b8345128b8ab589
parentefd08c72621ebe108c44c160e76d19a8c5f04767
compositor: let view_compute_bbox() take a box32_t

There are two call sites, one is already having a pixman_box32_t it
needs to call view_compute_bbox() with. The other call site will have a
box32_t when view clipping gets implemented.

Change view_compute_bbox() to take a pixman_box32_t as the input
argument, and convert call sites.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
src/compositor.c