mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
graphics/filament: update 1.52.0 → 1.52.1
Reported by: portscout
This commit is contained in:
parent
5027adffbb
commit
c5443fbae7
@ -1,6 +1,6 @@
|
||||
PORTNAME= filament
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.52.0
|
||||
DISTVERSION= 1.52.1
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1716438163
|
||||
SHA256 (google-filament-v1.52.0_GH0.tar.gz) = a084b24d610cd6911d99487ed3ebd9fc7754f9cfff3874bba02ebcfcf0cf37ec
|
||||
SIZE (google-filament-v1.52.0_GH0.tar.gz) = 502783730
|
||||
TIMESTAMP = 1717059112
|
||||
SHA256 (google-filament-v1.52.1_GH0.tar.gz) = 74d56947adf9856a7330a05464de3d024e25f3fca1cc8707468e8abd2c1313aa
|
||||
SIZE (google-filament-v1.52.1_GH0.tar.gz) = 502788948
|
||||
|
@ -1,15 +1,15 @@
|
||||
--- filament/backend/src/PlatformFactory.cpp.orig 2023-05-30 23:22:31 UTC
|
||||
--- filament/backend/src/PlatformFactory.cpp.orig 2024-05-29 23:19:39 UTC
|
||||
+++ filament/backend/src/PlatformFactory.cpp
|
||||
@@ -32,7 +32,7 @@
|
||||
#if defined(FILAMENT_SUPPORTS_OPENGL) && !defined(FILAMENT_USE_EXTERNAL_GLES3) && !defined(FILAMENT_USE_SWIFTSHADER)
|
||||
#if defined(FILAMENT_SUPPORTS_OPENGL) && !defined(FILAMENT_USE_EXTERNAL_GLES3)
|
||||
#include <backend/platforms/PlatformCocoaGL.h>
|
||||
#endif
|
||||
-#elif defined(__linux__)
|
||||
+#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
#if defined(FILAMENT_SUPPORTS_X11)
|
||||
#if defined(FILAMENT_SUPPORTS_OPENGL) && !defined(FILAMENT_USE_EXTERNAL_GLES3) && !defined(FILAMENT_USE_SWIFTSHADER)
|
||||
#if defined(FILAMENT_SUPPORTS_OPENGL) && !defined(FILAMENT_USE_EXTERNAL_GLES3)
|
||||
#include "backend/platforms/PlatformGLX.h"
|
||||
@@ -120,7 +120,7 @@ Platform* PlatformFactory::create(Backend* backend) no
|
||||
@@ -119,7 +119,7 @@ Platform* PlatformFactory::create(Backend* backend) no
|
||||
return new PlatformCocoaTouchGL();
|
||||
#elif defined(__APPLE__)
|
||||
return new PlatformCocoaGL();
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- filament/backend/src/vulkan/platform/VulkanPlatformAndroidLinuxWindows.cpp.orig 2023-11-15 05:34:54 UTC
|
||||
--- filament/backend/src/vulkan/platform/VulkanPlatformAndroidLinuxWindows.cpp.orig 2024-05-29 23:19:39 UTC
|
||||
+++ filament/backend/src/vulkan/platform/VulkanPlatformAndroidLinuxWindows.cpp
|
||||
@@ -30,7 +30,7 @@
|
||||
@@ -36,7 +36,7 @@
|
||||
// Platform specific includes and defines
|
||||
#if defined(__ANDROID__)
|
||||
#include <android/native_window.h>
|
||||
@ -9,16 +9,16 @@
|
||||
#include <dlfcn.h>
|
||||
namespace {
|
||||
typedef struct _wl {
|
||||
@@ -84,7 +84,7 @@ VulkanPlatform::ExtensionSet VulkanPlatform::getRequir
|
||||
VulkanPlatform::ExtensionSet ret;
|
||||
#if defined(__ANDROID__)
|
||||
ret.insert("VK_KHR_android_surface");
|
||||
- #elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND)
|
||||
+ #elif defined(LINUX_OR_FREEBSD) && defined(FILAMENT_SUPPORTS_WAYLAND)
|
||||
ret.insert("VK_KHR_wayland_surface");
|
||||
#elif LINUX_OR_FREEBSD && defined(FILAMENT_SUPPORTS_X11)
|
||||
#if defined(FILAMENT_SUPPORTS_XCB)
|
||||
@@ -117,7 +117,7 @@ VulkanPlatform::SurfaceBundle VulkanPlatform::createVk
|
||||
@@ -90,7 +90,7 @@ VulkanPlatform::ExtensionSet VulkanPlatform::getSwapch
|
||||
VulkanPlatform::ExtensionSet const ret = {
|
||||
#if defined(__ANDROID__)
|
||||
VK_KHR_ANDROID_SURFACE_EXTENSION_NAME,
|
||||
-#elif defined(__linux__) && defined(FILAMENT_SUPPORTS_WAYLAND)
|
||||
+#elif defined(LINUX_OR_FREEBSD) && defined(FILAMENT_SUPPORTS_WAYLAND)
|
||||
VK_KHR_WAYLAND_SURFACE_EXTENSION_NAME,
|
||||
#elif defined(LINUX_OR_FREEBSD) && defined(FILAMENT_SUPPORTS_X11)
|
||||
#if defined(FILAMENT_SUPPORTS_XCB)
|
||||
@@ -124,7 +124,7 @@ VulkanPlatform::SurfaceBundle VulkanPlatform::createVk
|
||||
VkResult const result = vkCreateAndroidSurfaceKHR(instance, &createInfo, VKALLOC,
|
||||
(VkSurfaceKHR*) &surface);
|
||||
ASSERT_POSTCONDITION(result == VK_SUCCESS, "vkCreateAndroidSurfaceKHR error.");
|
||||
|
@ -168,6 +168,7 @@ include/utils/debug.h
|
||||
include/utils/generic/Mutex.h
|
||||
include/utils/memalign.h
|
||||
include/utils/ostream.h
|
||||
include/utils/sstream.h
|
||||
include/utils/unwindows.h
|
||||
include/viewer/AutomationEngine.h
|
||||
include/viewer/AutomationSpec.h
|
||||
|
Loading…
Reference in New Issue
Block a user