You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are two separate filters with the same exact type.
I tried binding them as two different types with:
[CoreImageFilter]
[iOS (16,0), TV (16,0), Mac (13,0), MacCatalyst (16,0)]
[BaseType (typeof (CIFilter))]
interface LabToRGBFilter : CIConvertLabProtocol
{
}
[CoreImageFilter]
[iOS (16,0), TV (16,0), Mac (13,0), MacCatalyst (16,0)]
[BaseType (typeof (CIFilter))]
interface RGBtoLabFilter : CIConvertLabProtocol
{
}
but that fails a number of introspection tests:
[FAIL] CoreImage.LabToRGBFilter : Handle
[FAIL] CoreImage.RGBtoLabFilter : Handle
[FAIL] DefaultCtorAllowed : 2 potential errors found in 1668 default ctor validated:
[FAIL] Managed LabToRGBFilter was not part of the native filter list
[FAIL] Managed RGBtoLabFilter was not part of the native filter list
[FAIL] Keys : System.ArgumentNullException : Value cannot be null. (Parameter 'array')
Tests run: 44 Passed: 42 Inconclusive: 0 Failed: 2 Ignored: 1
[FAIL] CoreImage.LabToRGBFilter : Handle
[FAIL] CoreImage.RGBtoLabFilter : Handle
[FAIL] DefaultCtorAllowed : 2 potential errors found in 1672 default ctor validated:
[FAIL] Managed LabToRGBFilter was not part of the native filter list
[FAIL] Managed RGBtoLabFilter was not part of the native filter list
[FAIL] Keys : System.ArgumentNullException : Value cannot be null.
Tests run: 46 Passed: 44 Inconclusive: 0 Failed: 2 Ignored: 0
I could bind them as one type, however things would be difficult to use from C# if we did that.
To unblock the rest of CoreImage, I disabled those two and PR'ed the rest.
The text was updated successfully, but these errors were encountered:
In Xcode 14 Beta 1, Apple introduced an unorthodox pair of CoreImage filters:
These are two separate filters with the same exact type.
I tried binding them as two different types with:
but that fails a number of introspection tests:
I could bind them as one type, however things would be difficult to use from C# if we did that.
To unblock the rest of CoreImage, I disabled those two and PR'ed the rest.
The text was updated successfully, but these errors were encountered: