forked from dotnet/macios
-
Notifications
You must be signed in to change notification settings - Fork 1
CoreImage tvOS xcode9 beta4
Sebastien Pouliot edited this page Aug 14, 2017
·
3 revisions
#CoreImage.framework
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h 2017-06-30 02:31:34.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h 2017-07-14 02:56:15.000000000 -0400
@@ -413,7 +413,7 @@
- (nullable NSData*) HEIFRepresentationOfImage:(CIImage*)image
format:(CIFormat)format
colorSpace:(CGColorSpaceRef)colorSpace
- options:(NSDictionary*)options NS_AVAILABLE(10_13,11_0);
+ options:(NSDictionary*)options NS_AVAILABLE_IOS(11_0);
/* Render a CIImage to PNG data. Image must have a finite non-empty extent. */
/* The CGColorSpace must be kCGColorSpaceModelRGB or kCGColorSpaceModelMonochrome */
@@ -468,7 +468,7 @@
format:(CIFormat)format
colorSpace:(CGColorSpaceRef)colorSpace
options:(NSDictionary*)options
- error:(NSError **)errorPtr NS_AVAILABLE(10_12,10_0);
+ error:(NSError **)errorPtr NS_AVAILABLE_IOS(11_0);
@end
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h 2017-06-30 02:31:34.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h 2017-07-14 02:58:40.000000000 -0400
@@ -7,6 +7,12 @@
#import <CoreImage/CIImage.h>
+#if !TARGET_OS_IPHONE
+#import <IOSurface/IOSurface.h>
+#elif !TARGET_OS_SIMULATOR
+#import <IOSurface/IOSurfaceRef.h>
+#endif
+
NS_ASSUME_NONNULL_BEGIN
@protocol MTLTexture, MTLCommandBuffer;
@@ -142,8 +148,7 @@
// This memory must not be modified by the block.
@property (readonly, nonatomic) const void *baseAddress NS_RETURNS_INNER_POINTER;
-
-#if !TARGET_OS_IPHONE
+#if !TARGET_OS_SIMULATOR
// An input IOSurface that the processor block can read from.
// This surface must not be modified by the block.
@property (nonatomic, readonly) IOSurfaceRef surface;
@@ -177,8 +182,7 @@
// The base address of the output buffer that the processor block can write output pixels to.
@property (readonly, nonatomic) void *baseAddress NS_RETURNS_INNER_POINTER;
-
-#if !TARGET_OS_IPHONE
+#if !TARGET_OS_SIMULATOR
// An output IOSurface that the processor block can write to.
@property (nonatomic, readonly) IOSurfaceRef surface;
#endif