git: 10a35f927ac6 - main - graphics/filament: Update 1.31.1 → 1.31.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 26 Jan 2023 05:57:13 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=10a35f927ac674112dfdd3fa91ef956a14142227

commit 10a35f927ac674112dfdd3fa91ef956a14142227
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-26 05:44:46 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-26 05:57:04 +0000

    graphics/filament: Update 1.31.1 → 1.31.2
    
    Reported by:    portscout
---
 graphics/filament/Makefile                                   |  2 +-
 graphics/filament/distinfo                                   |  6 +++---
 ...rm.cpp => patch-filament_backend_src_PlatformFactory.cpp} |  8 ++++----
 graphics/filament/pkg-plist                                  | 12 ++++++++++++
 4 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/graphics/filament/Makefile b/graphics/filament/Makefile
index 8fc036dfda96..92c02779c770 100644
--- a/graphics/filament/Makefile
+++ b/graphics/filament/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	filament
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.31.1
+DISTVERSION=	1.31.2
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/graphics/filament/distinfo b/graphics/filament/distinfo
index c91730dbebf4..3e1ec6942c19 100644
--- a/graphics/filament/distinfo
+++ b/graphics/filament/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674153432
-SHA256 (google-filament-v1.31.1_GH0.tar.gz) = f800ef014fdc123b082d18aea79050f56b6e4d6aef53b98a5d7b3bfeeff11e73
-SIZE (google-filament-v1.31.1_GH0.tar.gz) = 496334380
+TIMESTAMP = 1674705343
+SHA256 (google-filament-v1.31.2_GH0.tar.gz) = 93ef888e986b75c48c9f7f1d523f716e0b89a3b2c64d0ce5058d2c9b3213a3c6
+SIZE (google-filament-v1.31.2_GH0.tar.gz) = 496343438
diff --git a/graphics/filament/files/patch-filament_backend_src_Platform.cpp b/graphics/filament/files/patch-filament_backend_src_PlatformFactory.cpp
similarity index 80%
rename from graphics/filament/files/patch-filament_backend_src_Platform.cpp
rename to graphics/filament/files/patch-filament_backend_src_PlatformFactory.cpp
index 4e4edca1edd6..f1497e65ba5d 100644
--- a/graphics/filament/files/patch-filament_backend_src_Platform.cpp
+++ b/graphics/filament/files/patch-filament_backend_src_PlatformFactory.cpp
@@ -1,5 +1,5 @@
---- filament/backend/src/Platform.cpp.orig	2022-11-10 00:38:02 UTC
-+++ filament/backend/src/Platform.cpp
+--- filament/backend/src/PlatformFactory.cpp.orig	2023-01-26 04:37:03 UTC
++++ filament/backend/src/PlatformFactory.cpp
 @@ -41,7 +41,7 @@
      #if defined(FILAMENT_DRIVER_SUPPORTS_VULKAN)
          #include "vulkan/PlatformVkCocoa.h"
@@ -9,7 +9,7 @@
      #if defined(FILAMENT_SUPPORTS_GGP)
          #include "vulkan/PlatformVkLinuxGGP.h"
      #elif defined(FILAMENT_SUPPORTS_WAYLAND)
-@@ -121,7 +121,7 @@ DefaultPlatform* DefaultPlatform::create(Backend* back
+@@ -118,7 +118,7 @@ Platform* PlatformFactory::create(Backend* backend) no
                  return new PlatformVkAndroid();
              #elif defined(IOS)
                  return new PlatformVkCocoaTouch();
@@ -18,7 +18,7 @@
                  #if defined(FILAMENT_SUPPORTS_GGP)
                      return new PlatformVkLinuxGGP();
                  #elif defined(FILAMENT_SUPPORTS_WAYLAND)
-@@ -158,7 +158,7 @@ DefaultPlatform* DefaultPlatform::create(Backend* back
+@@ -155,7 +155,7 @@ Platform* PlatformFactory::create(Backend* backend) no
              return new PlatformCocoaTouchGL();
          #elif defined(__APPLE__)
              return new PlatformCocoaGL();
diff --git a/graphics/filament/pkg-plist b/graphics/filament/pkg-plist
index 996475dd8d1e..d5527d01e03f 100644
--- a/graphics/filament/pkg-plist
+++ b/graphics/filament/pkg-plist
@@ -17,6 +17,7 @@ bin/resgen
 bin/roughness-prefilter
 bin/specular-color
 bin/uberz
+include/backend/AcquiredImage.h
 include/backend/BufferDescriptor.h
 include/backend/CallbackHandler.h
 include/backend/DriverApiForward.h
@@ -27,8 +28,19 @@ include/backend/PixelBufferDescriptor.h
 include/backend/Platform.h
 include/backend/PresentCallable.h
 include/backend/Program.h
+include/backend/README.md
 include/backend/SamplerDescriptor.h
 include/backend/TargetBufferInfo.h
+include/backend/platforms/OpenGLPlatform.h
+include/backend/platforms/PlatformCocoaGL.h
+include/backend/platforms/PlatformCocoaTouchGL.h
+include/backend/platforms/PlatformEGL.h
+include/backend/platforms/PlatformEGLAndroid.h
+include/backend/platforms/PlatformEGLHeadless.h
+include/backend/platforms/PlatformGLX.h
+include/backend/platforms/PlatformWGL.h
+include/backend/platforms/PlatformWebGL.h
+include/backend/platforms/VulkanPlatform.h
 include/camutils/Bookmark.h
 include/camutils/Manipulator.h
 include/camutils/compiler.h