diff options
author | Rafael Sadowski <rsadowski@cvs.openbsd.org> | 2024-07-19 14:40:40 +0000 |
---|---|---|
committer | Rafael Sadowski <rsadowski@cvs.openbsd.org> | 2024-07-19 14:40:40 +0000 |
commit | e7fa8c1329c7f2e8efdf337422fbd231802209f2 (patch) | |
tree | a01571900c920cdfaf38056d5f93d8ca9acacf24 | |
parent | 7c46e1e203332a31e9c242fbe70064360c693fcd (diff) |
Enable VA-API gallium frontend
-rw-r--r-- | lib/mesa/mk/libva_st/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/mesa/mk/libva_st/Makefile b/lib/mesa/mk/libva_st/Makefile new file mode 100644 index 000000000..623dee2d4 --- /dev/null +++ b/lib/mesa/mk/libva_st/Makefile @@ -0,0 +1,50 @@ +# $OpenBSD: Makefile,v 1.1 2024/07/19 14:40:39 rsadowski Exp $ + +.include <bsd.xconf.mk> + +LIB= va_st + +NOPROFILE= + +SRCS= buffer.c \ + config.c \ + context.c \ + display.c \ + image.c \ + picture.c \ + picture_av1.c \ + picture_av1_enc.c \ + picture_h264.c \ + picture_h264_enc.c \ + picture_hevc.c \ + picture_hevc_enc.c \ + picture_mjpeg.c \ + picture_mpeg12.c \ + picture_mpeg4.c \ + picture_vc1.c \ + picture_vp9.c \ + postproc.c \ + subpicture.c \ + surface.c + +.include "../Makefile.inc" + +CFLAGS+= ${C_VIS_ARGS} +CXXFLAGS+= ${CXX_VIS_ARGS} + +# XXX keep in sync with libva +CFLAGS += -DVA_DRIVER_INIT_FUNC=__vaDriverInit_1_22 +CPPFLAGS += -DVA_DRIVER_INIT_FUNC=__vaDriverInit_1_22 + +CPPFLAGS+= -I${MESA_SRC}/src/gallium/frontends/va \ + -I${MESA_SRC}/src/gallium/include \ + -I${MESA_SRC}/src/gallium/auxiliary + +install: + +obj: _xenocara_obj + +.include <bsd.lib.mk> +.include <bsd.xorg.mk> + +.PATH: ${MESA_SRC}/src/gallium/frontends/va |