compositor: move opaque tracking into transform
authorPekka Paalanen <ppaalanen@gmail.com>
Thu, 9 Feb 2012 14:39:38 +0000 (16:39 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Fri, 10 Feb 2012 13:47:56 +0000 (15:47 +0200)
commit730d87e6a6c70a6151cfe931e0db4334531a5bdb
treeecadb684163e073f706630321be082ac00d8ad82
parentb45ac5eada9f311d1e31ff7337b3de091434e6a1
compositor: move opaque tracking into transform

Move the surface opaque region setup from weston_surface_configure() to
weston_surface_update_transform(), so we have less reason to call
update_transform from configure. Opaque region depends on geometry,
after all.

Also move the opaque field from weston_surface to
weston_surface::transform to make this obvious.

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