summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRafael Sadowski <rsadowski@cvs.openbsd.org>2024-07-19 14:42:34 +0000
committerRafael Sadowski <rsadowski@cvs.openbsd.org>2024-07-19 14:42:34 +0000
commit70fbca4ac9b46f0973bd5ebb7d0ce62addd57820 (patch)
tree8c29cd3d8bd509c9122a1364465d2f8b8b0ee3ca /lib
parent2eb51ef5593b782e96f48360e6cbb1e0b5a05351 (diff)
Enable VA-API in xenocara
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile3
-rw-r--r--lib/mesa/mk/Makefile5
-rw-r--r--lib/mesa/mk/config.mk2
3 files changed, 8 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 90a3bcce9..634b4a3fe 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.46 2021/11/11 08:59:43 matthieu Exp $
+# $OpenBSD: Makefile,v 1.47 2024/07/19 14:42:33 rsadowski Exp $
.include <bsd.xconf.mk>
@@ -51,6 +51,7 @@ SUBDIR+= libxshmfence
.if ${XENOCARA_BUILD_GL:L} == "yes"
SUBDIR+= libdrm
+SUBDIR+= libva
SUBDIR+= mesa
SUBDIR+= libGLU libGLw
SUBDIR+= libepoxy
diff --git a/lib/mesa/mk/Makefile b/lib/mesa/mk/Makefile
index 19809936f..f48655806 100644
--- a/lib/mesa/mk/Makefile
+++ b/lib/mesa/mk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2024/06/18 02:44:13 jsg Exp $
+# $OpenBSD: Makefile,v 1.9 2024/07/19 14:42:33 rsadowski Exp $
.include "config.mk"
@@ -39,6 +39,7 @@ SUBDIR+= libisl_gfx${GFX}
.if ${WITH_GALLIUM_R300} == "yes" || ${WITH_GALLIUM_R600} == "yes" || \
${WITH_GALLIUM_RADEONSI} == "yes" || make(obj)
+SUBDIR+= libva_st
SUBDIR+= libradeonwinsys
.endif
@@ -101,4 +102,6 @@ SUBDIR+= libglapi libgbm libEGL libGL libGLESv1_CM libGLESv2 libOSMesa
SUBDIR+= libgallium_dri
+SUBDIR+= libgallium_drv_video
+
.include <bsd.subdir.mk>
diff --git a/lib/mesa/mk/config.mk b/lib/mesa/mk/config.mk
index c3d6ffcb6..50784d044 100644
--- a/lib/mesa/mk/config.mk
+++ b/lib/mesa/mk/config.mk
@@ -224,12 +224,14 @@ WITH_SSE41=yes
${MACHINE} == "sparc64"
WITH_GALLIUM_R300=yes
WITH_GALLIUM_R600=yes
+WITH_VAAPI=yes
CPPFLAGS+= -DHAVE_R300 -DHAVE_R600
.endif
.if ${MACHINE} == "amd64" || ${MACHINE} == "arm64" || ${MACHINE} == "i386" || \
${MACHINE} == "powerpc64" || ${MACHINE} == "riscv64"
WITH_GALLIUM_RADEONSI=yes
+WITH_VAAPI=yes
WITH_AMD_VK=yes
CPPFLAGS+= -DHAVE_RADEONSI
.endif