Skip to content

CoreImage macOS xcode13.0 beta3

Rachel Kang edited this page Aug 31, 2021 · 3 revisions

#CoreImage.framework https://github.com/xamarin/xamarin-macios/pull/12601

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h	2021-06-22 17:36:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h	2021-07-13 00:41:16.000000000 -0400
@@ -54,6 +54,14 @@
  */
 + (nullable NSArray<CIKernel *> *)kernelsWithString:(NSString *)string  CIKL_DEPRECATED(10_4,10_14, 8_0,12_0);
 
+/* The string argument should contain a program in the Metal Language.
+ * All the kernel functions in the program are converted to instances of a CIKernel objects
+ * and returned in an array.
+ * The array will contain instances of CIKernel, CIColorKernel or CIWarpKernel classes.
+ * The kernels will only be usable on Metal-backed CIContext on a device that 'supportsDynamicLibraries'
+ */
++ (nullable NSArray<CIKernel *> *)kernelsWithMetalString:(NSString *)source error:(NSError **)error NS_AVAILABLE(12_0, 15_0);
+
 /* The string argument should contain a program with one kernel.
  * On OSX 10.10 and before, this returns a CIKernel object.
  * On OSX after 10.10, this returns a CIKernel, CIColorKernel, or CIWarpKernel object.
Clone this wiki locally