compositor-drm: Ignore views on other outputs
authorDaniel Stone <daniels@collabora.com>
Tue, 29 Nov 2016 21:03:44 +0000 (21:03 +0000)
committerDaniel Stone <daniels@collabora.com>
Tue, 10 Jul 2018 10:12:27 +0000 (11:12 +0100)
commit231ae2f33bae357e9d7461a15df07618c3461720
tree6d16020ab22b6407f979fce848c032b1d9acf011
parentee1aea7cd1b554ef4bd39e492186519371d020d8
compositor-drm: Ignore views on other outputs

When we come to assign_planes, try very hard to ignore views which are
only visible on other outputs, rather than forcibly moving them to the
primary plane, which causes damage all round and unnecessary repaints.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Tested-by: Emre Ucan <eucan@de.adit-jv.com>
libweston/compositor-drm.c