[main] [xcode12.5] Bump for Xcode 12.5 RC (#11263)

and add the few new bindings added in the SDKs
This commit is contained in:
VS MobileTools Engineering Service 2 2021-04-21 12:07:17 -07:00 коммит произвёл GitHub
Родитель 6d127660d5
Коммит 78e62f8564
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 76 добавлений и 8 удалений

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

@ -127,8 +127,8 @@ MACCATALYST_NUGET_VERSION_FULL=$(MACCATALYST_NUGET_VERSION_NO_METADATA)+$(NUGET_
# Xcode version should have both a major and a minor version (even if the minor version is 0)
XCODE_VERSION=12.5
XCODE_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_12.5_beta_3.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_12.5.0-beta3.app/Contents/Developer
XCODE_URL=https://dl.internalx.com/internal-files/xcodes/Xcode_12.5_Release_Candidate.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_12.5.0-rc.app/Contents/Developer
XCODE_PRODUCT_BUILD_VERSION:=$(shell /usr/libexec/PlistBuddy -c 'Print :ProductBuildVersion' $(XCODE_DEVELOPER_ROOT)/../version.plist)
# Mono version embedded in XI/XM (NEEDED_MONO_VERSION/BRANCH) are specified in mk/mono.mk

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

@ -49,6 +49,8 @@ namespace LocalAuthentication {
AppCancel = -9,
InvalidContext = -10,
WatchNotAvailable = -11,
BiometryNotPaired = -12,
BiometryDisconnected = -13,
BiometryNotAvailable = TouchIDNotAvailable,
BiometryNotEnrolled = TouchIDNotEnrolled,

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

@ -694,6 +694,11 @@ namespace ARKit {
[Export ("framesPerSecond")]
nint FramesPerSecond { get; }
[iOS (14,5)]
[Export ("captureDeviceType")]
[return: BindAs (typeof (AVCaptureDeviceType))]
NSString CaptureDeviceType { get; }
}
[iOS (11,0)]

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

@ -10830,6 +10830,28 @@ namespace AVFoundation {
[NoWatch, NoTV, NoMac, iOS (13, 0)]
[Export ("geometricDistortionCorrectionEnabled")]
bool GeometricDistortionCorrectionEnabled { [Bind ("isGeometricDistortionCorrectionEnabled")] get; set; }
// from AVCaptureDevice_AVCaptureDeviceCenterStage
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Static]
[Export ("centerStageControlMode", ArgumentSemantic.Assign)]
AVCaptureCenterStageControlMode CenterStageControlMode { get; set; }
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Static]
[Export ("centerStageEnabled")]
bool CenterStageEnabled { [Bind ("isCenterStageEnabled")] get; set; }
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Export ("centerStageActive")]
bool CenterStageActive { [Bind ("isCenterStageActive")] get; }
}
[Introduced (PlatformName.MacCatalyst, 14, 0)]
@ -10979,6 +11001,33 @@ namespace AVFoundation {
[NoWatch, NoTV, NoMac, iOS (13, 0)]
[Export ("geometricDistortionCorrectedVideoFieldOfView")]
float GeometricDistortionCorrectedVideoFieldOfView { get; }
// from AVCaptureDeviceFormat_AVCaptureDeviceFormatCenterStage
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Export ("centerStageSupported")]
bool CenterStageSupported { [Bind ("isCenterStageSupported")] get; }
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Export ("videoMinZoomFactorForCenterStage")]
nfloat VideoMinZoomFactorForCenterStage { get; }
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Export ("videoMaxZoomFactorForCenterStage")]
nfloat VideoMaxZoomFactorForCenterStage { get; }
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Export ("videoFrameRateRangeForCenterStage")]
[NullAllowed]
AVFrameRateRange VideoFrameRateRangeForCenterStage { get; }
#endif
}
@ -14320,4 +14369,13 @@ namespace AVFoundation {
void LeaveArbitration ();
}
[NoWatch, NoTV, NoMac]
[iOS (14,5)]
[MacCatalyst (14,5)]
[Native]
public enum AVCaptureCenterStageControlMode : long {
User = 0,
App = 1,
Cooperative = 2,
}
}

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

@ -1518,14 +1518,16 @@ namespace Metal {
[Export ("locationNumber")]
nuint LocationNumber { get; }
[NoiOS, Mac (11, 0), NoTV]
[Mac (11, 0), NoTV]
[iOS (14,5)]
#if XAMCORE_4_0
[Abstract]
#endif
[Export ("supports32BitFloatFiltering")]
bool Supports32BitFloatFiltering { get; }
[NoiOS, Mac (11, 0), NoTV]
[Mac (11, 0), NoTV]
[iOS (14,5)]
#if XAMCORE_4_0
[Abstract]
#endif
@ -1621,7 +1623,8 @@ namespace Metal {
[Export ("supportsFunctionPointers")]
bool SupportsFunctionPointers { get; }
[NoiOS, Mac (11, 0), NoTV]
[Mac (11, 0), NoTV]
[iOS (14,5)]
#if XAMCORE_4_0
[Abstract]
#endif

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

@ -164,3 +164,6 @@
!incorrect-protocol-member! MTLRenderPipelineState::imageblockSampleLength is REQUIRED and should be abstract
!incorrect-protocol-member! MTLRenderPipelineState::maxTotalThreadsPerThreadgroup is REQUIRED and should be abstract
!incorrect-protocol-member! MTLRenderPipelineState::threadgroupSizeMatchesTileSize is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supports32BitFloatFiltering is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supports32BitMSAA is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supportsQueryTextureLOD is REQUIRED and should be abstract

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

@ -113,8 +113,6 @@
!incorrect-protocol-member! MTLDevice::newDynamicLibraryWithURL:error: is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::sparseTileSizeInBytes is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::sparseTileSizeWithTextureType:pixelFormat:sampleCount: is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supports32BitFloatFiltering is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supports32BitMSAA is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supportsBCTextureCompression is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supportsCounterSampling: is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supportsDynamicLibraries is REQUIRED and should be abstract
@ -141,6 +139,5 @@
!incorrect-protocol-member! MTLComputePipelineState::newVisibleFunctionTableWithDescriptor: is REQUIRED and should be abstract
!incorrect-protocol-member! MTLComputePipelineState::supportIndirectCommandBuffers is REQUIRED and should be abstract
!incorrect-protocol-member! MTLFunction::options is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::supportsQueryTextureLOD is REQUIRED and should be abstract
!incorrect-protocol-member! MTLIndirectComputeCommand::setImageblockWidth:height: is REQUIRED and should be abstract
!incorrect-protocol-member! MTLDevice::isRemovable is REQUIRED and should be abstract