compositor: Track damage in surface-local coordinates
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Jun 2012 19:09:11 +0000 (15:09 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 18 Jun 2012 19:09:11 +0000 (15:09 -0400)
commit460a79bd4bdde768de2fd2e29be4fd185c58b227
treea678a21cd881eb6e894007490733dfa526c2f058
parente4c1a5f7f3a05bc75f8a9e8fad61f8a08ad8dc25
compositor: Track damage in surface-local coordinates

We transform the surface damage to global damage at weston_output_repaint()
time.  This way we don't touch the transform when it might not be valid
and in case of overlapping damage, we only copy pixels once for shm textures.
src/compositor.c