compositor-drm: Support configuring the framebuffer format from weston.ini
This patch adds a new weston.ini key, gbm-format, to the [core] section.
This new key can be rgb565, xrgb8888 or xrgb2101010, and makes the
compositor use the corresponding GBM format for the framebuffer.
diff --git a/weston.ini b/weston.ini
index 7006931..4761bed 100644
--- a/weston.ini
+++ b/weston.ini
@@ -1,6 +1,7 @@
[core]
#modules=xwayland.so,cms-colord.so
#shell=desktop-shell.so
+#gbm-format=xrgb2101010
[shell]
background-image=/usr/share/backgrounds/gnome/Aqua.jpg