X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-graphics%2Fwayland%2Fweston-ini-conf.bbappend;h=635218a6b487c591de388a553388f1cb3b8c6de5;hb=077a0ef0ac094442ba5da0bd9f3f373c909d155f;hp=b79c526080a27fe71737e1bfa9850a9d3ae56fb0;hpb=726fdfebd33e0c2d000c68db3f5495fffb50af2a;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend index b79c52608..635218a6b 100644 --- a/recipes-graphics/wayland/weston-ini-conf.bbappend +++ b/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -4,3 +4,28 @@ WESTONIVISHELL[ivi-module] ??= "ivi-controller.so" WESTONIVISHELL[ivi-input-module] ??= "ivi-input-controller.so" WESTONSECTION[WESTONIVISHELL] = "ivi-shell" + +# IVI cluster and virtual display sample +python () { + if bb.utils.contains('DISTRO_FEATURES', 'virtual-display', True, False, d): + d.setVarFlag("WESTONCORE", "virtual", "1") +} + +WESTONOUTPUT2[agl_screen] ??= "SCREEN_VIRTUAL" + +WESTONSECTION[WESTONOUTPUT2] = "output" + +SCREEN_VIRTUAL[name]?="virtual1" +SCREEN_VIRTUAL[mode]?="384x368@60" + +# If gst-record is set, recorder flag is true +python () { + if bb.utils.contains('DISTRO_FEATURES', 'gst-record', True, False, d): + d.setVarFlag("SCREEN_VIRTUAL", "recorder", "true") +} + +SCREEN_VIRTUAL[ip]?="192.168.20.99" +SCREEN_VIRTUAL[port]?="5005" +SCREEN_VIRTUAL[bitrate]?="300000" +SCREEN_VIRTUAL[crop]?="384x368@0x0" +