Skip to content

MetalFX macOS xcode15.0 b1

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_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXSpatialScaler.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXSpatialScaler.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXSpatialScaler.h	2023-03-09 19:10:15
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXSpatialScaler.h	2023-05-31 08:34:43
@@ -18,7 +18,7 @@
 @protocol MTLFXSpatialScaler;
 
 API_AVAILABLE(macos(13.0), ios(16.0))
-@interface MTLFXSpatialScalerDescriptor : NSObject
+@interface MTLFXSpatialScalerDescriptor : NSObject <NSCopying>
 
 // These properties must be set to the respective Metal pixel formats for each texture that will be used with the scaler.
 @property (readwrite, nonatomic) MTLPixelFormat colorTextureFormat;
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h	2023-03-09 23:54:37
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MetalFX.framework/Headers/MTLFXTemporalScaler.h	2023-05-31 04:47:52
@@ -11,7 +11,10 @@
 @protocol MTLFXTemporalScaler;
 
 API_AVAILABLE(macos(13.0), ios(16.0))
-@interface MTLFXTemporalScalerDescriptor : NSObject
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
+@interface MTLFXTemporalScalerDescriptor : NSObject <NSCopying>
 
 // These properties must be set to the respective Metal pixel formats for each texture that will be used with the scaler.
 @property (readwrite, nonatomic) MTLPixelFormat colorTextureFormat;
@@ -49,6 +52,9 @@
 
 // This is the object that gets created from the descriptor
 API_AVAILABLE(macos(13.0), ios(16.0))
+#if defined(TARGET_OS_XR) && TARGET_OS_XR
+API_UNAVAILABLE(xros)
+#endif
 @protocol MTLFXTemporalScaler <NSObject>
 
 // Properties return the minimum required MTLTextureUsage bits required
Clone this wiki locally