diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2014-12-02 22:06:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 18:08:02 +0000 |
commit | 94e14422f6af3f34e0d71fef1bcbe48ff63e1946 (patch) | |
tree | d9d893af8540b5b93c656b80d548bad47acef3aa /meta/recipes-graphics | |
parent | 7d495e5032ffa10eea6a28fa596443468e305c4c (diff) | |
download | poky-94e14422f6af3f34e0d71fef1bcbe48ff63e1946.tar.gz |
mesa: add PACKAGECONFIG support for gallium XA state tracker
(From OE-Core rev: d1cf188783ea5ae9013996a208f60960e3e7a6e7)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 1857f3c220..cb1837ac51 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -65,6 +65,7 @@ MESA_LLVM_RELEASE ?= "3.3" | |||
65 | PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \ | 65 | PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE} \ |
66 | ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" | 66 | ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" |
67 | export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" | 67 | export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" |
68 | PACKAGECONFIG[xa] = "--enable-xa, --disable-xa" | ||
68 | 69 | ||
69 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | 70 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) |
70 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | 71 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" |
@@ -87,6 +88,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | |||
87 | libegl-gallium libgbm-gallium \ | 88 | libegl-gallium libgbm-gallium \ |
88 | libopenvg libopenvg-dev \ | 89 | libopenvg libopenvg-dev \ |
89 | libxvmcsoftpipe libxvmcsoftpipe-dev \ | 90 | libxvmcsoftpipe libxvmcsoftpipe-dev \ |
91 | libxatracker libxatracker-dev \ | ||
90 | mesa-megadriver \ | 92 | mesa-megadriver \ |
91 | " | 93 | " |
92 | 94 | ||
@@ -171,6 +173,7 @@ FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*" | |||
171 | FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" | 173 | FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" |
172 | FILES_libopenvg = "${libdir}/libOpenVG.so.*" | 174 | FILES_libopenvg = "${libdir}/libOpenVG.so.*" |
173 | FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*" | 175 | FILES_libxvmcsoftpipe = "${libdir}/libXvMCsoftpipe.so.*" |
176 | FILES_libxatracker = "${libdir}/libxatracker.so.*" | ||
174 | 177 | ||
175 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" | 178 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" |
176 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | 179 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" |
@@ -185,5 +188,8 @@ FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayl | |||
185 | FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \ | 188 | FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \ |
186 | ${includedir}/VG ${libdir}/pkgconfig/vg.pc" | 189 | ${includedir}/VG ${libdir}/pkgconfig/vg.pc" |
187 | FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la" | 190 | FILES_libxvmcsoftpipe-dev = "${libdir}/libXvMCsoftpipe.so ${libdir}/libXvMCsoftpipe.la" |
191 | FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \ | ||
192 | ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \ | ||
193 | ${libdir}/pkgconfig/xatracker.pc" | ||
188 | 194 | ||
189 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" | 195 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" |