compositor-drm: Support configuring the framebuffer format from weston.ini

Graphics / Wayland / Weston - Kristian Høgsberg [bitplanet.net] - 16 October 2013 18:31 UTC

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.

8e6f376 compositor-drm: Support configuring the framebuffer format from weston.ini
man/weston.ini.man | 7 +++++++
src/compositor-drm.c | 20 +++++++++++++++++++-
weston.ini | 1 +
3 files changed, 27 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share