[OE-core] [PATCH] xserver-xorg: Enable glamor by default

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Jan 12 07:03:44 UTC 2017


On Thu, Jan 12, 2017 at 6:52 AM, Saul Wold <sgw at linux.intel.com> wrote:
> To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.
>
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> index 6a13380..16d9747 100644
> --- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> +++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
> @@ -122,6 +122,7 @@ EXTRA_OECONF += "--with-fop=no \
>  EXTRA_OECONF[vardepsexclude] = "MACHINE"
>
>  PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
> +                   xshmfence dri3 glamor \
>                     ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
>                     ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
>                     ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \

I fully agree with this change, and I am definitely willing to have
glamor enabled by default (I even thought I had sent that patch
already..)

however i think you need it done this way:

${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' dri3 xshmfence
glamor', '', d)}"


> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list