summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
authorZoltan Boszormenyi <zboszor@pr.hu>2020-05-07 15:33:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-09 18:57:21 +0100
commitded978ea623cec9304a773b05e7cb5350d3789ed (patch)
tree2b97d2637e4728ae0acc02971674b6f564a95ee3 /meta/recipes-graphics/mesa
parent18b6533e3e8fe8879a831e21254f9f91045652c2 (diff)
downloadpoky-ded978ea623cec9304a773b05e7cb5350d3789ed.tar.gz
mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and drivers
(From OE-Core rev: 7ea4c7c32cbad1743852c27a2f0a87d6cf5a1820) Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 7a889a5b11..fede691d6f 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -144,6 +144,8 @@ PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true, -Dllvm=false, llv
144PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" 144PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false"
145PACKAGECONFIG[va] = "-Dgallium-va=true,-Dgallium-va=false,libva-initial" 145PACKAGECONFIG[va] = "-Dgallium-va=true,-Dgallium-va=false,libva-initial"
146 146
147PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=true,-Dgallium-vdpau=false,libvdpau"
148
147PACKAGECONFIG[lima] = "" 149PACKAGECONFIG[lima] = ""
148GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" 150GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}"
149 151
@@ -180,6 +182,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \
180 libgles3-mesa libgles3-mesa-dev \ 182 libgles3-mesa libgles3-mesa-dev \
181 libxatracker libxatracker-dev \ 183 libxatracker libxatracker-dev \
182 mesa-megadriver mesa-vulkan-drivers \ 184 mesa-megadriver mesa-vulkan-drivers \
185 mesa-vdpau-drivers \
183 " 186 "
184 187
185do_install_append () { 188do_install_append () {
@@ -257,6 +260,7 @@ PACKAGES_DYNAMIC += "^mesa-driver-.*"
257 260
258FILES_mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d/00-mesa-defaults.conf" 261FILES_mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d/00-mesa-defaults.conf"
259FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan" 262FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan"
263FILES_${PN}-vdpau-drivers = "${libdir}/vdpau/*.so.*"
260FILES_libegl-mesa = "${libdir}/libEGL.so.*" 264FILES_libegl-mesa = "${libdir}/libEGL.so.*"
261FILES_libgbm = "${libdir}/libgbm.so.*" 265FILES_libgbm = "${libdir}/libgbm.so.*"
262FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" 266FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*"
@@ -266,7 +270,7 @@ FILES_libglapi = "${libdir}/libglapi.so.*"
266FILES_libosmesa = "${libdir}/libOSMesa.so.*" 270FILES_libosmesa = "${libdir}/libOSMesa.so.*"
267FILES_libxatracker = "${libdir}/libxatracker.so.*" 271FILES_libxatracker = "${libdir}/libxatracker.so.*"
268 272
269FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan" 273FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan ${libdir}/vdpau/*.so"
270FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" 274FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
271FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" 275FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
272FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" 276FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"