@nativescript/canvas 2.0.0-webgpu.6 → 2.0.0-webgpu.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/index.android.d.ts +0 -1
- package/Canvas/index.android.js +21 -22
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.ios.js +13 -26
- package/Canvas/index.ios.js.map +1 -1
- package/Dom/Image.js +0 -1
- package/Dom/Image.js.map +1 -1
- package/WebGPU/GPUAdapter.d.ts +2 -1
- package/WebGPU/GPUAdapter.js.map +1 -1
- package/WebGPU/GPUDevice.js +22 -4
- package/WebGPU/GPUDevice.js.map +1 -1
- package/WebGPU/GPURenderPassEncoder.d.ts +1 -1
- package/WebGPU/GPURenderPassEncoder.js +2 -2
- package/WebGPU/GPURenderPassEncoder.js.map +1 -1
- package/WebGPU/Interfaces.d.ts +11 -1
- package/WebGPU/Types.d.ts +1 -0
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/ios/CanvasNative.xcframework/Info.plist +5 -5
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +5 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +108 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +484 -483
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +10 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +108 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +108 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +22 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +645 -644
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +683 -682
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +1 -1
- package/platforms/ios/src/cpp/canvas2d/Path2D.h +5 -5
- package/platforms/ios/src/cpp/webgpu/GPUAdapterImpl.cpp +2 -3
- package/platforms/ios/src/cpp/webgpu/GPUBindGroupImpl.h +1 -1
- package/platforms/ios/src/cpp/webgpu/GPUDeviceImpl.cpp +1398 -3
- package/platforms/ios/src/cpp/webgpu/GPUImpl.h +1 -1
- package/platforms/ios/src/cpp/webgpu/GPUPipelineLayoutImpl.h +1 -1
- package/platforms/ios/src/cpp/webgpu/GPUQuerySetImpl.h +1 -1
- package/platforms/ios/src/cpp/webgpu/GPUQueueImpl.cpp +0 -1
- package/platforms/ios/src/cpp/webgpu/GPURenderPassEncoderImpl.cpp +3 -3
|
@@ -474,6 +474,11 @@ SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
|
474
474
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
475
475
|
@end
|
|
476
476
|
|
|
477
|
+
|
|
478
|
+
@interface UIView (SWIFT_EXTENSION(CanvasNative))
|
|
479
|
+
- (void)getBoundingClientRect:(void * _Nonnull)buffer;
|
|
480
|
+
@end
|
|
481
|
+
|
|
477
482
|
@class AVPlayer;
|
|
478
483
|
@class AVPlayerItemVideoOutput;
|
|
479
484
|
|
|
Binary file
|
|
@@ -5510,6 +5510,114 @@
|
|
|
5510
5510
|
}
|
|
5511
5511
|
]
|
|
5512
5512
|
},
|
|
5513
|
+
{
|
|
5514
|
+
"kind": "TypeDecl",
|
|
5515
|
+
"name": "UIView",
|
|
5516
|
+
"printedName": "UIView",
|
|
5517
|
+
"children": [
|
|
5518
|
+
{
|
|
5519
|
+
"kind": "Function",
|
|
5520
|
+
"name": "getBoundingClientRect",
|
|
5521
|
+
"printedName": "getBoundingClientRect(_:)",
|
|
5522
|
+
"children": [
|
|
5523
|
+
{
|
|
5524
|
+
"kind": "TypeNominal",
|
|
5525
|
+
"name": "Void",
|
|
5526
|
+
"printedName": "()"
|
|
5527
|
+
},
|
|
5528
|
+
{
|
|
5529
|
+
"kind": "TypeNominal",
|
|
5530
|
+
"name": "UnsafeMutableRawPointer",
|
|
5531
|
+
"printedName": "Swift.UnsafeMutableRawPointer",
|
|
5532
|
+
"usr": "s:Sv"
|
|
5533
|
+
}
|
|
5534
|
+
],
|
|
5535
|
+
"declKind": "Func",
|
|
5536
|
+
"usr": "c:@CM@CanvasNative@@objc(cs)UIView(im)getBoundingClientRect:",
|
|
5537
|
+
"mangledName": "$sSo6UIViewC12CanvasNativeE21getBoundingClientRectyySvF",
|
|
5538
|
+
"moduleName": "CanvasNative",
|
|
5539
|
+
"declAttributes": ["Dynamic", "Custom", "AccessControl", "ObjC"],
|
|
5540
|
+
"isFromExtension": true,
|
|
5541
|
+
"funcSelfKind": "NonMutating"
|
|
5542
|
+
}
|
|
5543
|
+
],
|
|
5544
|
+
"declKind": "Class",
|
|
5545
|
+
"usr": "c:objc(cs)UIView",
|
|
5546
|
+
"moduleName": "UIKit",
|
|
5547
|
+
"isOpen": true,
|
|
5548
|
+
"intro_iOS": "2.0",
|
|
5549
|
+
"objc_name": "UIView",
|
|
5550
|
+
"declAttributes": ["Available", "ObjC", "NonSendable", "Custom", "Dynamic"],
|
|
5551
|
+
"superclassUsr": "c:objc(cs)UIResponder",
|
|
5552
|
+
"isExternal": true,
|
|
5553
|
+
"inheritsConvenienceInitializers": true,
|
|
5554
|
+
"superclassNames": ["UIKit.UIResponder", "ObjectiveC.NSObject"],
|
|
5555
|
+
"conformances": [
|
|
5556
|
+
{
|
|
5557
|
+
"kind": "Conformance",
|
|
5558
|
+
"name": "Equatable",
|
|
5559
|
+
"printedName": "Equatable",
|
|
5560
|
+
"usr": "s:SQ",
|
|
5561
|
+
"mangledName": "$sSQ"
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"kind": "Conformance",
|
|
5565
|
+
"name": "Hashable",
|
|
5566
|
+
"printedName": "Hashable",
|
|
5567
|
+
"usr": "s:SH",
|
|
5568
|
+
"mangledName": "$sSH"
|
|
5569
|
+
},
|
|
5570
|
+
{
|
|
5571
|
+
"kind": "Conformance",
|
|
5572
|
+
"name": "CVarArg",
|
|
5573
|
+
"printedName": "CVarArg",
|
|
5574
|
+
"usr": "s:s7CVarArgP",
|
|
5575
|
+
"mangledName": "$ss7CVarArgP"
|
|
5576
|
+
},
|
|
5577
|
+
{
|
|
5578
|
+
"kind": "Conformance",
|
|
5579
|
+
"name": "_KeyValueCodingAndObservingPublishing",
|
|
5580
|
+
"printedName": "_KeyValueCodingAndObservingPublishing",
|
|
5581
|
+
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
|
5582
|
+
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
"kind": "Conformance",
|
|
5586
|
+
"name": "_KeyValueCodingAndObserving",
|
|
5587
|
+
"printedName": "_KeyValueCodingAndObserving",
|
|
5588
|
+
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
|
5589
|
+
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
|
5590
|
+
},
|
|
5591
|
+
{
|
|
5592
|
+
"kind": "Conformance",
|
|
5593
|
+
"name": "CustomStringConvertible",
|
|
5594
|
+
"printedName": "CustomStringConvertible",
|
|
5595
|
+
"usr": "s:s23CustomStringConvertibleP",
|
|
5596
|
+
"mangledName": "$ss23CustomStringConvertibleP"
|
|
5597
|
+
},
|
|
5598
|
+
{
|
|
5599
|
+
"kind": "Conformance",
|
|
5600
|
+
"name": "CustomDebugStringConvertible",
|
|
5601
|
+
"printedName": "CustomDebugStringConvertible",
|
|
5602
|
+
"usr": "s:s28CustomDebugStringConvertibleP",
|
|
5603
|
+
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
|
5604
|
+
},
|
|
5605
|
+
{
|
|
5606
|
+
"kind": "Conformance",
|
|
5607
|
+
"name": "UITraitChangeObservable",
|
|
5608
|
+
"printedName": "UITraitChangeObservable",
|
|
5609
|
+
"usr": "s:5UIKit23UITraitChangeObservableP",
|
|
5610
|
+
"mangledName": "$s5UIKit23UITraitChangeObservableP"
|
|
5611
|
+
},
|
|
5612
|
+
{
|
|
5613
|
+
"kind": "Conformance",
|
|
5614
|
+
"name": "__DefaultCustomPlaygroundQuickLookable",
|
|
5615
|
+
"printedName": "__DefaultCustomPlaygroundQuickLookable",
|
|
5616
|
+
"usr": "s:s38__DefaultCustomPlaygroundQuickLookableP",
|
|
5617
|
+
"mangledName": "$ss38__DefaultCustomPlaygroundQuickLookableP"
|
|
5618
|
+
}
|
|
5619
|
+
]
|
|
5620
|
+
},
|
|
5513
5621
|
{
|
|
5514
5622
|
"kind": "TypeDecl",
|
|
5515
5623
|
"name": "GLKView",
|
|
@@ -115,6 +115,9 @@ import _SwiftConcurrencyShims
|
|
|
115
115
|
@objc deinit
|
|
116
116
|
@objc @_Concurrency.MainActor(unsafe) public static func getBoundingClientRect(_ view: UIKit.UIView, _ buffer: Swift.UnsafeMutableRawPointer)
|
|
117
117
|
}
|
|
118
|
+
extension UIKit.UIView {
|
|
119
|
+
@objc @_Concurrency.MainActor(unsafe) dynamic public func getBoundingClientRect(_ buffer: Swift.UnsafeMutableRawPointer)
|
|
120
|
+
}
|
|
118
121
|
@_inheritsConvenienceInitializers @objcMembers @objc(NSCRender) public class NSCRender : ObjectiveC.NSObject {
|
|
119
122
|
@objc override dynamic public init()
|
|
120
123
|
@objc public func texImage2D(_ target: Swift.Int32, _ level: Swift.Int32, _ internalFormat: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ source: CanvasNative.NSCCanvas, _ dest: CanvasNative.NSCCanvas, _ flipYWebGL: Swift.Bool)
|
|
@@ -115,6 +115,9 @@ import _SwiftConcurrencyShims
|
|
|
115
115
|
@objc deinit
|
|
116
116
|
@objc @_Concurrency.MainActor(unsafe) public static func getBoundingClientRect(_ view: UIKit.UIView, _ buffer: Swift.UnsafeMutableRawPointer)
|
|
117
117
|
}
|
|
118
|
+
extension UIKit.UIView {
|
|
119
|
+
@objc @_Concurrency.MainActor(unsafe) dynamic public func getBoundingClientRect(_ buffer: Swift.UnsafeMutableRawPointer)
|
|
120
|
+
}
|
|
118
121
|
@_inheritsConvenienceInitializers @objcMembers @objc(NSCRender) public class NSCRender : ObjectiveC.NSObject {
|
|
119
122
|
@objc override dynamic public init()
|
|
120
123
|
@objc public func texImage2D(_ target: Swift.Int32, _ level: Swift.Int32, _ internalFormat: Swift.Int32, _ format: Swift.Int32, _ type: Swift.Int32, _ source: CanvasNative.NSCCanvas, _ dest: CanvasNative.NSCCanvas, _ flipYWebGL: Swift.Bool)
|