forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
Metal macOS xcode9 beta4
Sebastien Pouliot edited this page Jul 24, 2017
·
1 revision
#Metal.framework
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h 2017-06-29 23:55:10.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h 2017-07-14 02:30:32.000000000 -0400
@@ -118,7 +118,8 @@
MTLArgumentTypeThreadgroupMemory= 1,
MTLArgumentTypeTexture = 2,
MTLArgumentTypeSampler = 3,
-
+
+
} NS_ENUM_AVAILABLE(10_11, 8_0);
/*!
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h 2017-06-29 23:55:10.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h 2017-07-12 17:55:27.000000000 -0400
@@ -106,6 +106,7 @@
+
/*
@method setStageInRegion:region:
@brief Set the region of the stage_in attributes to apply the compute kernel.
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h 2017-06-29 23:55:10.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h 2017-07-12 17:55:27.000000000 -0400
@@ -98,6 +98,7 @@
@property (readonly) NSUInteger staticThreadgroupMemoryLength NS_AVAILABLE(10_13, 11_0);
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h 2017-06-29 01:05:22.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h 2017-07-12 17:55:27.000000000 -0400
@@ -225,6 +225,8 @@
+
+
/*!
@method setSamplePositions:count:
@abstract Configure the custom sample positions, to be used in MSAA rendering (i.e. when sample count > 1).
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h 2017-06-29 23:55:11.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h 2017-07-12 17:55:27.000000000 -0400
@@ -191,6 +191,7 @@
+
@end
NS_CLASS_AVAILABLE(10_11, 8_0)
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes 2017-06-29 23:55:08.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes 2017-07-12 17:55:25.000000000 -0400
@@ -12,6 +12,9 @@
SwiftName: removalRequested
- Name: MTLDeviceWasRemovedNotification
SwiftName: wasRemoved
+Functions:
+- Name: MTLCopyAllDevicesWithObserver
+ SwiftPrivate: true
Enumerators:
- Name: MTLResourceStorageModeShared
SwiftName: storageModeShared
@@ -329,8 +332,8 @@
SwiftName: setConstantValue(_:type:index:)
MethodKind: Instance
- Selector: 'setConstantValues:type:withRange:'
- SwiftName: setConstantValues(_:type:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Name: MTLStructType
Methods:
- Selector: 'memberByName:'
@@ -344,6 +347,14 @@
- Selector: 'textureCubeDescriptorWithPixelFormat:size:mipmapped:'
SwiftName: textureCubeDescriptor(pixelFormat:size:mipmapped:)
MethodKind: Class
+- Name: MTLRenderPassDescriptor
+ Methods:
+ - Selector: 'setSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: true
+ - Selector: 'getSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: true
Protocols:
- Name: MTLBlitCommandEncoder
Methods:
@@ -354,8 +365,8 @@
SwiftName: synchronize(texture:slice:level:)
MethodKind: Instance
- Selector: 'fillBuffer:range:value:'
- SwiftName: fill(buffer:range:value:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'updateFence:'
SwiftName: updateFence(_:)
MethodKind: Instance
@@ -367,6 +378,12 @@
- Selector: 'newTextureWithDescriptor:offset:bytesPerRow:'
SwiftName: makeTexture(descriptor:offset:bytesPerRow:)
MethodKind: Instance
+ - Selector: 'didModifyRange:'
+ MethodKind: Instance
+ SwiftPrivate: true
+ - Selector: 'addDebugMarker:range:'
+ MethodKind: Instance
+ SwiftPrivate: true
- Name: MTLCommandBuffer
Methods:
- Selector: 'blitCommandEncoder'
@@ -401,8 +418,8 @@
SwiftName: setBuffer(_:offset:index:)
MethodKind: Instance
- Selector: 'setBuffers:offsets:withRange:'
- SwiftName: setBuffers(_:offsets:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setBufferOffset:atIndex:'
SwiftName: setBufferOffset(_:index:)
MethodKind: Instance
@@ -410,20 +427,20 @@
SwiftName: setTexture(_:index:)
MethodKind: Instance
- Selector: 'setTextures:withRange:'
- SwiftName: setTextures(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setSamplerState:atIndex:'
SwiftName: setSamplerState(_:index:)
MethodKind: Instance
- Selector: 'setSamplerStates:withRange:'
- SwiftName: setSamplerStates(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setSamplerState:lodMinClamp:lodMaxClamp:atIndex:'
SwiftName: setSamplerState(_:lodMinClamp:lodMaxClamp:index:)
MethodKind: Instance
- Selector: 'setSamplerStates:lodMinClamps:lodMaxClamps:withRange:'
- SwiftName: setSamplerStates(_:lodMinClamps:lodMaxClamps:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setThreadgroupMemoryLength:atIndex:'
SwiftName: setThreadgroupMemoryLength(_:index:)
MethodKind: Instance
@@ -443,16 +460,19 @@
SwiftName: useResource(_:usage:)
MethodKind: Instance
- Selector: 'useResources:count:usage:'
- SwiftName: useResources(_:count:usage:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'useHeap:'
SwiftName: useHeap(_:)
MethodKind: Instance
- Selector: 'useHeaps:count:'
- SwiftName: useHeaps(_:count:)
MethodKind: Instance
+ SwiftPrivate: true
- Name: MTLDevice
Methods:
+ - Selector: 'getDefaultSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'newDefaultLibraryWithBundle:error:'
SwiftName: makeDefaultLibrary(bundle:)
MethodKind: Instance
@@ -600,20 +620,20 @@
SwiftName: setBuffer(_:offset:index:)
MethodKind: Instance
- Selector: 'setBuffers:offsets:withRange:'
- SwiftName: 'setBuffers(_:offsets:range:)'
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setTexture:atIndex:'
SwiftName: setTexture(_:index:)
MethodKind: Instance
- Selector: 'setTextures:withRange:'
- SwiftName: 'setTextures(_:range:)'
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setSamplerState:atIndex:'
SwiftName: setSamplerState(_:index:)
MethodKind: Instance
- Selector: 'setSamplerStates:withRange:'
- SwiftName: 'setSamplerStates(_:range:)'
MethodKind: Instance
+ SwiftPrivate: true
- Name: MTLLibrary
Methods:
- Selector: 'newFunctionWithName:'
@@ -652,6 +672,12 @@
MethodKind: Instance
- Name: MTLRenderCommandEncoder
Methods:
+ - Selector: 'setViewports:count:'
+ MethodKind: Instance
+ SwiftPrivate: true
+ - Selector: 'setScissorRects:count:'
+ MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setVertexBytes:length:atIndex:'
SwiftName: setVertexBytes(_:length:index:)
MethodKind: Instance
@@ -659,8 +685,8 @@
SwiftName: setVertexBuffer(_:offset:index:)
MethodKind: Instance
- Selector: 'setVertexBuffers:offsets:withRange:'
- SwiftName: setVertexBuffers(_:offsets:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setVertexBufferOffset:atIndex:'
SwiftName: setVertexBufferOffset(_:index:)
MethodKind: Instance
@@ -668,20 +694,20 @@
SwiftName: setVertexTexture(_:index:)
MethodKind: Instance
- Selector: 'setVertexTextures:withRange:'
- SwiftName: setVertexTextures(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setVertexSamplerState:atIndex:'
SwiftName: setVertexSamplerState(_:index:)
MethodKind: Instance
- Selector: 'setVertexSamplerStates:withRange:'
- SwiftName: setVertexSamplerStates(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setVertexSamplerState:lodMinClamp:lodMaxClamp:atIndex:'
SwiftName: setVertexSamplerState(_:lodMinClamp:lodMaxClamp:index:)
MethodKind: Instance
- Selector: 'setVertexSamplerStates:lodMinClamps:lodMaxClamps:withRange:'
- SwiftName: setVertexSamplerStates(_:lodMinClamps:lodMaxClamps:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setFragmentBytes:length:atIndex:'
SwiftName: setFragmentBytes(_:length:index:)
MethodKind: Instance
@@ -689,8 +715,8 @@
SwiftName: setFragmentBuffer(_:offset:index:)
MethodKind: Instance
- Selector: 'setFragmentBuffers:offsets:withRange:'
- SwiftName: setFragmentBuffers(_:offsets:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setFragmentBufferOffset:atIndex:'
SwiftName: setFragmentBufferOffset(_:index:)
MethodKind: Instance
@@ -698,20 +724,20 @@
SwiftName: setFragmentTexture(_:index:)
MethodKind: Instance
- Selector: 'setFragmentTextures:withRange:'
- SwiftName: setFragmentTextures(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setFragmentSamplerState:atIndex:'
SwiftName: setFragmentSamplerState(_:index:)
MethodKind: Instance
- Selector: 'setFragmentSamplerStates:withRange:'
- SwiftName: setFragmentSamplerStates(_:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setFragmentSamplerState:lodMinClamp:lodMaxClamp:atIndex:'
SwiftName: setFragmentSamplerState(_:lodMinClamp:lodMaxClamp:index:)
MethodKind: Instance
- Selector: 'setFragmentSamplerStates:lodMinClamps:lodMaxClamps:withRange:'
- SwiftName: setFragmentSamplerStates(_:lodMinClamps:lodMaxClamps:range:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'setColorStoreAction:atIndex:'
SwiftName: setColorStoreAction(_:index:)
MethodKind: Instance
@@ -791,22 +817,22 @@
SwiftName: useResource(_:usage:)
MethodKind: Instance
- Selector: 'useResources:count:usage:'
- SwiftName: useResources(_:count:usage:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'useHeap:'
SwiftName: useHeap(_:)
MethodKind: Instance
- Selector: 'useHeaps:count:'
- SwiftName: useHeaps(_:count:)
MethodKind: Instance
+ SwiftPrivate: true
- Name: MTLTexture
Methods:
- Selector: 'newTextureViewWithPixelFormat:'
SwiftName: makeTextureView(pixelFormat:)
MethodKind: Instance
- Selector: 'newTextureViewWithPixelFormat:textureType:levels:slices:'
- SwiftName: makeTextureView(pixelFormat:textureType:levels:slices:)
MethodKind: Instance
+ SwiftPrivate: true
- Selector: 'replaceRegion:mipmapLevel:withBytes:bytesPerRow:'
SwiftName: replace(region:mipmapLevel:withBytes:bytesPerRow:)
MethodKind: Instance
@@ -816,6 +842,9 @@
SwiftVersions:
- Version: 3
+ Functions:
+ - Name: MTLCopyAllDevicesWithObserver
+ SwiftPrivate: false
Enumerators:
- Name: MTLAttributeFormatUInt1010102Normalized
SwiftName: uInt1010102Normalized
@@ -828,13 +857,32 @@
- Selector: 'setConstantValues:type:withRange:'
SwiftName: setConstantValues(_:type:with:)
MethodKind: Instance
+ - Name: MTLRenderPassDescriptor
+ Methods:
+ - Selector: 'setSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: false
+ - Selector: 'getSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: false
Protocols:
+ - Name: MTLBlitCommandEncoder
+ Methods:
+ - Selector: 'fillBuffer:range:value:'
+ SwiftName: fill(buffer:range:value:)
+ MethodKind: Instance
- Name: MTLBuffer
Methods:
- Selector: 'newTextureWithDescriptor:offset:bytesPerRow:'
SwiftName: makeTexture(descriptor:offset:bytesPerRow:)
MethodKind: Instance
NullabilityOfRet: N
+ - Selector: 'didModifyRange:'
+ MethodKind: Instance
+ SwiftPrivate: false
+ - Selector: 'addDebugMarker:range:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Name: MTLCommandBuffer
Methods:
- Selector: 'blitCommandEncoder'
@@ -869,6 +917,9 @@
NullabilityOfRet: N
- Name: MTLDevice
Methods:
+ - Selector: 'getDefaultSamplePositions:count:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Selector: 'newDefaultLibrary'
SwiftName: newDefaultLibrary()
MethodKind: Instance
@@ -916,14 +967,6 @@
SwiftName: makeSamplerState(descriptor:)
MethodKind: Instance
NullabilityOfRet: N
- - Selector: 'newIndirectArgumentEncoderWithArguments:'
- SwiftName: makeIndirectArgumentEncoder(arguments:)
- MethodKind: Instance
- NullabilityOfRet: N
- - Selector: 'newArgumentEncoderWithArguments:'
- SwiftName: makeArgumentEncoder(arguments:)
- MethodKind: Instance
- NullabilityOfRet: N
Properties:
- Name: name
Nullability: O
@@ -985,6 +1028,12 @@
Nullability: O
- Position: 1
Nullability: U
+ - Selector: 'useResources:count:usage:'
+ SwiftName: useResources(_:count:usage:)
+ MethodKind: Instance
+ - Selector: 'useHeaps:count:'
+ SwiftName: useHeaps(_:count:)
+ MethodKind: Instance
- Name: MTLIndirectArgumentEncoder
Methods:
- Selector: 'newIndirectArgumentEncoderForBufferAtIndex:'
@@ -1007,12 +1056,21 @@
- Selector: 'setBuffer:offset:atIndex:'
SwiftName: setBuffer(_:offset:index:)
MethodKind: Instance
+ - Selector: 'setBuffers:offsets:withRange:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Selector: 'setTexture:atIndex:'
SwiftName: setTexture(_:index:)
MethodKind: Instance
+ - Selector: 'setTextures:withRange:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Selector: 'setSamplerState:atIndex:'
SwiftName: setSamplerState(_:index:)
MethodKind: Instance
+ - Selector: 'setSamplerStates:withRange:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Name: MTLParallelRenderCommandEncoder
Methods:
- Selector: 'renderCommandEncoder'
@@ -1027,6 +1085,12 @@
MethodKind: Instance
- Name: MTLRenderCommandEncoder
Methods:
+ - Selector: 'setViewports:count:'
+ MethodKind: Instance
+ SwiftPrivate: false
+ - Selector: 'setScissorRects:count:'
+ MethodKind: Instance
+ SwiftPrivate: false
- Selector: 'setVertexBytes:length:atIndex:'
SwiftName: setVertexBytes(_:length:at:)
MethodKind: Instance
@@ -1160,6 +1224,12 @@
Nullability: O
- Position: 1
Nullability: U
+ - Selector: 'useResources:count:usage:'
+ SwiftName: useResources(_:count:usage:)
+ MethodKind: Instance
+ - Selector: 'useHeaps:count:'
+ SwiftName: useHeaps(_:count:)
+ MethodKind: Instance
- Name: MTLTexture
Methods:
- Selector: 'newTextureViewWithPixelFormat:'