[xcode12.2][imageio] Update availability and new API from Xcode 12.1 GM (#9907)

This commit is contained in:
Sebastien Pouliot 2020-10-19 08:03:12 -04:00 коммит произвёл GitHub
Родитель 30c4d90ffa
Коммит 3c3229deb3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 24 добавлений и 17 удалений

Просмотреть файл

@ -74,7 +74,7 @@ namespace ImageIO {
}
// Yes, no [Native] here
[Mac (11,0), iOS (14,2), TV (14,2), Watch (7,1)]
[Mac (11,0), iOS (14,1), TV (14,2), Watch (7,1)]
public enum CGImagePropertyTgaCompression : uint {
None = 0,
Rle,

Просмотреть файл

@ -71,7 +71,7 @@ namespace ImageIO {
[Field ("kCGImagePropertyWebPDictionary")]
NSString WebPDictionary { get; }
[Mac (11,0), iOS (14,2), TV (14,2), Watch (7,1)]
[Mac (11,0), iOS (14,1), TV (14,2), Watch (7,1)]
[Field ("kCGImagePropertyTGADictionary")]
NSString TgaDictionary { get; }
@ -2035,7 +2035,7 @@ namespace ImageIO {
[Field ("kCGImagePropertyWebPCanvasPixelHeight")]
NSString WebPCanvasPixelHeight { get; }
[Mac (11,0), iOS (14,2), TV (14,2), Watch (7,1)]
[Mac (11,0), iOS (14,1), TV (14,2), Watch (7,1)]
[Field ("kCGImagePropertyTGACompression")]
NSString TgaCompression { get; }
}
@ -2213,9 +2213,13 @@ namespace ImageIO {
[Export ("WebPDictionary")]
NSDictionary WebPDictionary { get; set; }
[Mac (11,0), iOS (14,2), TV (14,2), Watch (7,1)]
[Mac (11,0), iOS (14,1), TV (14,2), Watch (7,1)]
[Export ("TgaDictionary")]
NSDictionary TgaDictionary { get; set; }
[iOS (14,1)]
[TV (14,2)][Watch (7,1)][Mac (11,0)]
bool PreserveGainMap { get; set; }
}
[Static]
@ -2293,9 +2297,14 @@ namespace ImageIO {
[Static][Wrap ("CGImageProperties.WebPDictionary")]
NSString WebPDictionary { get; }
[Mac (11,0), iOS (14,2), TV (14,2), Watch (7,1)]
[Mac (11,0), iOS (14,1), TV (14,2), Watch (7,1)]
[Static][Wrap ("CGImageProperties.TgaDictionary")]
NSString TgaDictionary { get; }
[iOS (14,1)]
[TV (14,2)][Watch (7,1)][Mac (11,0)]
[Field ("kCGImageDestinationPreserveGainMap")]
NSString PreserveGainMapKey { get; }
}
[Partial]
@ -2349,6 +2358,16 @@ namespace ImageIO {
[iOS (13,0)][TV (13,0)][Watch (6,0)][Mac (10,15)]
[Field ("kCGImageAuxiliaryDataTypeSemanticSegmentationTeethMatte")]
SemanticSegmentationTeethMatte,
[iOS (14,1)]
[TV (14,2)][Watch (7,1)][Mac (11,0)]
[Field ("kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte")]
SemanticSegmentationGlassesMatte,
[iOS (14,1)]
[TV (14,2)][Watch (7,1)][Mac (11,0)]
[Field ("kCGImageAuxiliaryDataTypeHDRGainMap")]
TypeHdrGainMap,
}
[Mac (10,13), iOS (11,0), TV (11,0), Watch (4,0)]

Просмотреть файл

@ -1,3 +0,0 @@
!missing-field! kCGImageAuxiliaryDataTypeHDRGainMap not bound
!missing-field! kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte not bound
!missing-field! kCGImageDestinationPreserveGainMap not bound

Просмотреть файл

@ -1,3 +0,0 @@
!missing-field! kCGImageAuxiliaryDataTypeHDRGainMap not bound
!missing-field! kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte not bound
!missing-field! kCGImageDestinationPreserveGainMap not bound

Просмотреть файл

@ -1,3 +0,0 @@
!missing-field! kCGImageAuxiliaryDataTypeHDRGainMap not bound
!missing-field! kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte not bound
!missing-field! kCGImageDestinationPreserveGainMap not bound

Просмотреть файл

@ -1,3 +0,0 @@
!missing-field! kCGImageAuxiliaryDataTypeHDRGainMap not bound
!missing-field! kCGImageAuxiliaryDataTypeSemanticSegmentationGlassesMatte not bound
!missing-field! kCGImageDestinationPreserveGainMap not bound