aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-graphics/wayland/weston-ini-conf.bbappend
blob: dba2ad6b20e866090a1e0ad8cf4a8de50bea2838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# OVERRIDES save us some c'n'p below ...
OVERRIDES_prepend_qemux86 = "customwestonini:"
OVERRIDES_prepend_qemux86-64 = "customwestonini:"
# intel-corei7-64 ??

python() {
    if "customwestonini" in d.getVar("OVERRIDES", True).split(":"):
        # DRM backend disabled for now to allow compatibility with VirtualBox
        # and VMWare Player. It may be re-enabled if running on QEMU for
        # potentially increased performance.
        #backend=drm-backend.so
        d.delVarFlag("WESTONCORE", "backend")

        d.setVarFlag("WESTONOUTPUT1","agl_screen", "SCREEN_QEMU")
}