[PATCH weston 04/13] compositor: Add a stereoscopy capability.

Emmanuel Gil Peyrot linkmauve at linkmauve.fr
Tue Nov 14 15:05:51 UTC 2017


From: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>

Will be used by backends to say they are compatible or not.

Signed-off-by: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
---
 libweston/compositor.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libweston/compositor.h b/libweston/compositor.h
index fd4fb2ed..6d3fa315 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -771,6 +771,9 @@ enum weston_capability {
 
 	/* renderer supports weston_view_set_mask() clipping */
 	WESTON_CAP_VIEW_CLIP_MASK		= 0x0010,
+
+	/* renderer supports weston_view_set_mask() clipping */
+	WESTON_CAP_STEREOSCOPY			= 0x0020,
 };
 
 /* Configuration struct for a backend.
-- 
2.15.0



More information about the wayland-devel mailing list