Skip to content

CoreImage tvOS xcode14.3 beta1

Alex Soto edited this page Feb 16, 2023 · 2 revisions

#CoreImage.framework

diff -ruN /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h
--- /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h	2022-11-10 19:16:17
+++ /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h	2023-02-11 16:43:32
@@ -12,7 +12,13 @@
 #import <CoreImage/CoreImageDefines.h>
 #import <CoreVideo/CoreVideo.h>
 
-#if TARGET_OS_IPHONE && (TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR || !TARGET_OS_MACCATALYST)
+#if TARGET_OS_IPHONE && !TARGET_OS_MACCATALYST
+  #define COREIMAGE_SUPPORTS_OPENGLES 1
+#else
+  #define COREIMAGE_SUPPORTS_OPENGLES 0
+#endif 
+
+#if COREIMAGE_SUPPORTS_OPENGLES
  #import <OpenGLES/EAGL.h>
 #elif TARGET_OS_OSX
  #import <OpenGL/CGLTypes.h>
@@ -155,7 +161,7 @@
  *
  * The [context drawImage:...] render methods will render to the EAGLContext.
  */
-#if TARGET_OS_IPHONE && (TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR || !TARGET_OS_MACCATALYST)
+#if COREIMAGE_SUPPORTS_OPENGLES
 + (CIContext *)contextWithEAGLContext:(EAGLContext *)eaglContext
     CI_GL_DEPRECATED_IOS(5_0,12_0);
 
diff -ruN /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h
--- /Applications/Xcode_14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h	2022-11-10 19:18:39
+++ /Applications/Xcode_14.3.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h	2023-02-11 22:22:09
@@ -106,7 +106,7 @@
 #endif
 
 // Override this class property to return false if you want your processor to be given
-// CIImageProcessorInput objects that have not been synchonized for CPU access.
+// CIImageProcessorInput objects that have not been synchronized for CPU access.
 //
 // Generally, if your subclass uses the GPU your should override this method to return false.
 // If not overridden, true is returned.
@@ -120,7 +120,7 @@
 
 // Call this method on your CIImageProcessorKernel subclass to create a new CIImage of the specified extent.
 // The inputs and arguments will be retained so that your subclass can be called when the image is drawn.
-// Arguments is a dictionary containing inmutable objects of type NSData, NSString, NSNumber,
+// Arguments is a dictionary containing immutable objects of type NSData, NSString, NSNumber,
 // CIVector or CIColor.
 //
 // This method will return [CIImage emptyImage] if extent is empty.
@@ -170,7 +170,7 @@
 // This texture must not be modified by the block.
 @property (nonatomic, readonly, nullable) id<MTLTexture> metalTexture;
 
-// A 64-bit digest that uniquely descibes the contents of the input to a processor.
+// A 64-bit digest that uniquely describes the contents of the input to a processor.
 // This digest will change if the graph of the input changes in any way.
 @property (nonatomic, readonly) uint64_t digest NS_AVAILABLE(13_0, 16_0);
 
@@ -208,7 +208,7 @@
 // Returns a MTLCommandBuffer that can be used for encoding commands (if rendering using Metal).
 @property (nonatomic, readonly, nullable) id<MTLCommandBuffer> metalCommandBuffer;
 
-// A 64-bit digest that uniquely descibes the contents of the output of a processor.
+// A 64-bit digest that uniquely describes the contents of the output of a processor.
 // This digest will change if the graph up to and including the output of the processor changes in any way.
 @property (nonatomic, readonly) uint64_t digest NS_AVAILABLE(13_0, 16_0);
 
Clone this wiki locally