Skip to content

Commit

Permalink
[CoreImage] Implement Xcode 16 beta 6 changes. (#21117)
Browse files Browse the repository at this point in the history
Also some xtro cleanup.
  • Loading branch information
rolfbjarne committed Sep 5, 2024
1 parent 9edb314 commit f61f129
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 38 deletions.
13 changes: 13 additions & 0 deletions src/coreimage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1531,8 +1531,17 @@ interface CIFilterApply {
NSString OptionColorSpace { get; }
}

#if XAMCORE_5_0
[NoiOS]
[NoMacCatalyst]
#else
#if __IOS__ || __MACCATALYST__
[EditorBrowsable (EditorBrowsableState.Never)]
[Obsolete ("Do not use; this type does not exist on this platform.")]
#endif
[iOS (17, 0)]
[MacCatalyst (17, 0)]
#endif
[NoWatch]
[NoTV]
[BaseType (typeof (NSObject))]
Expand Down Expand Up @@ -6517,6 +6526,10 @@ partial interface CIImageRepresentationKeys {
[Field ("kCIImageContentHeadroom")]
NSString ContentHeadroom { get; }

[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[Field ("kCIImageRepresentationHDRGainMapImage")]
NSString HdrGainMapImage { get; }

}

[MacCatalyst (13, 1)]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# removed in XAMCORE_5_0
!unknown-type! CIFilterGenerator bound

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,8 @@
!incorrect-protocol-member! CIPhotoEffect::extrapolate is REQUIRED and should be abstract
!incorrect-protocol-member! CIImageProcessorInput::roiTileCount is REQUIRED and should be abstract
!incorrect-protocol-member! CIImageProcessorInput::roiTileIndex is REQUIRED and should be abstract
# xcode 16
!missing-selector! +CIFilter::areaAlphaWeightedHistogramFilter not bound
!missing-selector! +CIFilter::areaBoundsRedFilter not bound
!missing-selector! +CIFilter::maximumScaleTransformFilter not bound
!missing-selector! +CIFilter::toneMapHeadroomFilter not bound
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## OSX-only API, rdar #22524785
## see https://trello.com/c/kpksFWto/6-22524785-coreimage-headers-discrepancies
!missing-selector! CIKernel::setROISelector: not bound
# removed in XAMCORE_5_0
!unknown-type! CIFilterGenerator bound
6 changes: 0 additions & 6 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-CoreImage.todo

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-CoreImage.todo

This file was deleted.

5 changes: 5 additions & 0 deletions tests/xtro-sharpie/common-CoreImage.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,8 @@
!incorrect-protocol-member! CIPhotoEffect::extrapolate is REQUIRED and should be abstract
!incorrect-protocol-member! CIImageProcessorInput::roiTileCount is REQUIRED and should be abstract
!incorrect-protocol-member! CIImageProcessorInput::roiTileIndex is REQUIRED and should be abstract
# xcode 16
!missing-selector! +CIFilter::areaAlphaWeightedHistogramFilter not bound
!missing-selector! +CIFilter::areaBoundsRedFilter not bound
!missing-selector! +CIFilter::maximumScaleTransformFilter not bound
!missing-selector! +CIFilter::toneMapHeadroomFilter not bound
2 changes: 2 additions & 0 deletions tests/xtro-sharpie/iOS-CoreImage.ignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## OSX-only API, rdar #22524785
## see https://trello.com/c/kpksFWto/6-22524785-coreimage-headers-discrepancies
!missing-selector! CIKernel::setROISelector: not bound
# removed in XAMCORE_5_0
!unknown-type! CIFilterGenerator bound
6 changes: 0 additions & 6 deletions tests/xtro-sharpie/iOS-CoreImage.todo

This file was deleted.

5 changes: 0 additions & 5 deletions tests/xtro-sharpie/macOS-CoreImage.todo

This file was deleted.

5 changes: 0 additions & 5 deletions tests/xtro-sharpie/tvOS-CoreImage.todo

This file was deleted.

7 comments on commit f61f129

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

@vs-mobiletools-engineering-service2

This comment was marked as outdated.

Please sign in to comment.