From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3007B13835A for ; Tue, 11 Aug 2020 19:42:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3398CE0845; Tue, 11 Aug 2020 19:42:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19737E0845 for ; Tue, 11 Aug 2020 19:42:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0342F34F2E8 for ; Tue, 11 Aug 2020 19:42:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68CFB274 for ; Tue, 11 Aug 2020 19:42:32 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1597174935.4d3c82abc28301dd617780a210b8652fb288ab07.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/mesa/mesa-9999.ebuild media-libs/mesa/metadata.xml X-VCS-Directories: media-libs/mesa/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 4d3c82abc28301dd617780a210b8652fb288ab07 X-VCS-Branch: master Date: Tue, 11 Aug 2020 19:42:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 04bc56bb-c3c4-496a-a538-cb44c9ac4b6f X-Archives-Hash: 5c5181b52657d57bfdc3a92d81abeef6 commit: 4d3c82abc28301dd617780a210b8652fb288ab07 Author: Jan Ziak <0xe2.0x9a.0x9b gmail com> AuthorDate: Thu Jun 18 14:55:29 2020 +0000 Commit: Matt Turner gentoo 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 gmail.com> Signed-off-by: Matt Turner 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 @@ Enable support for dev-libs/wayland Enable the XA (X Acceleration) API for Gallium3D. Enable the XvMC acceleration interface for the Gallium3D Video Layer. + Enable the Zink OpenGL-over-Vulkan Gallium driver cpe:/a:mesa3d:mesa