compositor-drm: Support configuring the framebuffer format from weston.ini
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 16 Oct 2013 23:31:42 +0000 (16:31 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 16 Oct 2013 23:31:42 +0000 (16:31 -0700)
commit8e6f376ef0beb4b2f619a32120a758f3667391b2
tree2d889e8b9cb2931b60bd0b1c44bff0764543c313
parentd8e9833017751e0aa773e4ada6e9392a4fd9da8e
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.
man/weston.ini.man
src/compositor-drm.c
weston.ini