compositor: document view->transform.* regions
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
diff --git a/src/compositor.h b/src/compositor.h
index 2d70ad1..c942365 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -802,6 +802,12 @@
struct {
int dirty;
+ /* Approximations in global coordinates:
+ * - boundingbox is guaranteed to include the whole view in
+ * the smallest possible single rectangle.
+ * - opaque is guaranteed to be fully opaque, though not
+ * necessarily include all opaque areas.
+ */
pixman_region32_t boundingbox;
pixman_region32_t opaque;