mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
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)
This commit is contained in:
parent
51825d7f5e
commit
c913da8a18
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541124
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user