@nativescript/canvas 2.0.0-webgpu.23 → 2.0.0-webgpu.25
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/common.js.map +1 -1
- package/Canvas/index.android.js.map +1 -1
- package/package.json +1 -1
- 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 +33 -13
- 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 +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +50 -1
- 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 +593 -559
- 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 +66 -26
- 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 +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +50 -1
- 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 +692 -658
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +730 -696
|
@@ -50,6 +50,50 @@ import _SwiftConcurrencyShims
|
|
|
50
50
|
@objc override dynamic public init()
|
|
51
51
|
@objc deinit
|
|
52
52
|
}
|
|
53
|
+
@objc(NSCVideoFrame) public class NSCVideoFrame : ObjectiveC.NSObject {
|
|
54
|
+
@objc(NSCVideoFrameFormat) public enum NSCVideoFrameFormat : Swift.Int, Swift.RawRepresentable {
|
|
55
|
+
public typealias RawValue = Swift.UInt32
|
|
56
|
+
case I420
|
|
57
|
+
case I420A
|
|
58
|
+
case I422
|
|
59
|
+
case I444
|
|
60
|
+
case NV12
|
|
61
|
+
case RGBA
|
|
62
|
+
case RGBX
|
|
63
|
+
case BGRA
|
|
64
|
+
case BGRX
|
|
65
|
+
public var rawValue: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.RawValue {
|
|
66
|
+
get
|
|
67
|
+
}
|
|
68
|
+
public init?(rawValue: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.RawValue)
|
|
69
|
+
}
|
|
70
|
+
public var pixelBuffer: CoreVideo.CVPixelBuffer {
|
|
71
|
+
get
|
|
72
|
+
}
|
|
73
|
+
public var timestamp: CoreMedia.CMTimeValue {
|
|
74
|
+
get
|
|
75
|
+
}
|
|
76
|
+
public var format: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
public static func getCurrentFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput) throws -> CanvasNative.NSCVideoFrame?
|
|
80
|
+
public init(currentTime: CoreMedia.CMTime, frame: CoreVideo.CVPixelBuffer) throws
|
|
81
|
+
public init(buffer: CoreVideo.CVPixelBuffer, ts: CoreMedia.CMTimeValue) throws
|
|
82
|
+
public func clone() throws -> CanvasNative.NSCVideoFrame
|
|
83
|
+
public var codedWidth: Swift.Int {
|
|
84
|
+
get
|
|
85
|
+
}
|
|
86
|
+
public var codedHeight: Swift.Int {
|
|
87
|
+
get
|
|
88
|
+
}
|
|
89
|
+
public var codedRect: CoreFoundation.CGRect {
|
|
90
|
+
get
|
|
91
|
+
}
|
|
92
|
+
public var visibleRect: CoreFoundation.CGRect {
|
|
93
|
+
get
|
|
94
|
+
}
|
|
95
|
+
@objc deinit
|
|
96
|
+
}
|
|
53
97
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(NSCCanvas) @_Concurrency.MainActor(unsafe) public class NSCCanvas : UIKit.UIView {
|
|
54
98
|
@objc(CanvasFit) public enum CanvasFit : Swift.Int, Swift.RawRepresentable {
|
|
55
99
|
public typealias RawValue = Swift.UInt32
|
|
@@ -131,11 +175,14 @@ extension UIKit.UIView {
|
|
|
131
175
|
@objc override dynamic public init()
|
|
132
176
|
@objc deinit
|
|
133
177
|
}
|
|
134
|
-
@_inheritsConvenienceInitializers @objc(
|
|
178
|
+
@_inheritsConvenienceInitializers @objc(NSCCanvasUtils) public class NSCCanvasUtils : ObjectiveC.NSObject {
|
|
135
179
|
@objc public static func createTextureCache() -> CoreVideo.CVOpenGLESTextureCache?
|
|
136
180
|
@objc public static func createImage(_ texturecache: CoreVideo.CVOpenGLESTextureCache, _ buffer: CoreVideo.CVImageBuffer, _ textureAttributes: CoreFoundation.CFDictionary?, _ target: OpenGLES.GLenum, _ internalFormat: OpenGLES.GLint, _ width: OpenGLES.GLsizei, _ height: OpenGLES.GLsizei, _ format: OpenGLES.GLenum, _ type: OpenGLES.GLenum, _ planeIndex: Swift.Int) -> CoreVideo.CVOpenGLESTexture?
|
|
137
181
|
@objc public static func setupRender() -> CanvasNative.NSCRender
|
|
138
182
|
@objc public static func drawFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput, _ videoSize: CoreFoundation.CGSize, _ render: CanvasNative.NSCRender, _ internalFormat: Swift.Int32, _ format: Swift.Int32, _ flipYWebGL: Swift.Bool)
|
|
183
|
+
public enum NSCError : Swift.Error {
|
|
184
|
+
case customError(Swift.String)
|
|
185
|
+
}
|
|
139
186
|
@objc public static func writeToFile(_ data: Foundation.NSData, _ path: Swift.String) throws
|
|
140
187
|
@objc override dynamic public init()
|
|
141
188
|
@objc deinit
|
|
@@ -187,5 +234,7 @@ extension GLKit.GLKView {
|
|
|
187
234
|
@objc override dynamic public init()
|
|
188
235
|
@objc deinit
|
|
189
236
|
}
|
|
237
|
+
extension CanvasNative.NSCVideoFrame.NSCVideoFrameFormat : Swift.Equatable {}
|
|
238
|
+
extension CanvasNative.NSCVideoFrame.NSCVideoFrameFormat : Swift.Hashable {}
|
|
190
239
|
extension CanvasNative.NSCCanvas.CanvasFit : Swift.Equatable {}
|
|
191
240
|
extension CanvasNative.NSCCanvas.CanvasFit : Swift.Hashable {}
|
|
@@ -50,6 +50,50 @@ import _SwiftConcurrencyShims
|
|
|
50
50
|
@objc override dynamic public init()
|
|
51
51
|
@objc deinit
|
|
52
52
|
}
|
|
53
|
+
@objc(NSCVideoFrame) public class NSCVideoFrame : ObjectiveC.NSObject {
|
|
54
|
+
@objc(NSCVideoFrameFormat) public enum NSCVideoFrameFormat : Swift.Int, Swift.RawRepresentable {
|
|
55
|
+
public typealias RawValue = Swift.UInt32
|
|
56
|
+
case I420
|
|
57
|
+
case I420A
|
|
58
|
+
case I422
|
|
59
|
+
case I444
|
|
60
|
+
case NV12
|
|
61
|
+
case RGBA
|
|
62
|
+
case RGBX
|
|
63
|
+
case BGRA
|
|
64
|
+
case BGRX
|
|
65
|
+
public var rawValue: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.RawValue {
|
|
66
|
+
get
|
|
67
|
+
}
|
|
68
|
+
public init?(rawValue: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.RawValue)
|
|
69
|
+
}
|
|
70
|
+
public var pixelBuffer: CoreVideo.CVPixelBuffer {
|
|
71
|
+
get
|
|
72
|
+
}
|
|
73
|
+
public var timestamp: CoreMedia.CMTimeValue {
|
|
74
|
+
get
|
|
75
|
+
}
|
|
76
|
+
public var format: CanvasNative.NSCVideoFrame.NSCVideoFrameFormat {
|
|
77
|
+
get
|
|
78
|
+
}
|
|
79
|
+
public static func getCurrentFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput) throws -> CanvasNative.NSCVideoFrame?
|
|
80
|
+
public init(currentTime: CoreMedia.CMTime, frame: CoreVideo.CVPixelBuffer) throws
|
|
81
|
+
public init(buffer: CoreVideo.CVPixelBuffer, ts: CoreMedia.CMTimeValue) throws
|
|
82
|
+
public func clone() throws -> CanvasNative.NSCVideoFrame
|
|
83
|
+
public var codedWidth: Swift.Int {
|
|
84
|
+
get
|
|
85
|
+
}
|
|
86
|
+
public var codedHeight: Swift.Int {
|
|
87
|
+
get
|
|
88
|
+
}
|
|
89
|
+
public var codedRect: CoreFoundation.CGRect {
|
|
90
|
+
get
|
|
91
|
+
}
|
|
92
|
+
public var visibleRect: CoreFoundation.CGRect {
|
|
93
|
+
get
|
|
94
|
+
}
|
|
95
|
+
@objc deinit
|
|
96
|
+
}
|
|
53
97
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(NSCCanvas) @_Concurrency.MainActor(unsafe) public class NSCCanvas : UIKit.UIView {
|
|
54
98
|
@objc(CanvasFit) public enum CanvasFit : Swift.Int, Swift.RawRepresentable {
|
|
55
99
|
public typealias RawValue = Swift.UInt32
|
|
@@ -131,11 +175,14 @@ extension UIKit.UIView {
|
|
|
131
175
|
@objc override dynamic public init()
|
|
132
176
|
@objc deinit
|
|
133
177
|
}
|
|
134
|
-
@_inheritsConvenienceInitializers @objc(
|
|
178
|
+
@_inheritsConvenienceInitializers @objc(NSCCanvasUtils) public class NSCCanvasUtils : ObjectiveC.NSObject {
|
|
135
179
|
@objc public static func createTextureCache() -> CoreVideo.CVOpenGLESTextureCache?
|
|
136
180
|
@objc public static func createImage(_ texturecache: CoreVideo.CVOpenGLESTextureCache, _ buffer: CoreVideo.CVImageBuffer, _ textureAttributes: CoreFoundation.CFDictionary?, _ target: OpenGLES.GLenum, _ internalFormat: OpenGLES.GLint, _ width: OpenGLES.GLsizei, _ height: OpenGLES.GLsizei, _ format: OpenGLES.GLenum, _ type: OpenGLES.GLenum, _ planeIndex: Swift.Int) -> CoreVideo.CVOpenGLESTexture?
|
|
137
181
|
@objc public static func setupRender() -> CanvasNative.NSCRender
|
|
138
182
|
@objc public static func drawFrame(_ player: AVFoundation.AVPlayer, _ output: AVFoundation.AVPlayerItemVideoOutput, _ videoSize: CoreFoundation.CGSize, _ render: CanvasNative.NSCRender, _ internalFormat: Swift.Int32, _ format: Swift.Int32, _ flipYWebGL: Swift.Bool)
|
|
183
|
+
public enum NSCError : Swift.Error {
|
|
184
|
+
case customError(Swift.String)
|
|
185
|
+
}
|
|
139
186
|
@objc public static func writeToFile(_ data: Foundation.NSData, _ path: Swift.String) throws
|
|
140
187
|
@objc override dynamic public init()
|
|
141
188
|
@objc deinit
|
|
@@ -187,5 +234,7 @@ extension GLKit.GLKView {
|
|
|
187
234
|
@objc override dynamic public init()
|
|
188
235
|
@objc deinit
|
|
189
236
|
}
|
|
237
|
+
extension CanvasNative.NSCVideoFrame.NSCVideoFrameFormat : Swift.Equatable {}
|
|
238
|
+
extension CanvasNative.NSCVideoFrame.NSCVideoFrameFormat : Swift.Hashable {}
|
|
190
239
|
extension CanvasNative.NSCCanvas.CanvasFit : Swift.Equatable {}
|
|
191
240
|
extension CanvasNative.NSCCanvas.CanvasFit : Swift.Hashable {}
|