compositor: split weston_surface_update_transform()
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 8 Feb 2012 13:14:17 +0000 (15:14 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 10 Feb 2012 13:47:56 +0000 (15:47 +0200)
commit80fb08dc66e04d06c9d55d7588f78cb983378da9
tree6c1809a479da1dedadad4dbd1423deefa13c7efe
parent9abf393bd8286ae141868893253b13cdca117ec9
compositor: split weston_surface_update_transform()

Split two helper functions out of weston_surface_update_transform() to:
- make the code clearer
- update the bounding box properly even if transformation fails
- unify the return point

Also add a comment on what matrix.d[12] is.

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