Common Display Configuration
Weston color format, rotation, resolution, and scaling can be configured in the [core] or [output] sections of weston.ini. In the Buildroot SDK, Weston uses ARGB8888 by default. Low-performance platforms can switch to rgb565 when appropriate:
[core]
gbm-format=rgb565Configure a single display:
[output]
name=LVDS-1
gbm-format=rgb565
transform=rotate-90
mode=1280x800
scale=2Runtime changes can also be made through the dynamic configuration file:
echo "output:all:rotate90" > /tmp/.weston_drm.conf
echo "output:HDMI-A-1:mode=800x600" > /tmp/.weston_drm.conf
echo "output:HDMI-A-1:size=1920x1080" > /tmp/.weston_drm.confTo scale the UI while keeping the physical display mode unchanged, configure the following in /etc/profile.d/weston.sh:
export WESTON_DRM_VIRTUAL_SIZE=1024x768If the hardware VOP display module does not support the required scaling operation, RGA is needed for processing.

