svn commit: r541124 - head/graphics/mesa-dri

Emmanuel Vadot manu at FreeBSD.org
Fri Jul 3 17:13:15 UTC 2020


Author: manu
Date: Fri Jul  3 17:13:14 2020
New Revision: 541124
URL: https://svnweb.freebsd.org/changeset/ports/541124

Log:
  mesa-dri: Use gallium SWRAST on x86 and aarch64
  
  Mesa have two software rasterizer, the classic mesa dri one and
  the gallium one.
  The classic dri one is starting to be deprecated upstream (like all
  dri drivers) so switch the arches that can build the gallium one to it.
  
  Approved by:	zeising (x11)

Modified:
  head/graphics/mesa-dri/Makefile
  head/graphics/mesa-dri/pkg-plist

Modified: head/graphics/mesa-dri/Makefile
==============================================================================
--- head/graphics/mesa-dri/Makefile	Fri Jul  3 17:00:44 2020	(r541123)
+++ head/graphics/mesa-dri/Makefile	Fri Jul  3 17:13:14 2020	(r541124)
@@ -3,7 +3,7 @@
 
 PORTNAME=	mesa-dri
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL hardware acceleration drivers for DRI2+
@@ -42,8 +42,10 @@ ALL_DRI_DRIVERS=	I915 I965 R100 R200 SWRAST
 ALL_GALLIUM_DRIVERS=	R300 R600 RADEONSI SVGA SWRAST
 ALL_VULKAN_DRIVERS=	INTEL AMD
 
-.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH:Marm*} || ${ARCH} == i386 || ${ARCH:Mmips*} || ${ARCH:Mpowerpc*}
-DRI_DRIVERS=	SWRAST	# llvmpipe
+.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386
+GALLIUM_DRIVERS+=	SWRAST	# llvmpipe
+.elif ${ARCH:Marm*} || ${ARCH:Mmips*} || ${ARCH:Mpowerpc*}
+DRI_DRIVERS+=		SWRAST # Mesa Classic swrast
 .endif
 
 .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == i386 \

Modified: head/graphics/mesa-dri/pkg-plist
==============================================================================
--- head/graphics/mesa-dri/pkg-plist	Fri Jul  3 17:00:44 2020	(r541123)
+++ head/graphics/mesa-dri/pkg-plist	Fri Jul  3 17:13:14 2020	(r541124)
@@ -17,6 +17,7 @@ include/GL/internal/dri_interface.h
 %%RADEONSI_GDRIVER%%lib/dri/radeonsi_dri.so
 %%VAAPI%%%%RADEONSI_GDRIVER%%lib/dri/radeonsi_drv_video.so
 %%SWRAST_DRIVER%%lib/dri/swrast_dri.so
+%%SWRAST_GDRIVER%%lib/dri/swrast_dri.so
 %%SVGA_GDRIVER%%lib/dri/vmwgfx_dri.so
 %%PLATFORM_X11%%%%R600_GDRIVER%%lib/libXvMCr600.so
 %%PLATFORM_X11%%%%R600_GDRIVER%%lib/libXvMCr600.so.1


More information about the svn-ports-all mailing list