From nobody Fri Jun 09 01:44:51 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QckR82D3zz4cJwf; Fri, 9 Jun 2023 01:44:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QckR81kGmz3wCw; Fri, 9 Jun 2023 01:44:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686275092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nI8QxLVY5sRcqVbKcvq6fhopNJdj4C5W9lGkTtD7ACo=; b=R4sG0zFBkcpjlPRen5rfM0Y8A1LgoyGOYH8xteK6cwU94chmD2qTnDyMmP5CL1VeQnGQhP sUbA3IWGrg8NY2N60LYpJzTqWcsKbY6oBbOOw46w/uSYL7Y3XvMHiUAx4ThnY0q8ChVruz zJSqicny/D0I0kT3h6gJTQ1TDDEsUxBEspfYZ40sQ3zm9ISgxbrrxJeWwciRhulEAvCpBK upEL8Oslca3SDHsCL7av7YJ1hmqGunNMGkCpdLuVuGrTSxFG3lMwqNWUeYZcXosq0yAOQq DUrzVVvSELiWfDZ5tkrL/6d+4fgLTr5ywgMqYdZmU+757Arvd3m9p/uY1k/AkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686275092; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nI8QxLVY5sRcqVbKcvq6fhopNJdj4C5W9lGkTtD7ACo=; b=J8PfMpczrLd1/IeTXp6EmWy64jP743N7Ih9lwRVgog6BUeVLwlO7mcaGkNWVarBYZZNZ27 jpicOKlQkAuMz4Z38rn5ZsrImB3ZXg14D2VZHIf+Bd2DS4jw95piiHxF6yVw97NuGAZadg Xlu0G7FfACG5cJs/mBOy8Ly5WqHZrcDKVTm1zuJaCRGoWMqZK370C+LldFWlxUN4rWS2yZ Px2Y2GKIbqN6f1vipIKkxkAkTBGhMNagVUcTmAs15TUxUnL6aqj5y/9Z8eV/9BIsoiCy1l 6mlyHiyWIm3VdXwuZoD2mD7eTPygwzLuNwxHD/j3/NRcwWUtOZ4qYPGWlI31vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686275092; a=rsa-sha256; cv=none; b=o43tKpswFQ/tGsnYcumDxiC2nbpkg1JaBs32m673RCNHordJeHDKrDpz3Y5ipY4yPrTZJp qT4uX/EPRPNgCDJo51KIr4VPsILwDIB0Seqc6DjvV2fd3VwQKLqqZ3PpgeWHTOeSLzy3t9 R9Ynig3bK47X6zYxw9a9Amn24YdeVsuZd/yz2KUexdAbxedXvzsxShDrZ+g7XSd4/z6GA1 AaPB6VIhTlvOuOBZrunHH0P9ePbiAtQ/xGjx/FiUXvvvqBS5cpU5agiXN8WmW/22vrRO2i JoUN/oUjL8iEdOK3irDh9Ft2ec42KifoG7oJ8NqEu91duq3KUJGWzTtJ4tgUAA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QckR80blKzHWt; Fri, 9 Jun 2023 01:44:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3591ip3d072746; Fri, 9 Jun 2023 01:44:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3591ipsi072745; Fri, 9 Jun 2023 01:44:51 GMT (envelope-from git) Date: Fri, 9 Jun 2023 01:44:51 GMT Message-Id: <202306090144.3591ipsi072745@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: e7e4175c6e83 - main - =?utf-8?Q?graphics/filament:=20Update=201.37.0=20=E2=86=92=201.38.0?= List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7e4175c6e8309d1283ebf7314ac9ab3c2e8b20b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7e4175c6e8309d1283ebf7314ac9ab3c2e8b20b commit e7e4175c6e8309d1283ebf7314ac9ab3c2e8b20b Author: Yuri Victorovich AuthorDate: 2023-06-09 01:44:39 +0000 Commit: Yuri Victorovich CommitDate: 2023-06-09 01:44:39 +0000 graphics/filament: Update 1.37.0 → 1.38.0 Reported by: portscout --- graphics/filament/Makefile | 2 +- graphics/filament/distinfo | 6 +-- ...platform_VulkanPlatformAndroidLinuxWindows.cpp} | 53 +++++++++++++--------- 3 files changed, 36 insertions(+), 25 deletions(-) diff --git a/graphics/filament/Makefile b/graphics/filament/Makefile index c9e5453f2e31..e1a01d239a90 100644 --- a/graphics/filament/Makefile +++ b/graphics/filament/Makefile @@ -1,6 +1,6 @@ PORTNAME= filament DISTVERSIONPREFIX= v -DISTVERSION= 1.37.0 +DISTVERSION= 1.38.0 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org diff --git a/graphics/filament/distinfo b/graphics/filament/distinfo index fbdc1556c4bc..01761fcd06c6 100644 --- a/graphics/filament/distinfo +++ b/graphics/filament/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1685637225 -SHA256 (google-filament-v1.37.0_GH0.tar.gz) = 7d9504b19615975bf834c1e0225bc818145e16e0b59336938756f07d0906d8fb -SIZE (google-filament-v1.37.0_GH0.tar.gz) = 500505901 +TIMESTAMP = 1686269588 +SHA256 (google-filament-v1.38.0_GH0.tar.gz) = 905df6a0078be147fc78fce5b2d5ae9d0cf5a25e849c0e439fdf6f00c8464be4 +SIZE (google-filament-v1.38.0_GH0.tar.gz) = 500623474 diff --git a/graphics/filament/files/patch-filament_backend_src_vulkan_platform_PlatformVulkanAndroidLinuxWindows.cpp b/graphics/filament/files/patch-filament_backend_src_vulkan_platform_VulkanPlatformAndroidLinuxWindows.cpp similarity index 55% rename from graphics/filament/files/patch-filament_backend_src_vulkan_platform_PlatformVulkanAndroidLinuxWindows.cpp rename to graphics/filament/files/patch-filament_backend_src_vulkan_platform_VulkanPlatformAndroidLinuxWindows.cpp index 29208b26ecfd..74cdbf43622a 100644 --- a/graphics/filament/files/patch-filament_backend_src_vulkan_platform_PlatformVulkanAndroidLinuxWindows.cpp +++ b/graphics/filament/files/patch-filament_backend_src_vulkan_platform_VulkanPlatformAndroidLinuxWindows.cpp @@ -1,51 +1,62 @@ -- workaround for https://github.com/google/filament/issues/6861 - ---- filament/backend/src/vulkan/platform/PlatformVulkanAndroidLinuxWindows.cpp.orig 2023-06-01 16:53:44 UTC -+++ filament/backend/src/vulkan/platform/PlatformVulkanAndroidLinuxWindows.cpp +--- filament/backend/src/vulkan/platform/VulkanPlatformAndroidLinuxWindows.cpp.orig 2023-06-09 00:40:30 UTC ++++ filament/backend/src/vulkan/platform/VulkanPlatformAndroidLinuxWindows.cpp +@@ -26,9 +26,9 @@ + // Platform specific includes and defines + #if defined(__ANDROID__) + #include +-#elif defined(__linux__) && defined(FILAMENT_SUPPORTS_GGP) ++#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_GGP) + #include +-#elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND) ++#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_WAYLAND) + #include + namespace { + typedef struct _wl { @@ -38,7 +38,7 @@ uint32_t height; } wl; }// anonymous namespace -#elif defined(__linux__) && defined(FILAMENT_SUPPORTS_X11) +#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_X11) + // TODO: we should allow for headless on Linux explicitly. Right now this is the headless path + // (with no FILAMENT_SUPPORTS_XCB or FILAMENT_SUPPORTS_XLIB). #include - #if defined(FILAMENT_SUPPORTS_XCB) - #include -@@ -83,11 +83,11 @@ Driver* PlatformVulkan::createDriver(void* const share - static const char* requiredInstanceExtensions[] = { +@@ -82,11 +82,11 @@ VulkanPlatform::ExtensionSet VulkanPlatform::getRequir + VulkanPlatform::ExtensionSet ret; #if defined(__ANDROID__) - "VK_KHR_android_surface", + ret.insert("VK_KHR_android_surface"); - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_GGP) + #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_GGP) - VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME, - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND) - "VK_KHR_wayland_surface", + ret.insert(VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME); +- #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND) ++ #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_WAYLAND) + ret.insert("VK_KHR_wayland_surface"); - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_X11) + #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_X11) #if defined(FILAMENT_SUPPORTS_XCB) - "VK_KHR_xcb_surface", + ret.insert("VK_KHR_xcb_surface"); #endif -@@ -121,7 +121,7 @@ PlatformVulkan::SurfaceBundle PlatformVulkan::createVk +@@ -117,7 +117,7 @@ VulkanPlatform::SurfaceBundle VulkanPlatform::createVk VkResult const result = vkCreateAndroidSurfaceKHR(instance, &createInfo, VKALLOC, - (VkSurfaceKHR*) &bundle.surface); + (VkSurfaceKHR*) &surface); ASSERT_POSTCONDITION(result == VK_SUCCESS, "vkCreateAndroidSurfaceKHR error."); - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_GGP) + #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_GGP) VkStreamDescriptorSurfaceCreateInfoGGP const surface_create_info = { .sType = VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP, .streamDescriptor = kGgpPrimaryStreamDescriptor, -@@ -135,7 +135,7 @@ PlatformVulkan::SurfaceBundle PlatformVulkan::createVk +@@ -131,7 +131,7 @@ VulkanPlatform::SurfaceBundle VulkanPlatform::createVk VkResult const result = fpCreateStreamDescriptorSurfaceGGP(instance, &surface_create_info, - nullptr, (VkSurfaceKHR*) &bundle.surface); + nullptr, (VkSurfaceKHR*) &surface); ASSERT_POSTCONDITION(result == VK_SUCCESS, "vkCreateStreamDescriptorSurfaceGGP error."); - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND) + #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_WAYLAND) wl* ptrval = reinterpret_cast(nativeWindow); - bundle.width = ptrval->width; - bundle.height = ptrval->height; -@@ -150,7 +150,7 @@ PlatformVulkan::SurfaceBundle PlatformVulkan::createVk + extent.width = ptrval->width; + extent.height = ptrval->height; +@@ -146,7 +146,7 @@ VulkanPlatform::SurfaceBundle VulkanPlatform::createVk VkResult const result = vkCreateWaylandSurfaceKHR(instance, &createInfo, VKALLOC, - (VkSurfaceKHR*) &bundle.surface); + (VkSurfaceKHR*) &surface); ASSERT_POSTCONDITION(result == VK_SUCCESS, "vkCreateWaylandSurfaceKHR error."); - #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_X11) + #elif (defined(__linux__) || defined(__FreeBSD__)) && defined(FILAMENT_SUPPORTS_X11)