Skip to content

MetalFX iOS xcode15.0 b3

Manuel de la Pena edited this page Sep 27, 2023 · 3 revisions

#MetalFX.framework https://github.com/xamarin/xamarin-macios/pull/19107

diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h	2023-06-08 14:41:47
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h	2023-06-23 16:32:33
@@ -45,6 +45,10 @@
 // Metal device.
 - (nullable id <MTLFXTemporalScaler>)newTemporalScalerWithDevice:(nonnull id<MTLDevice>)device;
 
+// Class methods for querying supported min/max input content scale.
++ (float)supportedInputContentMinScaleForDevice:(nonnull id<MTLDevice>)device API_AVAILABLE(macos(14.0), ios(17.0));
++ (float)supportedInputContentMaxScaleForDevice:(nonnull id<MTLDevice>)device API_AVAILABLE(macos(14.0), ios(17.0));
+
 // Class method for determining support
 + (BOOL)supportsDevice:(nonnull id<MTLDevice>)device;
 
diff -ruN /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.apinotes /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.apinotes
--- /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.apinotes	2023-06-08 14:54:24
+++ /Applications/Xcode_15.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MetalFX.apinotes	2023-06-23 16:31:39
@@ -11,6 +11,12 @@
   - Selector: 'newTemporalScalerWithDevice:'
     SwiftName: makeTemporalScaler(device:)
     MethodKind: Instance
+  - Selector: 'supportedInputContentMinScaleForDevice:'
+    SwiftName: supportedInputContentMinScale(device:)
+    MethodKind: Class
+  - Selector: 'supportedInputContentMaxScaleForDevice:'
+    SwiftName: supportedInputContentMaxScale(device:)
+    MethodKind: Class
 Protocols:
 - Name: MTLFXSpatialScaler
   Methods:
Clone this wiki locally