From 5f220b754941e4b99ac63399900c55670ac6c428 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 15 Oct 2020 13:53:20 -0400 Subject: [PATCH] [coreimage] Update for Xcode 12.1 GM (#9886) --- src/coreimage.cs | 30 +++++++++++++++++++++++++++ tests/xtro-sharpie/iOS-CoreImage.todo | 4 ---- 2 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 tests/xtro-sharpie/iOS-CoreImage.todo diff --git a/src/coreimage.cs b/src/coreimage.cs index b096d962a2..39c8b5ef17 100644 --- a/src/coreimage.cs +++ b/src/coreimage.cs @@ -506,6 +506,12 @@ namespace CoreImage { [Export ("depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:orientation:options:")] [return: NullAllowed] CIFilter GetDepthBlurEffectFilter (CIImage image, CIImage disparityImage, [NullAllowed] CIImage portraitEffectsMatte, [NullAllowed] CIImage hairSemanticSegmentation, CGImagePropertyOrientation orientation, [NullAllowed] NSDictionary options); + + [iOS (14,1)] + [NoTV][NoMac] + [Export ("depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:glassesMatte:gainMap:orientation:options:")] + [return: NullAllowed] + CIFilter GetDepthBlurEffectFilter (CIImage image, CIImage disparityImage, [NullAllowed] CIImage portraitEffectsMatte, [NullAllowed] CIImage hairSemanticSegmentation, [NullAllowed] CIImage glassesMatte, [NullAllowed] CIImage gainMap, CGImagePropertyOrientation orientation, [NullAllowed] NSDictionary options); } [BaseType (typeof (NSObject))] @@ -1327,6 +1333,14 @@ namespace CoreImage { [iOS (13,0)][TV (13,0)][Mac (10,15)] bool AuxiliarySemanticSegmentationTeethMatte { get; set; } + + [iOS (14,1)] + [NoTV][NoMac] + bool AuxiliarySemanticSegmentationGlassesMatte { get; set; } + + [iOS (14,1)] + [NoTV][NoMac] + bool ToneMapHdrToSdr { get; set; } } [Internal] @@ -1369,6 +1383,17 @@ namespace CoreImage { [iOS (13,0)][TV (13,0)][Mac (10,15)] [Field ("kCIImageAuxiliarySemanticSegmentationTeethMatte")] NSString AuxiliarySemanticSegmentationTeethMatteKey { get; } + + [iOS (14, 1)] + [NoTV][NoMac] + [Field ("kCIImageAuxiliarySemanticSegmentationGlassesMatte")] + NSString AuxiliarySemanticSegmentationGlassesMatteKey { get; } + + [iOS (14,1)] + [NoTV][NoMac] + [Field ("kCIImageToneMapHDRtoSDR")] + NSString ToneMapHdrToSdrKey { get; } + } [BaseType (typeof (NSObject))] @@ -5728,6 +5753,11 @@ namespace CoreImage { [iOS (13,0)][TV (13,0)][Mac (10,15)] [Field ("kCIImageRepresentationSemanticSegmentationTeethMatteImage")] NSString SemanticSegmentationTeethMatteImageKey { get; } + + [iOS (14,1)] + [NoTV][NoMac] + [Field ("kCIImageRepresentationSemanticSegmentationGlassesMatteImage")] + NSString SemanticSegmentationGlassesMatteImage { get; } } [iOS (11,0)] diff --git a/tests/xtro-sharpie/iOS-CoreImage.todo b/tests/xtro-sharpie/iOS-CoreImage.todo deleted file mode 100644 index 69e8977bdc..0000000000 --- a/tests/xtro-sharpie/iOS-CoreImage.todo +++ /dev/null @@ -1,4 +0,0 @@ -!missing-field! kCIImageAuxiliarySemanticSegmentationGlassesMatte not bound -!missing-field! kCIImageRepresentationSemanticSegmentationGlassesMatteImage not bound -!missing-field! kCIImageToneMapHDRtoSDR not bound -!missing-selector! CIContext::depthBlurEffectFilterForImage:disparityImage:portraitEffectsMatte:hairSemanticSegmentation:glassesMatte:gainMap:orientation:options: not bound