diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-08-31 17:58:55 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-09-03 13:40:22 -0300 |
commit | bd14ad22740de5cac3063ef32ba8c00d34199825 (patch) | |
tree | c66343adefb9e0067108e3e61b546d4407feee7f /recipes-graphics | |
parent | a38622c4d93f54019f20dbdcfd97bb5b00a50910 (diff) | |
download | meta-fsl-arm-bd14ad22740de5cac3063ef32ba8c00d34199825.tar.gz |
gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11
Vivante GPU driver does not support use of Wayland AND X11 backends at
same time, so we need to choose one for default. We previously had
choose Wayland but many users are reporting problems as the usual
expected support is still X11 so we're moving the default for X11 now.
Change-Id: I30f092509f060d3bced358324a296b0f798da2cb
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc index 0a53900..8a3efaf 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | |||
@@ -106,8 +106,15 @@ do_install () { | |||
106 | 106 | ||
107 | install -d ${D}${libdir}/pkgconfig | 107 | install -d ${D}${libdir}/pkgconfig |
108 | 108 | ||
109 | # If both X11 and Wayland are set in DISTRO_FEATURES then use Wayland as base window system | 109 | # The preference order, based in DISTRO_FEATURES, is x11, wayland, directfb and fb |
110 | if [ "${USE_WL}" = "yes" ]; then | 110 | if [ "${USE_X11}" = "yes" ]; then |
111 | cp -r ${S}/usr/lib/dri ${D}${libdir} | ||
112 | backend=x11 | ||
113 | |||
114 | install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc | ||
115 | install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
116 | install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
117 | elif [ "${USE_WL}" = "yes" ]; then | ||
111 | backend=wl | 118 | backend=wl |
112 | 119 | ||
113 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | 120 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc |
@@ -121,13 +128,6 @@ do_install () { | |||
121 | if [ "${USE_X11}" = "yes" ]; then | 128 | if [ "${USE_X11}" = "yes" ]; then |
122 | cp -r ${S}/usr/lib/dri ${D}${libdir} | 129 | cp -r ${S}/usr/lib/dri ${D}${libdir} |
123 | fi | 130 | fi |
124 | elif [ "${USE_X11}" = "yes" ]; then | ||
125 | cp -r ${S}/usr/lib/dri ${D}${libdir} | ||
126 | backend=x11 | ||
127 | |||
128 | install -m 0644 ${WORKDIR}/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc | ||
129 | install -m 0644 ${WORKDIR}/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
130 | install -m 0644 ${WORKDIR}/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
131 | else | 131 | else |
132 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc | 132 | install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/egl.pc |
133 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | 133 | install -m 0644 ${WORKDIR}/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc |