diff options
author | Rafael Sadowski <rsadowski@cvs.openbsd.org> | 2024-07-19 14:42:34 +0000 |
---|---|---|
committer | Rafael Sadowski <rsadowski@cvs.openbsd.org> | 2024-07-19 14:42:34 +0000 |
commit | 70fbca4ac9b46f0973bd5ebb7d0ce62addd57820 (patch) | |
tree | 8c29cd3d8bd509c9122a1364465d2f8b8b0ee3ca | |
parent | 2eb51ef5593b782e96f48360e6cbb1e0b5a05351 (diff) |
Enable VA-API in xenocara
-rw-r--r-- | MODULES | 3 | ||||
-rw-r--r-- | lib/Makefile | 3 | ||||
-rw-r--r-- | lib/mesa/mk/Makefile | 5 | ||||
-rw-r--r-- | lib/mesa/mk/config.mk | 2 |
4 files changed, 10 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: MODULES,v 1.523 2024/07/11 08:29:54 matthieu Exp $ +# $OpenBSD: MODULES,v 1.524 2024/07/19 14:42:33 rsadowski Exp $ # # X.Org maintained modules # @@ -177,6 +177,7 @@ lib/libXxf86dga 1.1.6 lib/libXxf86vm 1.1.5 lib/libfontenc 1.1.8 lib/libpciaccess 0.18.1 +lib/libva 2.22.0 lib/libxcb 1.17.0 needs-update lib/libxcvt 0.1.2 lib/libxkbfile 1.1.3 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 |