@nativescript/canvas 2.0.0-webgpu.23 → 2.0.0-webgpu.24

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.
Files changed (25) hide show
  1. package/Canvas/common.js.map +1 -1
  2. package/Canvas/index.android.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  5. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +33 -13
  6. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  7. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +1144 -22
  8. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +50 -1
  9. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +50 -1
  10. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  11. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +593 -559
  12. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +66 -26
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +1144 -22
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +50 -1
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +50 -1
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +1144 -22
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +50 -1
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +50 -1
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +22 -22
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +692 -658
  25. 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(Utils) public class Utils : ObjectiveC.NSObject {
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(Utils) public class Utils : ObjectiveC.NSObject {
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 {}
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Headers/CanvasNative-Swift.h</key>
8
8
  <data>
9
- LV7HIsDwTjcrGhZbqIto6rjpPco=
9
+ 5XgKNcYWABBDYF1XvlTpiRm/4Rc=
10
10
  </data>
11
11
  <key>Headers/CanvasNative.h</key>
12
12
  <data>
@@ -26,19 +26,19 @@
26
26
  </data>
27
27
  <key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
28
28
  <data>
29
- Wn6BqTJfOxiNqWk/NNq612murS8=
29
+ V80zgZz9xc162my+VCjlUCnespg=
30
30
  </data>
31
31
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
32
32
  <data>
33
- 09b6W85ppIsdvvGiwUz33scNngw=
33
+ RTNNQe5tFQhgwQVnf1eT3mcYgsQ=
34
34
  </data>
35
35
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
36
36
  <data>
37
- 5tMQ2+Iqp8hHJC5wSbFXtuTZxys=
37
+ 4HtFyyAhYqaKVsav7SM1xtEIMDk=
38
38
  </data>
39
39
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
40
40
  <data>
41
- OPWSbPiGawLZWXqOcUoQ1l3TJiE=
41
+ zQCI51xHxk7XTRwJWPHvRnkp48c=
42
42
  </data>
43
43
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
44
44
  <data>
@@ -46,19 +46,19 @@
46
46
  </data>
47
47
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
48
48
  <data>
49
- OPWSbPiGawLZWXqOcUoQ1l3TJiE=
49
+ zQCI51xHxk7XTRwJWPHvRnkp48c=
50
50
  </data>
51
51
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
52
52
  <data>
53
- NjDGGc8PVe/qsc/9ZRUWde7DU90=
53
+ pr9Yxe8xkDA3dpNxlweGwfBE68c=
54
54
  </data>
55
55
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
56
56
  <data>
57
- 5tMQ2+Iqp8hHJC5wSbFXtuTZxys=
57
+ 4HtFyyAhYqaKVsav7SM1xtEIMDk=
58
58
  </data>
59
59
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
60
60
  <data>
61
- JgE1R8HREihVP0dILWoo+cPbSRU=
61
+ mzlKLKwuQbSyOZMs2YwYm0M2phE=
62
62
  </data>
63
63
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
64
64
  <data>
@@ -66,11 +66,11 @@
66
66
  </data>
67
67
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
68
68
  <data>
69
- JgE1R8HREihVP0dILWoo+cPbSRU=
69
+ mzlKLKwuQbSyOZMs2YwYm0M2phE=
70
70
  </data>
71
71
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
72
72
  <data>
73
- pShI89lSFqHbDoZHAc1glmY99SI=
73
+ riNwCF9bC6WG0TXCNIUPj3GwRk8=
74
74
  </data>
75
75
  <key>Modules/module.modulemap</key>
76
76
  <data>
@@ -87,7 +87,7 @@
87
87
  <dict>
88
88
  <key>hash2</key>
89
89
  <data>
90
- O9ZAFggou/fg+cTk6tFxYz1oMN4FyAJyTYFH57hRuDY=
90
+ aJ/mGxDeZup54n2Nk/ObzGP8mt/ZJCapQghJOkzioCo=
91
91
  </data>
92
92
  </dict>
93
93
  <key>Headers/CanvasNative.h</key>
@@ -115,28 +115,28 @@
115
115
  <dict>
116
116
  <key>hash2</key>
117
117
  <data>
118
- BrC28SIDS5ZGg81hVNQ6JLQ11E7AhvUeUfjCYctMLEM=
118
+ EzE94cmlisd0/IIMpvpAvmJke6WXj7ULupq+RbhB4Ek=
119
119
  </data>
120
120
  </dict>
121
121
  <key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
122
122
  <dict>
123
123
  <key>hash2</key>
124
124
  <data>
125
- mimDMfObJT6EtLSPKDorp2hA0jGxikcnGxXEzcLSDJ0=
125
+ oFmK/m1rSOfxeOz3ueYPGbYHL/nTPZGjlLFweg2rnZ0=
126
126
  </data>
127
127
  </dict>
128
128
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
129
129
  <dict>
130
130
  <key>hash2</key>
131
131
  <data>
132
- 7AUYhRznvIf3pSsWL8Hhd4ncBraDiRFNy8jF437HWNs=
132
+ 00dfDNwoGUIzFIzWwOQXI15upZqH4FuYDRPiQCsD6oQ=
133
133
  </data>
134
134
  </dict>
135
135
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
136
136
  <dict>
137
137
  <key>hash2</key>
138
138
  <data>
139
- WZCIR7EIFzxCTknXbyU8PYr5havsiRpQuQyN0FJfp80=
139
+ xgOlwv1ajV/vyh2XYul5JH/luWi5sbLo11xaSfQisrQ=
140
140
  </data>
141
141
  </dict>
142
142
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
@@ -150,28 +150,28 @@
150
150
  <dict>
151
151
  <key>hash2</key>
152
152
  <data>
153
- WZCIR7EIFzxCTknXbyU8PYr5havsiRpQuQyN0FJfp80=
153
+ xgOlwv1ajV/vyh2XYul5JH/luWi5sbLo11xaSfQisrQ=
154
154
  </data>
155
155
  </dict>
156
156
  <key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
157
157
  <dict>
158
158
  <key>hash2</key>
159
159
  <data>
160
- hj/edENzD4whMuVIDxYBg6brz2O25opCOmG52HxQff4=
160
+ gsypOkhU0IZL++8uZnCMgWtTfLJcBzGiSwepIMjTpn8=
161
161
  </data>
162
162
  </dict>
163
163
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
164
164
  <dict>
165
165
  <key>hash2</key>
166
166
  <data>
167
- 7AUYhRznvIf3pSsWL8Hhd4ncBraDiRFNy8jF437HWNs=
167
+ 00dfDNwoGUIzFIzWwOQXI15upZqH4FuYDRPiQCsD6oQ=
168
168
  </data>
169
169
  </dict>
170
170
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
171
171
  <dict>
172
172
  <key>hash2</key>
173
173
  <data>
174
- zwqDg0ahVf5OgUNaHtR7pn/hxe12hYmOt8seNKNUxqI=
174
+ gMnzNCWzrl3vuHQSqRBKvOnUjhcS/geosE0aHASETKM=
175
175
  </data>
176
176
  </dict>
177
177
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
@@ -185,14 +185,14 @@
185
185
  <dict>
186
186
  <key>hash2</key>
187
187
  <data>
188
- zwqDg0ahVf5OgUNaHtR7pn/hxe12hYmOt8seNKNUxqI=
188
+ gMnzNCWzrl3vuHQSqRBKvOnUjhcS/geosE0aHASETKM=
189
189
  </data>
190
190
  </dict>
191
191
  <key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
192
192
  <dict>
193
193
  <key>hash2</key>
194
194
  <data>
195
- oWKIAjgBpV7TkfIkMRoFypSyRZY/zkP8naI17n3elmM=
195
+ OR0w6v/o17jJu/GHBf4Z9oHqDBzc8m59+5LnTKvucTc=
196
196
  </data>
197
197
  </dict>
198
198
  <key>Modules/module.modulemap</key>