summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 0ec681cf20..cc4aa5eeab 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -86,6 +86,7 @@ PACKAGECONFIG = " \
86 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \ 86 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'dri3', '', d)} \
87 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \ 87 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 vulkan', 'dri3', '', d)} \
88 ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \ 88 ${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'zink', '', d)} \
89 ${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'video-codecs', '', d)} \
89" 90"
90 91
91# "gbm" requires "opengl" 92# "gbm" requires "opengl"
@@ -178,6 +179,9 @@ PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
178 179
179PACKAGECONFIG[lmsensors] = "-Dlmsensors=enabled,-Dlmsensors=disabled,lmsensors" 180PACKAGECONFIG[lmsensors] = "-Dlmsensors=enabled,-Dlmsensors=disabled,lmsensors"
180 181
182VIDEO_CODECS = "vc1dec,h264dec,h264enc,h265dec,h265enc"
183PACKAGECONFIG[video-codecs] = "-Dvideo-codecs=${@strip_comma('${VIDEO_CODECS}')}, -Dvideo-codecs=''"
184
181# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) 185# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
182FULL_OPTIMIZATION:append = " -fno-omit-frame-pointer" 186FULL_OPTIMIZATION:append = " -fno-omit-frame-pointer"
183 187