commit: 4d3c82abc28301dd617780a210b8652fb288ab07 Author: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail <DOT> com> AuthorDate: Thu Jun 18 14:55:29 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Tue Aug 11 19:42:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3c82ab
media-libs/mesa: Enable Zink OpenGL-over-Vulkan gallium driver Run "MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo" to view OpenGL features supported by the Zink driver. Closes: https://bugs.gentoo.org/708838 Closes: https://github.com/gentoo/gentoo/pull/16309 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b <AT> gmail.com> Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/mesa/mesa-9999.ebuild | 5 ++++- media-libs/mesa/metadata.xml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 36c5b235d2d..311d46e53a9 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -37,7 +37,7 @@ done IUSE="${IUSE_VIDEO_CARDS} +classic d3d9 debug +dri3 +egl +gallium +gbm gles1 +gles2 +libglvnd +llvm lm-sensors opencl osmesa selinux test unwind vaapi valgrind vdpau vulkan - vulkan-overlay wayland +X xa xvmc +zstd" + vulkan-overlay wayland +X xa xvmc zink +zstd" REQUIRED_USE=" d3d9? ( dri3 || ( video_cards_iris video_cards_r300 video_cards_r600 video_cards_radeonsi video_cards_nouveau video_cards_vmware ) ) @@ -68,6 +68,7 @@ REQUIRED_USE=" video_cards_vmware? ( gallium ) xa? ( X ) xvmc? ( X ) + zink? ( gallium vulkan ) " LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.100" @@ -127,6 +128,7 @@ RDEPEND=" >=x11-libs/libxcb-1.13:=[${MULTILIB_USEDEP}] x11-libs/libXfixes:=[${MULTILIB_USEDEP}] ) + zink? ( media-libs/vulkan-loader:=[${MULTILIB_USEDEP}] ) zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) " for card in ${RADEON_CARDS}; do @@ -439,6 +441,7 @@ multilib_src_configure() { gallium_enable video_cards_vivante etnaviv gallium_enable video_cards_vmware svga gallium_enable video_cards_nouveau nouveau + gallium_enable zink zink # Only one i915 driver (classic vs gallium). Default to classic. if ! use classic; then diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index d2020b8e602..8aecc5f6608 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -26,6 +26,7 @@ <flag name="wayland">Enable support for dev-libs/wayland</flag> <flag name="xa">Enable the XA (X Acceleration) API for Gallium3D.</flag> <flag name="xvmc">Enable the XvMC acceleration interface for the Gallium3D Video Layer.</flag> + <flag name="zink">Enable the Zink OpenGL-over-Vulkan Gallium driver</flag> </use> <upstream> <remote-id type="cpe">cpe:/a:mesa3d:mesa</remote-id>
