oe-core enables glamour by default since commit 33864ddc. I tried to build
xserver with glamor but failed first with

|  #error "Platform not recognized"

This could be fixed by

CFLAGS_append_imxgpu2d = " \
    -DLINUX \
"

but then I got

| <sysroot>/usr/include/X11/Xlib.h:222:2: error: conflicting types for 'GC'
|  *GC;
|   ^~
| In file included from ../../xorg-server-1.19.1/glamor/glamor.h:34:0,
|                  from ../../xorg-server-1.19.1/glamor/glamor_priv.h:32,
|                  from ../../xorg-server-1.19.1/glamor/glamor_render.c:35:
| ../../xorg-server-1.19.1/include/gcstruct.h:289:3: note: previous declaration 
of 'GC' was here
|  } GC;
|    ^~
| make[1]: *** [Makefile:730: glamor_gradient.lo] Error 1

As this needs deeper investigation to fix and we have no experience on how
glamor performs on vivante, disable it for now.

Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
---
 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend 
b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
new file mode 100644
index 0000000..fd14605
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -0,0 +1 @@
+OPENGL_PKGCONFIGS_imxgpu2d = "dri glx"
-- 
2.7.4

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to