From 55e8e64a49573da4efb36ebab64ab4b1836e26d7 Mon Sep 17 00:00:00 2001 From: Ben Grater Date: Wed, 18 Jun 2025 23:04:56 -0700 Subject: [PATCH 1/2] Restored `isAndroidOpenGL` breaking change --- .../Runtime/Utils/RuntimeUtilities.cs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs index 1551ebb96e0..8e56107863f 100644 --- a/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs +++ b/com.unity.postprocessing/PostProcessing/Runtime/Utils/RuntimeUtilities.cs @@ -850,8 +850,15 @@ public static bool isVREnabled } /// - /// Returns true if the target platform is does not support compute and the selected API is OpenGL, - /// false otherwise. + /// Returns true if the target platform is Android and the selected API is OpenGL, false otherwise. + /// + public static bool isAndroidOpenGL + { + get { return Application.platform == RuntimePlatform.Android && SystemInfo.graphicsDeviceType != GraphicsDeviceType.Vulkan; } + } + + /// + /// Returns true if the selected API is OpenGLES, false otherwise. /// public static bool isOpenGLES { @@ -863,8 +870,7 @@ public static bool isOpenGLES } /// - /// Returns true if the target platform is WebGL, - /// false otherwise. + /// Returns true if the target platform is WebGL, false otherwise. /// public static bool isWebNonWebGPU { From fa7961686d1f2babd45a3acaf1f3939696bd1b2e Mon Sep 17 00:00:00 2001 From: Ben Grater Date: Wed, 18 Jun 2025 23:05:26 -0700 Subject: [PATCH 2/2] Update CHANGELOG --- com.unity.postprocessing/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.unity.postprocessing/CHANGELOG.md b/com.unity.postprocessing/CHANGELOG.md index 440d007503b..93505f3f292 100644 --- a/com.unity.postprocessing/CHANGELOG.md +++ b/com.unity.postprocessing/CHANGELOG.md @@ -11,8 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Remove support for PVRTC format in Unity 6.1 or newer -- Fixed issue with FastSign on WebGL/Safari (IN-71005) - Fixed compute based effects not supported on OpenGLES +- Fixed issue with FastSign on WebGL/Safari (IN-71005) - Documentation updates ## [3.4.0] - 2023-12-11