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.
This commit is contained in:
@@ -104,6 +104,13 @@ directory are:
|
||||
.BR xwayland.so
|
||||
.fi
|
||||
.RE
|
||||
.TP 7
|
||||
.BI "gbm-format="format
|
||||
sets the GBM format used for the framebuffer for the GBM backend. Can be
|
||||
.B xrgb8888,
|
||||
.B xrgb2101010,
|
||||
.B rgb565.
|
||||
By default, xrgb8888 is used.
|
||||
.RS
|
||||
.PP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user