From ed2182f356ae8a72c5ef1d0d62daa7b741eb2646 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 1 Mar 2021 11:15:21 +0200 Subject: [PATCH] compositor: print all existing capability bits Gives a string for all existing capability bits. This is useful for the next commit. Signed-off-by: Pekka Paalanen --- compositor/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compositor/main.c b/compositor/main.c index dd40842f8..72c47f7d0 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -781,6 +781,10 @@ static const struct { } capability_strings[] = { { WESTON_CAP_ROTATION_ANY, "arbitrary surface rotation" }, { WESTON_CAP_CAPTURE_YFLIP, "screen capture uses y-flip" }, + { WESTON_CAP_CURSOR_PLANE, "cursor planes" }, + { WESTON_CAP_ARBITRARY_MODES, "arbitrary resolutions" }, + { WESTON_CAP_VIEW_CLIP_MASK, "view mask clipping" }, + { WESTON_CAP_EXPLICIT_SYNC, "explicit sync" }, { WESTON_CAP_COLOR_OPS, "color operations" }, };