@nativescript/canvas 2.0.0-webgpu.4 → 2.0.0-webgpu.41

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 (211) hide show
  1. package/Canvas/common.d.ts +5 -10
  2. package/Canvas/common.js +61 -144
  3. package/Canvas/common.js.map +1 -1
  4. package/Canvas/index.android.d.ts +6 -5
  5. package/Canvas/index.android.js +63 -42
  6. package/Canvas/index.android.js.map +1 -1
  7. package/Canvas/index.d.ts +13 -3
  8. package/Canvas/index.ios.d.ts +9 -1
  9. package/Canvas/index.ios.js +117 -66
  10. package/Canvas/index.ios.js.map +1 -1
  11. package/Canvas/utils.d.ts +3 -0
  12. package/Canvas/utils.js +85 -0
  13. package/Canvas/utils.js.map +1 -0
  14. package/Canvas2D/CanvasRenderingContext2D/index.d.ts +3 -1
  15. package/Canvas2D/CanvasRenderingContext2D/index.js +2 -4
  16. package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
  17. package/Dom/Group.d.ts +1 -2
  18. package/Dom/Group.js.map +1 -1
  19. package/Dom/Image.js +0 -1
  20. package/Dom/Image.js.map +1 -1
  21. package/Dom/Paint.d.ts +1 -1
  22. package/Dom/shapes/Path.d.ts +1 -1
  23. package/ImageAsset/index.d.ts +4 -2
  24. package/ImageAsset/index.js +151 -37
  25. package/ImageAsset/index.js.map +1 -1
  26. package/ImageBitmap/index.js +107 -20
  27. package/ImageBitmap/index.js.map +1 -1
  28. package/README.md +2 -4
  29. package/WebGL/WebGLRenderingContext/common.d.ts +1 -1
  30. package/WebGL/WebGLRenderingContext/index.js +76 -32
  31. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  32. package/WebGL2/WebGL2RenderingContext/index.js +5 -5
  33. package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
  34. package/WebGPU/GPU.js +4 -3
  35. package/WebGPU/GPU.js.map +1 -1
  36. package/WebGPU/GPUAdapter.d.ts +6 -3
  37. package/WebGPU/GPUAdapter.js +31 -0
  38. package/WebGPU/GPUAdapter.js.map +1 -1
  39. package/WebGPU/GPUBindGroup.d.ts +1 -0
  40. package/WebGPU/GPUBindGroup.js +3 -0
  41. package/WebGPU/GPUBindGroup.js.map +1 -1
  42. package/WebGPU/GPUBindGroupLayout.d.ts +1 -0
  43. package/WebGPU/GPUBindGroupLayout.js +3 -0
  44. package/WebGPU/GPUBindGroupLayout.js.map +1 -1
  45. package/WebGPU/GPUBuffer.js +10 -2
  46. package/WebGPU/GPUBuffer.js.map +1 -1
  47. package/WebGPU/GPUCanvasContext.d.ts +5 -3
  48. package/WebGPU/GPUCanvasContext.js +52 -10
  49. package/WebGPU/GPUCanvasContext.js.map +1 -1
  50. package/WebGPU/GPUCommandBuffer.d.ts +1 -0
  51. package/WebGPU/GPUCommandBuffer.js +3 -0
  52. package/WebGPU/GPUCommandBuffer.js.map +1 -1
  53. package/WebGPU/GPUCommandEncoder.d.ts +3 -9
  54. package/WebGPU/GPUCommandEncoder.js +94 -41
  55. package/WebGPU/GPUCommandEncoder.js.map +1 -1
  56. package/WebGPU/GPUComputePassEncoder.d.ts +1 -0
  57. package/WebGPU/GPUComputePassEncoder.js +3 -0
  58. package/WebGPU/GPUComputePassEncoder.js.map +1 -1
  59. package/WebGPU/GPUComputePipeline.d.ts +1 -0
  60. package/WebGPU/GPUComputePipeline.js +3 -0
  61. package/WebGPU/GPUComputePipeline.js.map +1 -1
  62. package/WebGPU/GPUDevice.d.ts +17 -79
  63. package/WebGPU/GPUDevice.js +75 -91
  64. package/WebGPU/GPUDevice.js.map +1 -1
  65. package/WebGPU/GPUExternalTexture.d.ts +1 -0
  66. package/WebGPU/GPUExternalTexture.js +3 -0
  67. package/WebGPU/GPUExternalTexture.js.map +1 -1
  68. package/WebGPU/GPUPipelineLayout.d.ts +1 -0
  69. package/WebGPU/GPUPipelineLayout.js +3 -0
  70. package/WebGPU/GPUPipelineLayout.js.map +1 -1
  71. package/WebGPU/GPUQuerySet.d.ts +1 -0
  72. package/WebGPU/GPUQuerySet.js +3 -0
  73. package/WebGPU/GPUQuerySet.js.map +1 -1
  74. package/WebGPU/GPUQueue.d.ts +1 -0
  75. package/WebGPU/GPUQueue.js +65 -14
  76. package/WebGPU/GPUQueue.js.map +1 -1
  77. package/WebGPU/GPURenderBundle.d.ts +1 -0
  78. package/WebGPU/GPURenderBundle.js +3 -0
  79. package/WebGPU/GPURenderBundle.js.map +1 -1
  80. package/WebGPU/GPURenderBundleEncoder.d.ts +4 -2
  81. package/WebGPU/GPURenderBundleEncoder.js +7 -3
  82. package/WebGPU/GPURenderBundleEncoder.js.map +1 -1
  83. package/WebGPU/GPURenderPassEncoder.d.ts +5 -1
  84. package/WebGPU/GPURenderPassEncoder.js +14 -2
  85. package/WebGPU/GPURenderPassEncoder.js.map +1 -1
  86. package/WebGPU/GPURenderPipeline.d.ts +1 -0
  87. package/WebGPU/GPURenderPipeline.js +3 -0
  88. package/WebGPU/GPURenderPipeline.js.map +1 -1
  89. package/WebGPU/GPUSampler.d.ts +1 -0
  90. package/WebGPU/GPUSampler.js +3 -0
  91. package/WebGPU/GPUSampler.js.map +1 -1
  92. package/WebGPU/GPUShaderModule.d.ts +1 -1
  93. package/WebGPU/GPUShaderModule.js +2 -2
  94. package/WebGPU/GPUShaderModule.js.map +1 -1
  95. package/WebGPU/GPUTexture.d.ts +1 -0
  96. package/WebGPU/GPUTexture.js +3 -0
  97. package/WebGPU/GPUTexture.js.map +1 -1
  98. package/WebGPU/GPUTextureView.d.ts +1 -0
  99. package/WebGPU/GPUTextureView.js +3 -0
  100. package/WebGPU/GPUTextureView.js.map +1 -1
  101. package/WebGPU/Interfaces.d.ts +95 -4
  102. package/WebGPU/Types.d.ts +9 -1
  103. package/WebGPU/Utils.d.ts +6 -0
  104. package/WebGPU/Utils.js +226 -0
  105. package/WebGPU/Utils.js.map +1 -1
  106. package/angular/esm2022/index.mjs +4 -4
  107. package/angular/fesm2022/nativescript-canvas-angular.mjs +4 -4
  108. package/angular/fesm2022/nativescript-canvas-angular.mjs.map +1 -1
  109. package/common.js.map +1 -1
  110. package/index.d.ts +2 -1
  111. package/index.js +3 -2
  112. package/index.js.map +1 -1
  113. package/package.json +1 -1
  114. package/platforms/android/canvas-release.aar +0 -0
  115. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  116. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +61 -30
  117. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative.h +1 -0
  118. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/NSCMTLView.h +32 -0
  119. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +144 -176
  120. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +342 -72
  121. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
  122. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  123. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +1928 -630
  124. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +85 -23
  125. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  126. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +85 -23
  127. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/NSCCanvas.nib +0 -0
  128. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  129. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +681 -644
  130. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  131. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +122 -60
  132. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative.h +1 -0
  133. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/NSCMTLView.h +32 -0
  134. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +144 -176
  135. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +342 -72
  136. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
  137. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  138. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  139. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +1928 -630
  140. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +85 -23
  141. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  142. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +85 -23
  143. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +1928 -630
  144. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +85 -23
  145. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  146. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +85 -23
  147. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/NSCCanvas.nib +0 -0
  148. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +40 -29
  149. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  150. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +683 -646
  151. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +736 -684
  152. package/platforms/ios/src/NSOperationQueueWrapper.h +1 -1
  153. package/platforms/ios/src/NSOperationQueueWrapper.mm +41 -9
  154. package/platforms/ios/src/cpp/AsyncCallback.h +16 -8
  155. package/platforms/ios/src/cpp/CanvasJSIModule.cpp +310 -801
  156. package/platforms/ios/src/cpp/CanvasJSIModule.h +2 -0
  157. package/platforms/ios/src/cpp/ImageAssetImpl.cpp +578 -413
  158. package/platforms/ios/src/cpp/ImageAssetImpl.h +7 -3
  159. package/platforms/ios/src/cpp/ImageBitmapImpl.cpp +60 -3
  160. package/platforms/ios/src/cpp/ImageBitmapImpl.h +10 -3
  161. package/platforms/ios/src/cpp/PromiseCallback.h +1 -2
  162. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +7 -11
  163. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +3 -3
  164. package/platforms/ios/src/cpp/canvas2d/Path2D.h +5 -5
  165. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +106 -1
  166. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.cpp +6 -6
  167. package/platforms/ios/src/cpp/webgpu/GPUAdapterImpl.cpp +26 -23
  168. package/platforms/ios/src/cpp/webgpu/GPUBindGroupImpl.cpp +31 -5
  169. package/platforms/ios/src/cpp/webgpu/GPUBindGroupImpl.h +4 -1
  170. package/platforms/ios/src/cpp/webgpu/GPUBindGroupLayoutImpl.cpp +26 -0
  171. package/platforms/ios/src/cpp/webgpu/GPUBindGroupLayoutImpl.h +3 -0
  172. package/platforms/ios/src/cpp/webgpu/GPUBufferImpl.cpp +41 -7
  173. package/platforms/ios/src/cpp/webgpu/GPUBufferImpl.h +4 -0
  174. package/platforms/ios/src/cpp/webgpu/GPUCanvasContextImpl.cpp +11 -5
  175. package/platforms/ios/src/cpp/webgpu/GPUCommandBufferImpl.cpp +28 -1
  176. package/platforms/ios/src/cpp/webgpu/GPUCommandBufferImpl.h +3 -0
  177. package/platforms/ios/src/cpp/webgpu/GPUCommandEncoderImpl.cpp +75 -79
  178. package/platforms/ios/src/cpp/webgpu/GPUCommandEncoderImpl.h +4 -0
  179. package/platforms/ios/src/cpp/webgpu/GPUComputePassEncoderImpl.cpp +56 -23
  180. package/platforms/ios/src/cpp/webgpu/GPUComputePassEncoderImpl.h +3 -0
  181. package/platforms/ios/src/cpp/webgpu/GPUComputePipelineImpl.cpp +25 -0
  182. package/platforms/ios/src/cpp/webgpu/GPUComputePipelineImpl.h +2 -0
  183. package/platforms/ios/src/cpp/webgpu/GPUDeviceImpl.cpp +1606 -681
  184. package/platforms/ios/src/cpp/webgpu/GPUDeviceImpl.h +2 -0
  185. package/platforms/ios/src/cpp/webgpu/GPUImpl.cpp +2 -1
  186. package/platforms/ios/src/cpp/webgpu/GPUImpl.h +1 -1
  187. package/platforms/ios/src/cpp/webgpu/GPULabel.h +33 -0
  188. package/platforms/ios/src/cpp/webgpu/GPUPipelineLayoutImpl.cpp +26 -0
  189. package/platforms/ios/src/cpp/webgpu/GPUPipelineLayoutImpl.h +3 -1
  190. package/platforms/ios/src/cpp/webgpu/GPUQuerySetImpl.cpp +1 -2
  191. package/platforms/ios/src/cpp/webgpu/GPUQuerySetImpl.h +1 -1
  192. package/platforms/ios/src/cpp/webgpu/GPUQueueImpl.cpp +83 -14
  193. package/platforms/ios/src/cpp/webgpu/GPUQueueImpl.h +3 -0
  194. package/platforms/ios/src/cpp/webgpu/GPURenderBundleEncoderImpl.cpp +66 -34
  195. package/platforms/ios/src/cpp/webgpu/GPURenderBundleEncoderImpl.h +3 -0
  196. package/platforms/ios/src/cpp/webgpu/GPURenderBundleImpl.cpp +25 -0
  197. package/platforms/ios/src/cpp/webgpu/GPURenderBundleImpl.h +3 -0
  198. package/platforms/ios/src/cpp/webgpu/GPURenderPassEncoderImpl.cpp +151 -52
  199. package/platforms/ios/src/cpp/webgpu/GPURenderPassEncoderImpl.h +7 -0
  200. package/platforms/ios/src/cpp/webgpu/GPURenderPipelineImpl.cpp +25 -0
  201. package/platforms/ios/src/cpp/webgpu/GPURenderPipelineImpl.h +3 -0
  202. package/platforms/ios/src/cpp/webgpu/GPUSamplerImpl.cpp +26 -0
  203. package/platforms/ios/src/cpp/webgpu/GPUSamplerImpl.h +4 -1
  204. package/platforms/ios/src/cpp/webgpu/GPUShaderModuleImpl.cpp +24 -0
  205. package/platforms/ios/src/cpp/webgpu/GPUShaderModuleImpl.h +3 -0
  206. package/platforms/ios/src/cpp/webgpu/GPUTextureImpl.cpp +34 -8
  207. package/platforms/ios/src/cpp/webgpu/GPUTextureImpl.h +2 -0
  208. package/platforms/ios/src/cpp/webgpu/GPUTextureViewImpl.cpp +26 -0
  209. package/platforms/ios/src/cpp/webgpu/GPUTextureViewImpl.h +3 -0
  210. package/platforms/ios/src/cpp/webgpu/GPUUtils.h +511 -0
  211. package/utils.d.ts +1 -1
@@ -165,6 +165,38 @@
165
165
  "declAttributes": ["Final", "AccessControl", "ObjC"],
166
166
  "funcSelfKind": "NonMutating"
167
167
  },
168
+ {
169
+ "kind": "Function",
170
+ "name": "loadImageAssetWithPath",
171
+ "printedName": "loadImageAssetWithPath(_:_:)",
172
+ "children": [
173
+ {
174
+ "kind": "TypeNominal",
175
+ "name": "Bool",
176
+ "printedName": "Swift.Bool",
177
+ "usr": "s:Sb"
178
+ },
179
+ {
180
+ "kind": "TypeNominal",
181
+ "name": "Int64",
182
+ "printedName": "Swift.Int64",
183
+ "usr": "s:s5Int64V"
184
+ },
185
+ {
186
+ "kind": "TypeNominal",
187
+ "name": "String",
188
+ "printedName": "Swift.String",
189
+ "usr": "s:SS"
190
+ }
191
+ ],
192
+ "declKind": "Func",
193
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)loadImageAssetWithPath::",
194
+ "mangledName": "$s12CanvasNative0A7HelpersC22loadImageAssetWithPathySbs5Int64V_SStFZ",
195
+ "moduleName": "CanvasNative",
196
+ "static": true,
197
+ "declAttributes": ["Final", "AccessControl", "ObjC"],
198
+ "funcSelfKind": "NonMutating"
199
+ },
168
200
  {
169
201
  "kind": "Function",
170
202
  "name": "drawImage",
@@ -364,9 +396,9 @@
364
396
  },
365
397
  {
366
398
  "kind": "TypeNominal",
367
- "name": "Int64",
368
- "printedName": "Swift.Int64",
369
- "usr": "s:s5Int64V"
399
+ "name": "NSCCanvas",
400
+ "printedName": "CanvasNative.NSCCanvas",
401
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
370
402
  },
371
403
  {
372
404
  "kind": "TypeNominal",
@@ -383,7 +415,7 @@
383
415
  ],
384
416
  "declKind": "Func",
385
417
  "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initWebGPUWithViewLayer::::",
386
- "mangledName": "$s12CanvasNative0A7HelpersC23initWebGPUWithViewLayerys5Int64VAF_AFs6UInt32VAHtFZ",
418
+ "mangledName": "$s12CanvasNative0A7HelpersC23initWebGPUWithViewLayerys5Int64VAF_AA9NSCCanvasCs6UInt32VAJtFZ",
387
419
  "moduleName": "CanvasNative",
388
420
  "static": true,
389
421
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -408,9 +440,9 @@
408
440
  },
409
441
  {
410
442
  "kind": "TypeNominal",
411
- "name": "Int64",
412
- "printedName": "Swift.Int64",
413
- "usr": "s:s5Int64V"
443
+ "name": "NSCCanvas",
444
+ "printedName": "CanvasNative.NSCCanvas",
445
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
414
446
  },
415
447
  {
416
448
  "kind": "TypeNominal",
@@ -427,105 +459,7 @@
427
459
  ],
428
460
  "declKind": "Func",
429
461
  "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initWebGPUWithView::::",
430
- "mangledName": "$s12CanvasNative0A7HelpersC18initWebGPUWithViewys5Int64VAF_AFs6UInt32VAHtFZ",
431
- "moduleName": "CanvasNative",
432
- "static": true,
433
- "declAttributes": ["Final", "AccessControl", "ObjC"],
434
- "funcSelfKind": "NonMutating"
435
- },
436
- {
437
- "kind": "Function",
438
- "name": "initGLWithView",
439
- "printedName": "initGLWithView(_:_:_:_:_:_:_:_:_:_:_:_:_:)",
440
- "children": [
441
- {
442
- "kind": "TypeNominal",
443
- "name": "Int64",
444
- "printedName": "Swift.Int64",
445
- "usr": "s:s5Int64V"
446
- },
447
- {
448
- "kind": "TypeNominal",
449
- "name": "Int64",
450
- "printedName": "Swift.Int64",
451
- "usr": "s:s5Int64V"
452
- },
453
- {
454
- "kind": "TypeNominal",
455
- "name": "Bool",
456
- "printedName": "Swift.Bool",
457
- "usr": "s:Sb"
458
- },
459
- {
460
- "kind": "TypeNominal",
461
- "name": "Bool",
462
- "printedName": "Swift.Bool",
463
- "usr": "s:Sb"
464
- },
465
- {
466
- "kind": "TypeNominal",
467
- "name": "Bool",
468
- "printedName": "Swift.Bool",
469
- "usr": "s:Sb"
470
- },
471
- {
472
- "kind": "TypeNominal",
473
- "name": "Bool",
474
- "printedName": "Swift.Bool",
475
- "usr": "s:Sb"
476
- },
477
- {
478
- "kind": "TypeNominal",
479
- "name": "Int32",
480
- "printedName": "Swift.Int32",
481
- "usr": "s:s5Int32V"
482
- },
483
- {
484
- "kind": "TypeNominal",
485
- "name": "Bool",
486
- "printedName": "Swift.Bool",
487
- "usr": "s:Sb"
488
- },
489
- {
490
- "kind": "TypeNominal",
491
- "name": "Bool",
492
- "printedName": "Swift.Bool",
493
- "usr": "s:Sb"
494
- },
495
- {
496
- "kind": "TypeNominal",
497
- "name": "Bool",
498
- "printedName": "Swift.Bool",
499
- "usr": "s:Sb"
500
- },
501
- {
502
- "kind": "TypeNominal",
503
- "name": "Bool",
504
- "printedName": "Swift.Bool",
505
- "usr": "s:Sb"
506
- },
507
- {
508
- "kind": "TypeNominal",
509
- "name": "Bool",
510
- "printedName": "Swift.Bool",
511
- "usr": "s:Sb"
512
- },
513
- {
514
- "kind": "TypeNominal",
515
- "name": "Int32",
516
- "printedName": "Swift.Int32",
517
- "usr": "s:s5Int32V"
518
- },
519
- {
520
- "kind": "TypeNominal",
521
- "name": "Bool",
522
- "printedName": "Swift.Bool",
523
- "usr": "s:Sb"
524
- }
525
- ],
526
- "declKind": "Func",
527
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initGLWithView:::::::::::::",
528
- "mangledName": "$s12CanvasNative0A7HelpersC14initGLWithViewys5Int64VAF_S4bs5Int32VS5bAHSbtFZ",
462
+ "mangledName": "$s12CanvasNative0A7HelpersC18initWebGPUWithViewys5Int64VAF_AA9NSCCanvasCs6UInt32VAJtFZ",
529
463
  "moduleName": "CanvasNative",
530
464
  "static": true,
531
465
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -533,14 +467,13 @@
533
467
  },
534
468
  {
535
469
  "kind": "Function",
536
- "name": "initSharedGLWithView",
537
- "printedName": "initSharedGLWithView(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)",
470
+ "name": "resizeWebGPUWithView",
471
+ "printedName": "resizeWebGPUWithView(_:_:_:_:)",
538
472
  "children": [
539
473
  {
540
474
  "kind": "TypeNominal",
541
- "name": "Int64",
542
- "printedName": "Swift.Int64",
543
- "usr": "s:s5Int64V"
475
+ "name": "Void",
476
+ "printedName": "()"
544
477
  },
545
478
  {
546
479
  "kind": "TypeNominal",
@@ -550,86 +483,26 @@
550
483
  },
551
484
  {
552
485
  "kind": "TypeNominal",
553
- "name": "Bool",
554
- "printedName": "Swift.Bool",
555
- "usr": "s:Sb"
556
- },
557
- {
558
- "kind": "TypeNominal",
559
- "name": "Bool",
560
- "printedName": "Swift.Bool",
561
- "usr": "s:Sb"
562
- },
563
- {
564
- "kind": "TypeNominal",
565
- "name": "Bool",
566
- "printedName": "Swift.Bool",
567
- "usr": "s:Sb"
568
- },
569
- {
570
- "kind": "TypeNominal",
571
- "name": "Bool",
572
- "printedName": "Swift.Bool",
573
- "usr": "s:Sb"
574
- },
575
- {
576
- "kind": "TypeNominal",
577
- "name": "Int32",
578
- "printedName": "Swift.Int32",
579
- "usr": "s:s5Int32V"
580
- },
581
- {
582
- "kind": "TypeNominal",
583
- "name": "Bool",
584
- "printedName": "Swift.Bool",
585
- "usr": "s:Sb"
586
- },
587
- {
588
- "kind": "TypeNominal",
589
- "name": "Bool",
590
- "printedName": "Swift.Bool",
591
- "usr": "s:Sb"
592
- },
593
- {
594
- "kind": "TypeNominal",
595
- "name": "Bool",
596
- "printedName": "Swift.Bool",
597
- "usr": "s:Sb"
598
- },
599
- {
600
- "kind": "TypeNominal",
601
- "name": "Bool",
602
- "printedName": "Swift.Bool",
603
- "usr": "s:Sb"
604
- },
605
- {
606
- "kind": "TypeNominal",
607
- "name": "Bool",
608
- "printedName": "Swift.Bool",
609
- "usr": "s:Sb"
610
- },
611
- {
612
- "kind": "TypeNominal",
613
- "name": "Int32",
614
- "printedName": "Swift.Int32",
615
- "usr": "s:s5Int32V"
486
+ "name": "NSCCanvas",
487
+ "printedName": "CanvasNative.NSCCanvas",
488
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
616
489
  },
617
490
  {
618
491
  "kind": "TypeNominal",
619
- "name": "Bool",
620
- "printedName": "Swift.Bool",
621
- "usr": "s:Sb"
492
+ "name": "UInt32",
493
+ "printedName": "Swift.UInt32",
494
+ "usr": "s:s6UInt32V"
622
495
  },
623
496
  {
624
497
  "kind": "TypeNominal",
625
- "name": "Int64",
626
- "printedName": "Swift.Int64",
627
- "usr": "s:s5Int64V"
498
+ "name": "UInt32",
499
+ "printedName": "Swift.UInt32",
500
+ "usr": "s:s6UInt32V"
628
501
  }
629
502
  ],
630
503
  "declKind": "Func",
631
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initSharedGLWithView::::::::::::::",
632
- "mangledName": "$s12CanvasNative0A7HelpersC20initSharedGLWithViewys5Int64VAF_S4bs5Int32VS5bAHSbAFtFZ",
504
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)resizeWebGPUWithView::::",
505
+ "mangledName": "$s12CanvasNative0A7HelpersC20resizeWebGPUWithViewyys5Int64V_AA9NSCCanvasCs6UInt32VAJtFZ",
633
506
  "moduleName": "CanvasNative",
634
507
  "static": true,
635
508
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -637,8 +510,8 @@
637
510
  },
638
511
  {
639
512
  "kind": "Function",
640
- "name": "initGLWithWidthAndHeight",
641
- "printedName": "initGLWithWidthAndHeight(_:_:_:_:_:_:_:_:_:_:_:_:_:_:)",
513
+ "name": "initWebGLWithView",
514
+ "printedName": "initWebGLWithView(_:_:_:_:_:_:_:_:_:_:_:_:)",
642
515
  "children": [
643
516
  {
644
517
  "kind": "TypeNominal",
@@ -648,15 +521,9 @@
648
521
  },
649
522
  {
650
523
  "kind": "TypeNominal",
651
- "name": "Int32",
652
- "printedName": "Swift.Int32",
653
- "usr": "s:s5Int32V"
654
- },
655
- {
656
- "kind": "TypeNominal",
657
- "name": "Int32",
658
- "printedName": "Swift.Int32",
659
- "usr": "s:s5Int32V"
524
+ "name": "NSCCanvas",
525
+ "printedName": "CanvasNative.NSCCanvas",
526
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
660
527
  },
661
528
  {
662
529
  "kind": "TypeNominal",
@@ -723,17 +590,11 @@
723
590
  "name": "Int32",
724
591
  "printedName": "Swift.Int32",
725
592
  "usr": "s:s5Int32V"
726
- },
727
- {
728
- "kind": "TypeNominal",
729
- "name": "Bool",
730
- "printedName": "Swift.Bool",
731
- "usr": "s:Sb"
732
593
  }
733
594
  ],
734
595
  "declKind": "Func",
735
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initGLWithWidthAndHeight::::::::::::::",
736
- "mangledName": "$s12CanvasNative0A7HelpersC24initGLWithWidthAndHeightys5Int64Vs5Int32V_AHS4bAHS5bAHSbtFZ",
596
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initWebGLWithView::::::::::::",
597
+ "mangledName": "$s12CanvasNative0A7HelpersC17initWebGLWithViewys5Int64VAA9NSCCanvasC_S4bs5Int32VS5bAJtFZ",
737
598
  "moduleName": "CanvasNative",
738
599
  "static": true,
739
600
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -741,8 +602,8 @@
741
602
  },
742
603
  {
743
604
  "kind": "Function",
744
- "name": "initSharedGLWidthAndHeight",
745
- "printedName": "initSharedGLWidthAndHeight(_:_:_:_:_:_:_:_:_:_:_:_:_:_:_:)",
605
+ "name": "initWebGLWithWidthAndHeight",
606
+ "printedName": "initWebGLWithWidthAndHeight(_:_:_:_:_:_:_:_:_:_:_:_:_:)",
746
607
  "children": [
747
608
  {
748
609
  "kind": "TypeNominal",
@@ -827,23 +688,11 @@
827
688
  "name": "Int32",
828
689
  "printedName": "Swift.Int32",
829
690
  "usr": "s:s5Int32V"
830
- },
831
- {
832
- "kind": "TypeNominal",
833
- "name": "Bool",
834
- "printedName": "Swift.Bool",
835
- "usr": "s:Sb"
836
- },
837
- {
838
- "kind": "TypeNominal",
839
- "name": "Int64",
840
- "printedName": "Swift.Int64",
841
- "usr": "s:s5Int64V"
842
691
  }
843
692
  ],
844
693
  "declKind": "Func",
845
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initSharedGLWidthAndHeight:::::::::::::::",
846
- "mangledName": "$s12CanvasNative0A7HelpersC26initSharedGLWidthAndHeightys5Int64Vs5Int32V_AHS4bAHS5bAHSbAFtFZ",
694
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)initWebGLWithWidthAndHeight:::::::::::::",
695
+ "mangledName": "$s12CanvasNative0A7HelpersC27initWebGLWithWidthAndHeightys5Int64Vs5Int32V_AHS4bAHS5bAHtFZ",
847
696
  "moduleName": "CanvasNative",
848
697
  "static": true,
849
698
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -913,14 +762,13 @@
913
762
  },
914
763
  {
915
764
  "kind": "Function",
916
- "name": "flushGL",
917
- "printedName": "flushGL(_:)",
765
+ "name": "flush2DContextAndSyncCPU",
766
+ "printedName": "flush2DContextAndSyncCPU(_:)",
918
767
  "children": [
919
768
  {
920
769
  "kind": "TypeNominal",
921
- "name": "Bool",
922
- "printedName": "Swift.Bool",
923
- "usr": "s:Sb"
770
+ "name": "Void",
771
+ "printedName": "()"
924
772
  },
925
773
  {
926
774
  "kind": "TypeNominal",
@@ -930,8 +778,8 @@
930
778
  }
931
779
  ],
932
780
  "declKind": "Func",
933
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)flushGL:",
934
- "mangledName": "$s12CanvasNative0A7HelpersC7flushGLySbs5Int64VFZ",
781
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)flush2DContextAndSyncCPU:",
782
+ "mangledName": "$s12CanvasNative0A7HelpersC24flush2DContextAndSyncCPUyys5Int64VFZ",
935
783
  "moduleName": "CanvasNative",
936
784
  "static": true,
937
785
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -939,8 +787,8 @@
939
787
  },
940
788
  {
941
789
  "kind": "Function",
942
- "name": "releaseGL",
943
- "printedName": "releaseGL(_:)",
790
+ "name": "presentDrawable",
791
+ "printedName": "presentDrawable(_:)",
944
792
  "children": [
945
793
  {
946
794
  "kind": "TypeNominal",
@@ -955,8 +803,8 @@
955
803
  }
956
804
  ],
957
805
  "declKind": "Func",
958
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)releaseGL:",
959
- "mangledName": "$s12CanvasNative0A7HelpersC9releaseGLyys5Int64VFZ",
806
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)presentDrawable:",
807
+ "mangledName": "$s12CanvasNative0A7HelpersC15presentDrawableyys5Int64VFZ",
960
808
  "moduleName": "CanvasNative",
961
809
  "static": true,
962
810
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -964,15 +812,15 @@
964
812
  },
965
813
  {
966
814
  "kind": "Function",
967
- "name": "getGLPointer",
968
- "printedName": "getGLPointer(_:)",
815
+ "name": "flushWebGL",
816
+ "printedName": "flushWebGL(_:)",
969
817
  "children": [
970
818
  {
971
819
  "kind": "TypeNominal",
972
- "name": "Int64",
973
- "printedName": "Swift.Int64",
974
- "usr": "s:s5Int64V"
975
- },
820
+ "name": "Bool",
821
+ "printedName": "Swift.Bool",
822
+ "usr": "s:Sb"
823
+ },
976
824
  {
977
825
  "kind": "TypeNominal",
978
826
  "name": "Int64",
@@ -981,8 +829,8 @@
981
829
  }
982
830
  ],
983
831
  "declKind": "Func",
984
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)getGLPointer:",
985
- "mangledName": "$s12CanvasNative0A7HelpersC12getGLPointerys5Int64VAFFZ",
832
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)flushWebGL:",
833
+ "mangledName": "$s12CanvasNative0A7HelpersC10flushWebGLySbs5Int64VFZ",
986
834
  "moduleName": "CanvasNative",
987
835
  "static": true,
988
836
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -990,8 +838,8 @@
990
838
  },
991
839
  {
992
840
  "kind": "Function",
993
- "name": "releaseGLPointer",
994
- "printedName": "releaseGLPointer(_:)",
841
+ "name": "releaseWebGL",
842
+ "printedName": "releaseWebGL(_:)",
995
843
  "children": [
996
844
  {
997
845
  "kind": "TypeNominal",
@@ -1006,8 +854,8 @@
1006
854
  }
1007
855
  ],
1008
856
  "declKind": "Func",
1009
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)releaseGLPointer:",
1010
- "mangledName": "$s12CanvasNative0A7HelpersC16releaseGLPointeryys5Int64VFZ",
857
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)releaseWebGL:",
858
+ "mangledName": "$s12CanvasNative0A7HelpersC12releaseWebGLyys5Int64VFZ",
1011
859
  "moduleName": "CanvasNative",
1012
860
  "static": true,
1013
861
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -1016,7 +864,7 @@
1016
864
  {
1017
865
  "kind": "Function",
1018
866
  "name": "create2DContext",
1019
- "printedName": "create2DContext(_:_:_:_:_:_:_:_:_:)",
867
+ "printedName": "create2DContext(_:_:_:_:_:_:_:_:)",
1020
868
  "children": [
1021
869
  {
1022
870
  "kind": "TypeNominal",
@@ -1026,9 +874,9 @@
1026
874
  },
1027
875
  {
1028
876
  "kind": "TypeNominal",
1029
- "name": "Int64",
1030
- "printedName": "Swift.Int64",
1031
- "usr": "s:s5Int64V"
877
+ "name": "NSCCanvas",
878
+ "printedName": "CanvasNative.NSCCanvas",
879
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
1032
880
  },
1033
881
  {
1034
882
  "kind": "TypeNominal",
@@ -1060,12 +908,6 @@
1060
908
  "printedName": "Swift.Int32",
1061
909
  "usr": "s:s5Int32V"
1062
910
  },
1063
- {
1064
- "kind": "TypeNominal",
1065
- "name": "Int32",
1066
- "printedName": "Swift.Int32",
1067
- "usr": "s:s5Int32V"
1068
- },
1069
911
  {
1070
912
  "kind": "TypeNominal",
1071
913
  "name": "Float",
@@ -1080,8 +922,8 @@
1080
922
  }
1081
923
  ],
1082
924
  "declKind": "Func",
1083
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)create2DContext:::::::::",
1084
- "mangledName": "$s12CanvasNative0A7HelpersC15create2DContextys5Int64VAF_s5Int32VAHSbSfA2HSfAHtFZ",
925
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)create2DContext::::::::",
926
+ "mangledName": "$s12CanvasNative0A7HelpersC15create2DContextys5Int64VAA9NSCCanvasC_s5Int32VAJSbSfAJSfAJtFZ",
1085
927
  "moduleName": "CanvasNative",
1086
928
  "static": true,
1087
929
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -1089,14 +931,9 @@
1089
931
  },
1090
932
  {
1091
933
  "kind": "Function",
1092
- "name": "updateGLSurfaceWithView",
1093
- "printedName": "updateGLSurfaceWithView(_:_:_:_:)",
934
+ "name": "create2DContextMetal",
935
+ "printedName": "create2DContextMetal(_:_:_:_:_:_:)",
1094
936
  "children": [
1095
- {
1096
- "kind": "TypeNominal",
1097
- "name": "Void",
1098
- "printedName": "()"
1099
- },
1100
937
  {
1101
938
  "kind": "TypeNominal",
1102
939
  "name": "Int64",
@@ -1105,9 +942,21 @@
1105
942
  },
1106
943
  {
1107
944
  "kind": "TypeNominal",
1108
- "name": "Int32",
1109
- "printedName": "Swift.Int32",
1110
- "usr": "s:s5Int32V"
945
+ "name": "NSCCanvas",
946
+ "printedName": "CanvasNative.NSCCanvas",
947
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
948
+ },
949
+ {
950
+ "kind": "TypeNominal",
951
+ "name": "Bool",
952
+ "printedName": "Swift.Bool",
953
+ "usr": "s:Sb"
954
+ },
955
+ {
956
+ "kind": "TypeNominal",
957
+ "name": "Float",
958
+ "printedName": "Swift.Float",
959
+ "usr": "s:Sf"
1111
960
  },
1112
961
  {
1113
962
  "kind": "TypeNominal",
@@ -1117,14 +966,20 @@
1117
966
  },
1118
967
  {
1119
968
  "kind": "TypeNominal",
1120
- "name": "Int64",
1121
- "printedName": "Swift.Int64",
1122
- "usr": "s:s5Int64V"
969
+ "name": "Float",
970
+ "printedName": "Swift.Float",
971
+ "usr": "s:Sf"
972
+ },
973
+ {
974
+ "kind": "TypeNominal",
975
+ "name": "Int32",
976
+ "printedName": "Swift.Int32",
977
+ "usr": "s:s5Int32V"
1123
978
  }
1124
979
  ],
1125
980
  "declKind": "Func",
1126
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)updateGLSurfaceWithView::::",
1127
- "mangledName": "$s12CanvasNative0A7HelpersC23updateGLSurfaceWithViewyys5Int64V_s5Int32VAhFtFZ",
981
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)create2DContextMetal::::::",
982
+ "mangledName": "$s12CanvasNative0A7HelpersC20create2DContextMetalys5Int64VAA9NSCCanvasC_SbSfs5Int32VSfAJtFZ",
1128
983
  "moduleName": "CanvasNative",
1129
984
  "static": true,
1130
985
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -1132,8 +987,8 @@
1132
987
  },
1133
988
  {
1134
989
  "kind": "Function",
1135
- "name": "test2D",
1136
- "printedName": "test2D(_:)",
990
+ "name": "updateWebGLSurfaceWithView",
991
+ "printedName": "updateWebGLSurfaceWithView(_:_:_:_:)",
1137
992
  "children": [
1138
993
  {
1139
994
  "kind": "TypeNominal",
@@ -1145,26 +1000,18 @@
1145
1000
  "name": "Int64",
1146
1001
  "printedName": "Swift.Int64",
1147
1002
  "usr": "s:s5Int64V"
1148
- }
1149
- ],
1150
- "declKind": "Func",
1151
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)test2D:",
1152
- "mangledName": "$s12CanvasNative0A7HelpersC6test2Dyys5Int64VFZ",
1153
- "moduleName": "CanvasNative",
1154
- "static": true,
1155
- "declAttributes": ["Final", "AccessControl", "ObjC"],
1156
- "funcSelfKind": "NonMutating"
1157
- },
1158
- {
1159
- "kind": "Function",
1160
- "name": "testToDataURL",
1161
- "printedName": "testToDataURL(_:)",
1162
- "children": [
1003
+ },
1163
1004
  {
1164
1005
  "kind": "TypeNominal",
1165
- "name": "String",
1166
- "printedName": "Swift.String",
1167
- "usr": "s:SS"
1006
+ "name": "Int32",
1007
+ "printedName": "Swift.Int32",
1008
+ "usr": "s:s5Int32V"
1009
+ },
1010
+ {
1011
+ "kind": "TypeNominal",
1012
+ "name": "Int32",
1013
+ "printedName": "Swift.Int32",
1014
+ "usr": "s:s5Int32V"
1168
1015
  },
1169
1016
  {
1170
1017
  "kind": "TypeNominal",
@@ -1174,8 +1021,8 @@
1174
1021
  }
1175
1022
  ],
1176
1023
  "declKind": "Func",
1177
- "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)testToDataURL:",
1178
- "mangledName": "$s12CanvasNative0A7HelpersC13testToDataURLySSs5Int64VFZ",
1024
+ "usr": "c:@M@CanvasNative@objc(cs)NSSCanvasHelpers(cm)updateWebGLSurfaceWithView::::",
1025
+ "mangledName": "$s12CanvasNative0A7HelpersC26updateWebGLSurfaceWithViewyys5Int64V_s5Int32VAhFtFZ",
1179
1026
  "moduleName": "CanvasNative",
1180
1027
  "static": true,
1181
1028
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -1593,37 +1440,1107 @@
1593
1440
  },
1594
1441
  {
1595
1442
  "kind": "Import",
1596
- "name": "UIKit",
1597
- "printedName": "UIKit",
1598
- "declKind": "Import",
1599
- "moduleName": "CanvasNative"
1600
- },
1601
- {
1602
- "kind": "Import",
1603
- "name": "GLKit",
1604
- "printedName": "GLKit",
1605
- "declKind": "Import",
1606
- "moduleName": "CanvasNative"
1607
- },
1608
- {
1609
- "kind": "Import",
1610
- "name": "WebKit",
1611
- "printedName": "WebKit",
1443
+ "name": "CoreVideo",
1444
+ "printedName": "CoreVideo",
1612
1445
  "declKind": "Import",
1613
1446
  "moduleName": "CanvasNative"
1614
1447
  },
1615
1448
  {
1616
1449
  "kind": "Import",
1617
- "name": "MetalKit",
1618
- "printedName": "MetalKit",
1450
+ "name": "AVFoundation",
1451
+ "printedName": "AVFoundation",
1619
1452
  "declKind": "Import",
1620
1453
  "moduleName": "CanvasNative"
1621
1454
  },
1622
1455
  {
1623
1456
  "kind": "TypeDecl",
1624
- "name": "NSCCanvas",
1625
- "printedName": "NSCCanvas",
1457
+ "name": "NSCVideoFrame",
1458
+ "printedName": "NSCVideoFrame",
1626
1459
  "children": [
1460
+ {
1461
+ "kind": "TypeDecl",
1462
+ "name": "NSCVideoFrameFormat",
1463
+ "printedName": "NSCVideoFrameFormat",
1464
+ "children": [
1465
+ {
1466
+ "kind": "Var",
1467
+ "name": "I420",
1468
+ "printedName": "I420",
1469
+ "children": [
1470
+ {
1471
+ "kind": "TypeFunc",
1472
+ "name": "Function",
1473
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1474
+ "children": [
1475
+ {
1476
+ "kind": "TypeNominal",
1477
+ "name": "NSCVideoFrameFormat",
1478
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1479
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1480
+ },
1481
+ {
1482
+ "kind": "TypeNominal",
1483
+ "name": "Metatype",
1484
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1485
+ "children": [
1486
+ {
1487
+ "kind": "TypeNominal",
1488
+ "name": "NSCVideoFrameFormat",
1489
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1490
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1491
+ }
1492
+ ]
1493
+ }
1494
+ ]
1495
+ }
1496
+ ],
1497
+ "declKind": "EnumElement",
1498
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4I420yA2EmF",
1499
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4I420yA2EmF",
1500
+ "moduleName": "CanvasNative",
1501
+ "declAttributes": ["ObjC"],
1502
+ "fixedbinaryorder": 0
1503
+ },
1504
+ {
1505
+ "kind": "Var",
1506
+ "name": "I420A",
1507
+ "printedName": "I420A",
1508
+ "children": [
1509
+ {
1510
+ "kind": "TypeFunc",
1511
+ "name": "Function",
1512
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1513
+ "children": [
1514
+ {
1515
+ "kind": "TypeNominal",
1516
+ "name": "NSCVideoFrameFormat",
1517
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1518
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1519
+ },
1520
+ {
1521
+ "kind": "TypeNominal",
1522
+ "name": "Metatype",
1523
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1524
+ "children": [
1525
+ {
1526
+ "kind": "TypeNominal",
1527
+ "name": "NSCVideoFrameFormat",
1528
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1529
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1530
+ }
1531
+ ]
1532
+ }
1533
+ ]
1534
+ }
1535
+ ],
1536
+ "declKind": "EnumElement",
1537
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO5I420AyA2EmF",
1538
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO5I420AyA2EmF",
1539
+ "moduleName": "CanvasNative",
1540
+ "declAttributes": ["ObjC"],
1541
+ "fixedbinaryorder": 1
1542
+ },
1543
+ {
1544
+ "kind": "Var",
1545
+ "name": "I422",
1546
+ "printedName": "I422",
1547
+ "children": [
1548
+ {
1549
+ "kind": "TypeFunc",
1550
+ "name": "Function",
1551
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1552
+ "children": [
1553
+ {
1554
+ "kind": "TypeNominal",
1555
+ "name": "NSCVideoFrameFormat",
1556
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1557
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1558
+ },
1559
+ {
1560
+ "kind": "TypeNominal",
1561
+ "name": "Metatype",
1562
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1563
+ "children": [
1564
+ {
1565
+ "kind": "TypeNominal",
1566
+ "name": "NSCVideoFrameFormat",
1567
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1568
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1569
+ }
1570
+ ]
1571
+ }
1572
+ ]
1573
+ }
1574
+ ],
1575
+ "declKind": "EnumElement",
1576
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4I422yA2EmF",
1577
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4I422yA2EmF",
1578
+ "moduleName": "CanvasNative",
1579
+ "declAttributes": ["ObjC"],
1580
+ "fixedbinaryorder": 2
1581
+ },
1582
+ {
1583
+ "kind": "Var",
1584
+ "name": "I444",
1585
+ "printedName": "I444",
1586
+ "children": [
1587
+ {
1588
+ "kind": "TypeFunc",
1589
+ "name": "Function",
1590
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1591
+ "children": [
1592
+ {
1593
+ "kind": "TypeNominal",
1594
+ "name": "NSCVideoFrameFormat",
1595
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1596
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1597
+ },
1598
+ {
1599
+ "kind": "TypeNominal",
1600
+ "name": "Metatype",
1601
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1602
+ "children": [
1603
+ {
1604
+ "kind": "TypeNominal",
1605
+ "name": "NSCVideoFrameFormat",
1606
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1607
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1608
+ }
1609
+ ]
1610
+ }
1611
+ ]
1612
+ }
1613
+ ],
1614
+ "declKind": "EnumElement",
1615
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4I444yA2EmF",
1616
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4I444yA2EmF",
1617
+ "moduleName": "CanvasNative",
1618
+ "declAttributes": ["ObjC"],
1619
+ "fixedbinaryorder": 3
1620
+ },
1621
+ {
1622
+ "kind": "Var",
1623
+ "name": "NV12",
1624
+ "printedName": "NV12",
1625
+ "children": [
1626
+ {
1627
+ "kind": "TypeFunc",
1628
+ "name": "Function",
1629
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1630
+ "children": [
1631
+ {
1632
+ "kind": "TypeNominal",
1633
+ "name": "NSCVideoFrameFormat",
1634
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1635
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1636
+ },
1637
+ {
1638
+ "kind": "TypeNominal",
1639
+ "name": "Metatype",
1640
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1641
+ "children": [
1642
+ {
1643
+ "kind": "TypeNominal",
1644
+ "name": "NSCVideoFrameFormat",
1645
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1646
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1647
+ }
1648
+ ]
1649
+ }
1650
+ ]
1651
+ }
1652
+ ],
1653
+ "declKind": "EnumElement",
1654
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4NV12yA2EmF",
1655
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4NV12yA2EmF",
1656
+ "moduleName": "CanvasNative",
1657
+ "declAttributes": ["ObjC"],
1658
+ "fixedbinaryorder": 4
1659
+ },
1660
+ {
1661
+ "kind": "Var",
1662
+ "name": "RGBA",
1663
+ "printedName": "RGBA",
1664
+ "children": [
1665
+ {
1666
+ "kind": "TypeFunc",
1667
+ "name": "Function",
1668
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1669
+ "children": [
1670
+ {
1671
+ "kind": "TypeNominal",
1672
+ "name": "NSCVideoFrameFormat",
1673
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1674
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1675
+ },
1676
+ {
1677
+ "kind": "TypeNominal",
1678
+ "name": "Metatype",
1679
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1680
+ "children": [
1681
+ {
1682
+ "kind": "TypeNominal",
1683
+ "name": "NSCVideoFrameFormat",
1684
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1685
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1686
+ }
1687
+ ]
1688
+ }
1689
+ ]
1690
+ }
1691
+ ],
1692
+ "declKind": "EnumElement",
1693
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4RGBAyA2EmF",
1694
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4RGBAyA2EmF",
1695
+ "moduleName": "CanvasNative",
1696
+ "declAttributes": ["ObjC"],
1697
+ "fixedbinaryorder": 5
1698
+ },
1699
+ {
1700
+ "kind": "Var",
1701
+ "name": "RGBX",
1702
+ "printedName": "RGBX",
1703
+ "children": [
1704
+ {
1705
+ "kind": "TypeFunc",
1706
+ "name": "Function",
1707
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1708
+ "children": [
1709
+ {
1710
+ "kind": "TypeNominal",
1711
+ "name": "NSCVideoFrameFormat",
1712
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1713
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1714
+ },
1715
+ {
1716
+ "kind": "TypeNominal",
1717
+ "name": "Metatype",
1718
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1719
+ "children": [
1720
+ {
1721
+ "kind": "TypeNominal",
1722
+ "name": "NSCVideoFrameFormat",
1723
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1724
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1725
+ }
1726
+ ]
1727
+ }
1728
+ ]
1729
+ }
1730
+ ],
1731
+ "declKind": "EnumElement",
1732
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4RGBXyA2EmF",
1733
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4RGBXyA2EmF",
1734
+ "moduleName": "CanvasNative",
1735
+ "declAttributes": ["ObjC"],
1736
+ "fixedbinaryorder": 6
1737
+ },
1738
+ {
1739
+ "kind": "Var",
1740
+ "name": "BGRA",
1741
+ "printedName": "BGRA",
1742
+ "children": [
1743
+ {
1744
+ "kind": "TypeFunc",
1745
+ "name": "Function",
1746
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1747
+ "children": [
1748
+ {
1749
+ "kind": "TypeNominal",
1750
+ "name": "NSCVideoFrameFormat",
1751
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1752
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1753
+ },
1754
+ {
1755
+ "kind": "TypeNominal",
1756
+ "name": "Metatype",
1757
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1758
+ "children": [
1759
+ {
1760
+ "kind": "TypeNominal",
1761
+ "name": "NSCVideoFrameFormat",
1762
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1763
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1764
+ }
1765
+ ]
1766
+ }
1767
+ ]
1768
+ }
1769
+ ],
1770
+ "declKind": "EnumElement",
1771
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4BGRAyA2EmF",
1772
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4BGRAyA2EmF",
1773
+ "moduleName": "CanvasNative",
1774
+ "declAttributes": ["ObjC"],
1775
+ "fixedbinaryorder": 7
1776
+ },
1777
+ {
1778
+ "kind": "Var",
1779
+ "name": "BGRX",
1780
+ "printedName": "BGRX",
1781
+ "children": [
1782
+ {
1783
+ "kind": "TypeFunc",
1784
+ "name": "Function",
1785
+ "printedName": "(CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type) -> CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1786
+ "children": [
1787
+ {
1788
+ "kind": "TypeNominal",
1789
+ "name": "NSCVideoFrameFormat",
1790
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1791
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1792
+ },
1793
+ {
1794
+ "kind": "TypeNominal",
1795
+ "name": "Metatype",
1796
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat.Type",
1797
+ "children": [
1798
+ {
1799
+ "kind": "TypeNominal",
1800
+ "name": "NSCVideoFrameFormat",
1801
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1802
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1803
+ }
1804
+ ]
1805
+ }
1806
+ ]
1807
+ }
1808
+ ],
1809
+ "declKind": "EnumElement",
1810
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO4BGRXyA2EmF",
1811
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO4BGRXyA2EmF",
1812
+ "moduleName": "CanvasNative",
1813
+ "declAttributes": ["ObjC"],
1814
+ "fixedbinaryorder": 8
1815
+ },
1816
+ {
1817
+ "kind": "Var",
1818
+ "name": "rawValue",
1819
+ "printedName": "rawValue",
1820
+ "children": [
1821
+ {
1822
+ "kind": "TypeNominal",
1823
+ "name": "UInt32",
1824
+ "printedName": "Swift.UInt32",
1825
+ "usr": "s:s6UInt32V"
1826
+ }
1827
+ ],
1828
+ "declKind": "Var",
1829
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValues6UInt32Vvp",
1830
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValues6UInt32Vvp",
1831
+ "moduleName": "CanvasNative",
1832
+ "declAttributes": ["AccessControl"],
1833
+ "accessors": [
1834
+ {
1835
+ "kind": "Accessor",
1836
+ "name": "Get",
1837
+ "printedName": "Get()",
1838
+ "children": [
1839
+ {
1840
+ "kind": "TypeNominal",
1841
+ "name": "UInt32",
1842
+ "printedName": "Swift.UInt32",
1843
+ "usr": "s:s6UInt32V"
1844
+ }
1845
+ ],
1846
+ "declKind": "Accessor",
1847
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValues6UInt32Vvg",
1848
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValues6UInt32Vvg",
1849
+ "moduleName": "CanvasNative",
1850
+ "accessorKind": "get"
1851
+ }
1852
+ ]
1853
+ },
1854
+ {
1855
+ "kind": "Constructor",
1856
+ "name": "init",
1857
+ "printedName": "init(rawValue:)",
1858
+ "children": [
1859
+ {
1860
+ "kind": "TypeNominal",
1861
+ "name": "Optional",
1862
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat?",
1863
+ "children": [
1864
+ {
1865
+ "kind": "TypeNominal",
1866
+ "name": "NSCVideoFrameFormat",
1867
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
1868
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
1869
+ }
1870
+ ],
1871
+ "usr": "s:Sq"
1872
+ },
1873
+ {
1874
+ "kind": "TypeNominal",
1875
+ "name": "UInt32",
1876
+ "printedName": "Swift.UInt32",
1877
+ "usr": "s:s6UInt32V"
1878
+ }
1879
+ ],
1880
+ "declKind": "Constructor",
1881
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValueAESgs6UInt32V_tcfc",
1882
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO8rawValueAESgs6UInt32V_tcfc",
1883
+ "moduleName": "CanvasNative",
1884
+ "declAttributes": ["AccessControl"],
1885
+ "init_kind": "Designated"
1886
+ }
1887
+ ],
1888
+ "declKind": "Enum",
1889
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO",
1890
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC0cD6FormatO",
1891
+ "moduleName": "CanvasNative",
1892
+ "objc_name": "NSCVideoFrameFormat",
1893
+ "declAttributes": ["AccessControl", "ObjC"],
1894
+ "enumRawTypeName": "Int",
1895
+ "conformances": [
1896
+ {
1897
+ "kind": "Conformance",
1898
+ "name": "Equatable",
1899
+ "printedName": "Equatable",
1900
+ "usr": "s:SQ",
1901
+ "mangledName": "$sSQ"
1902
+ },
1903
+ {
1904
+ "kind": "Conformance",
1905
+ "name": "Hashable",
1906
+ "printedName": "Hashable",
1907
+ "usr": "s:SH",
1908
+ "mangledName": "$sSH"
1909
+ },
1910
+ {
1911
+ "kind": "Conformance",
1912
+ "name": "RawRepresentable",
1913
+ "printedName": "RawRepresentable",
1914
+ "children": [
1915
+ {
1916
+ "kind": "TypeWitness",
1917
+ "name": "RawValue",
1918
+ "printedName": "RawValue",
1919
+ "children": [
1920
+ {
1921
+ "kind": "TypeNominal",
1922
+ "name": "UInt32",
1923
+ "printedName": "Swift.UInt32",
1924
+ "usr": "s:s6UInt32V"
1925
+ }
1926
+ ]
1927
+ }
1928
+ ],
1929
+ "usr": "s:SY",
1930
+ "mangledName": "$sSY"
1931
+ }
1932
+ ]
1933
+ },
1934
+ {
1935
+ "kind": "Var",
1936
+ "name": "pixelBuffer",
1937
+ "printedName": "pixelBuffer",
1938
+ "children": [
1939
+ {
1940
+ "kind": "TypeNominal",
1941
+ "name": "CVBuffer",
1942
+ "printedName": "CoreVideo.CVBuffer",
1943
+ "usr": "c:@T@CVBufferRef"
1944
+ }
1945
+ ],
1946
+ "declKind": "Var",
1947
+ "usr": "s:12CanvasNative13NSCVideoFrameC11pixelBufferSo11CVBufferRefavp",
1948
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11pixelBufferSo11CVBufferRefavp",
1949
+ "moduleName": "CanvasNative",
1950
+ "declAttributes": ["HasStorage", "AccessControl", "SetterAccess"],
1951
+ "hasStorage": true,
1952
+ "accessors": [
1953
+ {
1954
+ "kind": "Accessor",
1955
+ "name": "Get",
1956
+ "printedName": "Get()",
1957
+ "children": [
1958
+ {
1959
+ "kind": "TypeNominal",
1960
+ "name": "CVBuffer",
1961
+ "printedName": "CoreVideo.CVBuffer",
1962
+ "usr": "c:@T@CVBufferRef"
1963
+ }
1964
+ ],
1965
+ "declKind": "Accessor",
1966
+ "usr": "s:12CanvasNative13NSCVideoFrameC11pixelBufferSo11CVBufferRefavg",
1967
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11pixelBufferSo11CVBufferRefavg",
1968
+ "moduleName": "CanvasNative",
1969
+ "implicit": true,
1970
+ "accessorKind": "get"
1971
+ }
1972
+ ]
1973
+ },
1974
+ {
1975
+ "kind": "Var",
1976
+ "name": "timestamp",
1977
+ "printedName": "timestamp",
1978
+ "children": [
1979
+ {
1980
+ "kind": "TypeNominal",
1981
+ "name": "Int64",
1982
+ "printedName": "Swift.Int64",
1983
+ "usr": "s:s5Int64V"
1984
+ }
1985
+ ],
1986
+ "declKind": "Var",
1987
+ "usr": "s:12CanvasNative13NSCVideoFrameC9timestamps5Int64Vvp",
1988
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC9timestamps5Int64Vvp",
1989
+ "moduleName": "CanvasNative",
1990
+ "declAttributes": ["HasStorage", "AccessControl", "SetterAccess"],
1991
+ "hasStorage": true,
1992
+ "accessors": [
1993
+ {
1994
+ "kind": "Accessor",
1995
+ "name": "Get",
1996
+ "printedName": "Get()",
1997
+ "children": [
1998
+ {
1999
+ "kind": "TypeNominal",
2000
+ "name": "Int64",
2001
+ "printedName": "Swift.Int64",
2002
+ "usr": "s:s5Int64V"
2003
+ }
2004
+ ],
2005
+ "declKind": "Accessor",
2006
+ "usr": "s:12CanvasNative13NSCVideoFrameC9timestamps5Int64Vvg",
2007
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC9timestamps5Int64Vvg",
2008
+ "moduleName": "CanvasNative",
2009
+ "implicit": true,
2010
+ "accessorKind": "get"
2011
+ }
2012
+ ]
2013
+ },
2014
+ {
2015
+ "kind": "Var",
2016
+ "name": "format",
2017
+ "printedName": "format",
2018
+ "children": [
2019
+ {
2020
+ "kind": "TypeNominal",
2021
+ "name": "NSCVideoFrameFormat",
2022
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
2023
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
2024
+ }
2025
+ ],
2026
+ "declKind": "Var",
2027
+ "usr": "s:12CanvasNative13NSCVideoFrameC6formatAC0cD6FormatOvp",
2028
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC6formatAC0cD6FormatOvp",
2029
+ "moduleName": "CanvasNative",
2030
+ "declAttributes": ["HasStorage", "AccessControl", "SetterAccess"],
2031
+ "hasStorage": true,
2032
+ "accessors": [
2033
+ {
2034
+ "kind": "Accessor",
2035
+ "name": "Get",
2036
+ "printedName": "Get()",
2037
+ "children": [
2038
+ {
2039
+ "kind": "TypeNominal",
2040
+ "name": "NSCVideoFrameFormat",
2041
+ "printedName": "CanvasNative.NSCVideoFrame.NSCVideoFrameFormat",
2042
+ "usr": "s:12CanvasNative13NSCVideoFrameC0cD6FormatO"
2043
+ }
2044
+ ],
2045
+ "declKind": "Accessor",
2046
+ "usr": "s:12CanvasNative13NSCVideoFrameC6formatAC0cD6FormatOvg",
2047
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC6formatAC0cD6FormatOvg",
2048
+ "moduleName": "CanvasNative",
2049
+ "implicit": true,
2050
+ "accessorKind": "get"
2051
+ }
2052
+ ]
2053
+ },
2054
+ {
2055
+ "kind": "Function",
2056
+ "name": "getCurrentFrame",
2057
+ "printedName": "getCurrentFrame(_:_:)",
2058
+ "children": [
2059
+ {
2060
+ "kind": "TypeNominal",
2061
+ "name": "Optional",
2062
+ "printedName": "CanvasNative.NSCVideoFrame?",
2063
+ "children": [
2064
+ {
2065
+ "kind": "TypeNominal",
2066
+ "name": "NSCVideoFrame",
2067
+ "printedName": "CanvasNative.NSCVideoFrame",
2068
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame"
2069
+ }
2070
+ ],
2071
+ "usr": "s:Sq"
2072
+ },
2073
+ {
2074
+ "kind": "TypeNominal",
2075
+ "name": "AVPlayer",
2076
+ "printedName": "AVFoundation.AVPlayer",
2077
+ "usr": "c:objc(cs)AVPlayer"
2078
+ },
2079
+ {
2080
+ "kind": "TypeNominal",
2081
+ "name": "AVPlayerItemVideoOutput",
2082
+ "printedName": "AVFoundation.AVPlayerItemVideoOutput",
2083
+ "usr": "c:objc(cs)AVPlayerItemVideoOutput"
2084
+ }
2085
+ ],
2086
+ "declKind": "Func",
2087
+ "usr": "s:12CanvasNative13NSCVideoFrameC010getCurrentD0yACSgSo8AVPlayerC_So0G15ItemVideoOutputCtKFZ",
2088
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC010getCurrentD0yACSgSo8AVPlayerC_So0G15ItemVideoOutputCtKFZ",
2089
+ "moduleName": "CanvasNative",
2090
+ "static": true,
2091
+ "declAttributes": ["Final", "AccessControl"],
2092
+ "throwing": true,
2093
+ "funcSelfKind": "NonMutating"
2094
+ },
2095
+ {
2096
+ "kind": "Constructor",
2097
+ "name": "init",
2098
+ "printedName": "init(currentTime:frame:)",
2099
+ "children": [
2100
+ {
2101
+ "kind": "TypeNominal",
2102
+ "name": "NSCVideoFrame",
2103
+ "printedName": "CanvasNative.NSCVideoFrame",
2104
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame"
2105
+ },
2106
+ {
2107
+ "kind": "TypeNominal",
2108
+ "name": "CMTime",
2109
+ "printedName": "CoreMedia.CMTime",
2110
+ "usr": "c:@SA@CMTime"
2111
+ },
2112
+ {
2113
+ "kind": "TypeNominal",
2114
+ "name": "CVBuffer",
2115
+ "printedName": "CoreVideo.CVBuffer",
2116
+ "usr": "c:@T@CVBufferRef"
2117
+ }
2118
+ ],
2119
+ "declKind": "Constructor",
2120
+ "usr": "s:12CanvasNative13NSCVideoFrameC11currentTime5frameACSo6CMTimea_So11CVBufferRefatKcfc",
2121
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11currentTime5frameACSo6CMTimea_So11CVBufferRefatKcfc",
2122
+ "moduleName": "CanvasNative",
2123
+ "declAttributes": ["AccessControl"],
2124
+ "throwing": true,
2125
+ "init_kind": "Designated"
2126
+ },
2127
+ {
2128
+ "kind": "Constructor",
2129
+ "name": "init",
2130
+ "printedName": "init(buffer:ts:)",
2131
+ "children": [
2132
+ {
2133
+ "kind": "TypeNominal",
2134
+ "name": "NSCVideoFrame",
2135
+ "printedName": "CanvasNative.NSCVideoFrame",
2136
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame"
2137
+ },
2138
+ {
2139
+ "kind": "TypeNominal",
2140
+ "name": "CVBuffer",
2141
+ "printedName": "CoreVideo.CVBuffer",
2142
+ "usr": "c:@T@CVBufferRef"
2143
+ },
2144
+ {
2145
+ "kind": "TypeNominal",
2146
+ "name": "Int64",
2147
+ "printedName": "Swift.Int64",
2148
+ "usr": "s:s5Int64V"
2149
+ }
2150
+ ],
2151
+ "declKind": "Constructor",
2152
+ "usr": "s:12CanvasNative13NSCVideoFrameC6buffer2tsACSo11CVBufferRefa_s5Int64VtKcfc",
2153
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC6buffer2tsACSo11CVBufferRefa_s5Int64VtKcfc",
2154
+ "moduleName": "CanvasNative",
2155
+ "declAttributes": ["AccessControl", "RawDocComment"],
2156
+ "throwing": true,
2157
+ "init_kind": "Designated"
2158
+ },
2159
+ {
2160
+ "kind": "Function",
2161
+ "name": "clone",
2162
+ "printedName": "clone()",
2163
+ "children": [
2164
+ {
2165
+ "kind": "TypeNominal",
2166
+ "name": "NSCVideoFrame",
2167
+ "printedName": "CanvasNative.NSCVideoFrame",
2168
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame"
2169
+ }
2170
+ ],
2171
+ "declKind": "Func",
2172
+ "usr": "s:12CanvasNative13NSCVideoFrameC5cloneACyKF",
2173
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC5cloneACyKF",
2174
+ "moduleName": "CanvasNative",
2175
+ "declAttributes": ["AccessControl"],
2176
+ "throwing": true,
2177
+ "funcSelfKind": "NonMutating"
2178
+ },
2179
+ {
2180
+ "kind": "Var",
2181
+ "name": "codedWidth",
2182
+ "printedName": "codedWidth",
2183
+ "children": [
2184
+ {
2185
+ "kind": "TypeNominal",
2186
+ "name": "Int",
2187
+ "printedName": "Swift.Int",
2188
+ "usr": "s:Si"
2189
+ }
2190
+ ],
2191
+ "declKind": "Var",
2192
+ "usr": "s:12CanvasNative13NSCVideoFrameC10codedWidthSivp",
2193
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC10codedWidthSivp",
2194
+ "moduleName": "CanvasNative",
2195
+ "declAttributes": ["AccessControl"],
2196
+ "accessors": [
2197
+ {
2198
+ "kind": "Accessor",
2199
+ "name": "Get",
2200
+ "printedName": "Get()",
2201
+ "children": [
2202
+ {
2203
+ "kind": "TypeNominal",
2204
+ "name": "Int",
2205
+ "printedName": "Swift.Int",
2206
+ "usr": "s:Si"
2207
+ }
2208
+ ],
2209
+ "declKind": "Accessor",
2210
+ "usr": "s:12CanvasNative13NSCVideoFrameC10codedWidthSivg",
2211
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC10codedWidthSivg",
2212
+ "moduleName": "CanvasNative",
2213
+ "accessorKind": "get"
2214
+ }
2215
+ ]
2216
+ },
2217
+ {
2218
+ "kind": "Var",
2219
+ "name": "codedHeight",
2220
+ "printedName": "codedHeight",
2221
+ "children": [
2222
+ {
2223
+ "kind": "TypeNominal",
2224
+ "name": "Int",
2225
+ "printedName": "Swift.Int",
2226
+ "usr": "s:Si"
2227
+ }
2228
+ ],
2229
+ "declKind": "Var",
2230
+ "usr": "s:12CanvasNative13NSCVideoFrameC11codedHeightSivp",
2231
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11codedHeightSivp",
2232
+ "moduleName": "CanvasNative",
2233
+ "declAttributes": ["AccessControl"],
2234
+ "accessors": [
2235
+ {
2236
+ "kind": "Accessor",
2237
+ "name": "Get",
2238
+ "printedName": "Get()",
2239
+ "children": [
2240
+ {
2241
+ "kind": "TypeNominal",
2242
+ "name": "Int",
2243
+ "printedName": "Swift.Int",
2244
+ "usr": "s:Si"
2245
+ }
2246
+ ],
2247
+ "declKind": "Accessor",
2248
+ "usr": "s:12CanvasNative13NSCVideoFrameC11codedHeightSivg",
2249
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11codedHeightSivg",
2250
+ "moduleName": "CanvasNative",
2251
+ "accessorKind": "get"
2252
+ }
2253
+ ]
2254
+ },
2255
+ {
2256
+ "kind": "Var",
2257
+ "name": "codedRect",
2258
+ "printedName": "codedRect",
2259
+ "children": [
2260
+ {
2261
+ "kind": "TypeNominal",
2262
+ "name": "CGRect",
2263
+ "printedName": "CoreFoundation.CGRect",
2264
+ "usr": "c:@S@CGRect"
2265
+ }
2266
+ ],
2267
+ "declKind": "Var",
2268
+ "usr": "s:12CanvasNative13NSCVideoFrameC9codedRectSo6CGRectVvp",
2269
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC9codedRectSo6CGRectVvp",
2270
+ "moduleName": "CanvasNative",
2271
+ "declAttributes": ["AccessControl"],
2272
+ "accessors": [
2273
+ {
2274
+ "kind": "Accessor",
2275
+ "name": "Get",
2276
+ "printedName": "Get()",
2277
+ "children": [
2278
+ {
2279
+ "kind": "TypeNominal",
2280
+ "name": "CGRect",
2281
+ "printedName": "CoreFoundation.CGRect",
2282
+ "usr": "c:@S@CGRect"
2283
+ }
2284
+ ],
2285
+ "declKind": "Accessor",
2286
+ "usr": "s:12CanvasNative13NSCVideoFrameC9codedRectSo6CGRectVvg",
2287
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC9codedRectSo6CGRectVvg",
2288
+ "moduleName": "CanvasNative",
2289
+ "accessorKind": "get"
2290
+ }
2291
+ ]
2292
+ },
2293
+ {
2294
+ "kind": "Var",
2295
+ "name": "visibleRect",
2296
+ "printedName": "visibleRect",
2297
+ "children": [
2298
+ {
2299
+ "kind": "TypeNominal",
2300
+ "name": "CGRect",
2301
+ "printedName": "CoreFoundation.CGRect",
2302
+ "usr": "c:@S@CGRect"
2303
+ }
2304
+ ],
2305
+ "declKind": "Var",
2306
+ "usr": "s:12CanvasNative13NSCVideoFrameC11visibleRectSo6CGRectVvp",
2307
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11visibleRectSo6CGRectVvp",
2308
+ "moduleName": "CanvasNative",
2309
+ "declAttributes": ["AccessControl"],
2310
+ "accessors": [
2311
+ {
2312
+ "kind": "Accessor",
2313
+ "name": "Get",
2314
+ "printedName": "Get()",
2315
+ "children": [
2316
+ {
2317
+ "kind": "TypeNominal",
2318
+ "name": "CGRect",
2319
+ "printedName": "CoreFoundation.CGRect",
2320
+ "usr": "c:@S@CGRect"
2321
+ }
2322
+ ],
2323
+ "declKind": "Accessor",
2324
+ "usr": "s:12CanvasNative13NSCVideoFrameC11visibleRectSo6CGRectVvg",
2325
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC11visibleRectSo6CGRectVvg",
2326
+ "moduleName": "CanvasNative",
2327
+ "accessorKind": "get"
2328
+ }
2329
+ ]
2330
+ },
2331
+ {
2332
+ "kind": "Constructor",
2333
+ "name": "init",
2334
+ "printedName": "init()",
2335
+ "children": [
2336
+ {
2337
+ "kind": "TypeNominal",
2338
+ "name": "NSCVideoFrame",
2339
+ "printedName": "CanvasNative.NSCVideoFrame",
2340
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame"
2341
+ }
2342
+ ],
2343
+ "declKind": "Constructor",
2344
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame(im)init",
2345
+ "mangledName": "$s12CanvasNative13NSCVideoFrameCACycfc",
2346
+ "moduleName": "CanvasNative",
2347
+ "overriding": true,
2348
+ "implicit": true,
2349
+ "objc_name": "init",
2350
+ "declAttributes": ["Dynamic", "ObjC", "Override"],
2351
+ "init_kind": "Designated"
2352
+ }
2353
+ ],
2354
+ "declKind": "Class",
2355
+ "usr": "c:@M@CanvasNative@objc(cs)NSCVideoFrame",
2356
+ "mangledName": "$s12CanvasNative13NSCVideoFrameC",
2357
+ "moduleName": "CanvasNative",
2358
+ "objc_name": "NSCVideoFrame",
2359
+ "declAttributes": ["AccessControl", "ObjC"],
2360
+ "superclassUsr": "c:objc(cs)NSObject",
2361
+ "superclassNames": ["ObjectiveC.NSObject"],
2362
+ "conformances": [
2363
+ {
2364
+ "kind": "Conformance",
2365
+ "name": "Equatable",
2366
+ "printedName": "Equatable",
2367
+ "usr": "s:SQ",
2368
+ "mangledName": "$sSQ"
2369
+ },
2370
+ {
2371
+ "kind": "Conformance",
2372
+ "name": "Hashable",
2373
+ "printedName": "Hashable",
2374
+ "usr": "s:SH",
2375
+ "mangledName": "$sSH"
2376
+ },
2377
+ {
2378
+ "kind": "Conformance",
2379
+ "name": "CVarArg",
2380
+ "printedName": "CVarArg",
2381
+ "usr": "s:s7CVarArgP",
2382
+ "mangledName": "$ss7CVarArgP"
2383
+ },
2384
+ {
2385
+ "kind": "Conformance",
2386
+ "name": "_KeyValueCodingAndObservingPublishing",
2387
+ "printedName": "_KeyValueCodingAndObservingPublishing",
2388
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
2389
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
2390
+ },
2391
+ {
2392
+ "kind": "Conformance",
2393
+ "name": "_KeyValueCodingAndObserving",
2394
+ "printedName": "_KeyValueCodingAndObserving",
2395
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
2396
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
2397
+ },
2398
+ {
2399
+ "kind": "Conformance",
2400
+ "name": "CustomStringConvertible",
2401
+ "printedName": "CustomStringConvertible",
2402
+ "usr": "s:s23CustomStringConvertibleP",
2403
+ "mangledName": "$ss23CustomStringConvertibleP"
2404
+ },
2405
+ {
2406
+ "kind": "Conformance",
2407
+ "name": "CustomDebugStringConvertible",
2408
+ "printedName": "CustomDebugStringConvertible",
2409
+ "usr": "s:s28CustomDebugStringConvertibleP",
2410
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
2411
+ }
2412
+ ]
2413
+ },
2414
+ {
2415
+ "kind": "Import",
2416
+ "name": "Foundation",
2417
+ "printedName": "Foundation",
2418
+ "declKind": "Import",
2419
+ "moduleName": "CanvasNative",
2420
+ "declAttributes": ["RawDocComment"]
2421
+ },
2422
+ {
2423
+ "kind": "Import",
2424
+ "name": "UIKit",
2425
+ "printedName": "UIKit",
2426
+ "declKind": "Import",
2427
+ "moduleName": "CanvasNative"
2428
+ },
2429
+ {
2430
+ "kind": "Import",
2431
+ "name": "GLKit",
2432
+ "printedName": "GLKit",
2433
+ "declKind": "Import",
2434
+ "moduleName": "CanvasNative"
2435
+ },
2436
+ {
2437
+ "kind": "Import",
2438
+ "name": "WebKit",
2439
+ "printedName": "WebKit",
2440
+ "declKind": "Import",
2441
+ "moduleName": "CanvasNative"
2442
+ },
2443
+ {
2444
+ "kind": "Import",
2445
+ "name": "MetalKit",
2446
+ "printedName": "MetalKit",
2447
+ "declKind": "Import",
2448
+ "moduleName": "CanvasNative"
2449
+ },
2450
+ {
2451
+ "kind": "TypeDecl",
2452
+ "name": "NSCCanvas",
2453
+ "printedName": "NSCCanvas",
2454
+ "children": [
2455
+ {
2456
+ "kind": "Var",
2457
+ "name": "forceGL",
2458
+ "printedName": "forceGL",
2459
+ "children": [
2460
+ {
2461
+ "kind": "TypeNominal",
2462
+ "name": "Bool",
2463
+ "printedName": "Swift.Bool",
2464
+ "usr": "s:Sb"
2465
+ }
2466
+ ],
2467
+ "declKind": "Var",
2468
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(cpy)forceGL",
2469
+ "mangledName": "$s12CanvasNative9NSCCanvasC7forceGLSbvpZ",
2470
+ "moduleName": "CanvasNative",
2471
+ "static": true,
2472
+ "declAttributes": ["HasInitialValue", "Final", "HasStorage", "Custom", "AccessControl", "ObjC"],
2473
+ "hasStorage": true,
2474
+ "accessors": [
2475
+ {
2476
+ "kind": "Accessor",
2477
+ "name": "Get",
2478
+ "printedName": "Get()",
2479
+ "children": [
2480
+ {
2481
+ "kind": "TypeNominal",
2482
+ "name": "Bool",
2483
+ "printedName": "Swift.Bool",
2484
+ "usr": "s:Sb"
2485
+ }
2486
+ ],
2487
+ "declKind": "Accessor",
2488
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(cm)forceGL",
2489
+ "mangledName": "$s12CanvasNative9NSCCanvasC7forceGLSbvgZ",
2490
+ "moduleName": "CanvasNative",
2491
+ "static": true,
2492
+ "implicit": true,
2493
+ "declAttributes": ["Final", "ObjC"],
2494
+ "accessorKind": "get"
2495
+ },
2496
+ {
2497
+ "kind": "Accessor",
2498
+ "name": "Set",
2499
+ "printedName": "Set()",
2500
+ "children": [
2501
+ {
2502
+ "kind": "TypeNominal",
2503
+ "name": "Void",
2504
+ "printedName": "()"
2505
+ },
2506
+ {
2507
+ "kind": "TypeNominal",
2508
+ "name": "Bool",
2509
+ "printedName": "Swift.Bool",
2510
+ "usr": "s:Sb"
2511
+ }
2512
+ ],
2513
+ "declKind": "Accessor",
2514
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(cm)setForceGL:",
2515
+ "mangledName": "$s12CanvasNative9NSCCanvasC7forceGLSbvsZ",
2516
+ "moduleName": "CanvasNative",
2517
+ "static": true,
2518
+ "implicit": true,
2519
+ "declAttributes": ["Final", "ObjC"],
2520
+ "accessorKind": "set"
2521
+ },
2522
+ {
2523
+ "kind": "Accessor",
2524
+ "name": "Modify",
2525
+ "printedName": "Modify()",
2526
+ "children": [
2527
+ {
2528
+ "kind": "TypeNominal",
2529
+ "name": "Void",
2530
+ "printedName": "()"
2531
+ }
2532
+ ],
2533
+ "declKind": "Accessor",
2534
+ "usr": "s:12CanvasNative9NSCCanvasC7forceGLSbvMZ",
2535
+ "mangledName": "$s12CanvasNative9NSCCanvasC7forceGLSbvMZ",
2536
+ "moduleName": "CanvasNative",
2537
+ "static": true,
2538
+ "implicit": true,
2539
+ "declAttributes": ["Final"],
2540
+ "accessorKind": "_modify"
2541
+ }
2542
+ ]
2543
+ },
1627
2544
  {
1628
2545
  "kind": "TypeDecl",
1629
2546
  "name": "CanvasFit",
@@ -2026,6 +2943,90 @@
2026
2943
  }
2027
2944
  ]
2028
2945
  },
2946
+ {
2947
+ "kind": "Var",
2948
+ "name": "weblikeScale",
2949
+ "printedName": "weblikeScale",
2950
+ "children": [
2951
+ {
2952
+ "kind": "TypeNominal",
2953
+ "name": "Bool",
2954
+ "printedName": "Swift.Bool",
2955
+ "usr": "s:Sb"
2956
+ }
2957
+ ],
2958
+ "declKind": "Var",
2959
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)weblikeScale",
2960
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvp",
2961
+ "moduleName": "CanvasNative",
2962
+ "declAttributes": ["HasInitialValue", "HasStorage", "Custom", "AccessControl", "ObjC"],
2963
+ "hasStorage": true,
2964
+ "accessors": [
2965
+ {
2966
+ "kind": "Accessor",
2967
+ "name": "Get",
2968
+ "printedName": "Get()",
2969
+ "children": [
2970
+ {
2971
+ "kind": "TypeNominal",
2972
+ "name": "Bool",
2973
+ "printedName": "Swift.Bool",
2974
+ "usr": "s:Sb"
2975
+ }
2976
+ ],
2977
+ "declKind": "Accessor",
2978
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)weblikeScale",
2979
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvg",
2980
+ "moduleName": "CanvasNative",
2981
+ "implicit": true,
2982
+ "declAttributes": ["ObjC"],
2983
+ "accessorKind": "get"
2984
+ },
2985
+ {
2986
+ "kind": "Accessor",
2987
+ "name": "Set",
2988
+ "printedName": "Set()",
2989
+ "children": [
2990
+ {
2991
+ "kind": "TypeNominal",
2992
+ "name": "Void",
2993
+ "printedName": "()"
2994
+ },
2995
+ {
2996
+ "kind": "TypeNominal",
2997
+ "name": "Bool",
2998
+ "printedName": "Swift.Bool",
2999
+ "usr": "s:Sb"
3000
+ }
3001
+ ],
3002
+ "declKind": "Accessor",
3003
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)setWeblikeScale:",
3004
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvs",
3005
+ "moduleName": "CanvasNative",
3006
+ "implicit": true,
3007
+ "declAttributes": ["ObjC"],
3008
+ "accessorKind": "set"
3009
+ },
3010
+ {
3011
+ "kind": "Accessor",
3012
+ "name": "Modify",
3013
+ "printedName": "Modify()",
3014
+ "children": [
3015
+ {
3016
+ "kind": "TypeNominal",
3017
+ "name": "Void",
3018
+ "printedName": "()"
3019
+ }
3020
+ ],
3021
+ "declKind": "Accessor",
3022
+ "usr": "s:12CanvasNative9NSCCanvasC12weblikeScaleSbvM",
3023
+ "mangledName": "$s12CanvasNative9NSCCanvasC12weblikeScaleSbvM",
3024
+ "moduleName": "CanvasNative",
3025
+ "implicit": true,
3026
+ "accessorKind": "_modify"
3027
+ }
3028
+ ]
3029
+ },
2029
3030
  {
2030
3031
  "kind": "Var",
2031
3032
  "name": "store",
@@ -2106,8 +3107,8 @@
2106
3107
  },
2107
3108
  {
2108
3109
  "kind": "Function",
2109
- "name": "getViewPtr",
2110
- "printedName": "getViewPtr()",
3110
+ "name": "getGlViewPtr",
3111
+ "printedName": "getGlViewPtr()",
2111
3112
  "children": [
2112
3113
  {
2113
3114
  "kind": "TypeNominal",
@@ -2117,8 +3118,8 @@
2117
3118
  }
2118
3119
  ],
2119
3120
  "declKind": "Func",
2120
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)getViewPtr",
2121
- "mangledName": "$s12CanvasNative9NSCCanvasC10getViewPtrSvyF",
3121
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)getGlViewPtr",
3122
+ "mangledName": "$s12CanvasNative9NSCCanvasC12getGlViewPtrSvyF",
2122
3123
  "moduleName": "CanvasNative",
2123
3124
  "declAttributes": ["Custom", "AccessControl", "ObjC"],
2124
3125
  "funcSelfKind": "NonMutating"
@@ -2142,6 +3143,25 @@
2142
3143
  "declAttributes": ["Custom", "AccessControl", "ObjC"],
2143
3144
  "funcSelfKind": "NonMutating"
2144
3145
  },
3146
+ {
3147
+ "kind": "Function",
3148
+ "name": "getMtlLayerPtr",
3149
+ "printedName": "getMtlLayerPtr()",
3150
+ "children": [
3151
+ {
3152
+ "kind": "TypeNominal",
3153
+ "name": "UnsafeMutableRawPointer",
3154
+ "printedName": "Swift.UnsafeMutableRawPointer",
3155
+ "usr": "s:Sv"
3156
+ }
3157
+ ],
3158
+ "declKind": "Func",
3159
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)getMtlLayerPtr",
3160
+ "mangledName": "$s12CanvasNative9NSCCanvasC14getMtlLayerPtrSvyF",
3161
+ "moduleName": "CanvasNative",
3162
+ "declAttributes": ["Custom", "AccessControl", "ObjC"],
3163
+ "funcSelfKind": "NonMutating"
3164
+ },
2145
3165
  {
2146
3166
  "kind": "Var",
2147
3167
  "name": "autoScale",
@@ -2228,8 +3248,8 @@
2228
3248
  },
2229
3249
  {
2230
3250
  "kind": "Var",
2231
- "name": "nativeGL",
2232
- "printedName": "nativeGL",
3251
+ "name": "nativeContext",
3252
+ "printedName": "nativeContext",
2233
3253
  "children": [
2234
3254
  {
2235
3255
  "kind": "TypeNominal",
@@ -2239,8 +3259,8 @@
2239
3259
  }
2240
3260
  ],
2241
3261
  "declKind": "Var",
2242
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)nativeGL",
2243
- "mangledName": "$s12CanvasNative9NSCCanvasC8nativeGLs5Int64Vvp",
3262
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)nativeContext",
3263
+ "mangledName": "$s12CanvasNative9NSCCanvasC13nativeContexts5Int64Vvp",
2244
3264
  "moduleName": "CanvasNative",
2245
3265
  "declAttributes": ["HasInitialValue", "HasStorage", "Custom", "AccessControl", "SetterAccess", "ObjC"],
2246
3266
  "hasStorage": true,
@@ -2258,8 +3278,8 @@
2258
3278
  }
2259
3279
  ],
2260
3280
  "declKind": "Accessor",
2261
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)nativeGL",
2262
- "mangledName": "$s12CanvasNative9NSCCanvasC8nativeGLs5Int64Vvg",
3281
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)nativeContext",
3282
+ "mangledName": "$s12CanvasNative9NSCCanvasC13nativeContexts5Int64Vvg",
2263
3283
  "moduleName": "CanvasNative",
2264
3284
  "implicit": true,
2265
3285
  "declAttributes": ["ObjC"],
@@ -2269,19 +3289,19 @@
2269
3289
  },
2270
3290
  {
2271
3291
  "kind": "Var",
2272
- "name": "nativeContext",
2273
- "printedName": "nativeContext",
3292
+ "name": "is2D",
3293
+ "printedName": "is2D",
2274
3294
  "children": [
2275
3295
  {
2276
3296
  "kind": "TypeNominal",
2277
- "name": "Int64",
2278
- "printedName": "Swift.Int64",
2279
- "usr": "s:s5Int64V"
3297
+ "name": "Bool",
3298
+ "printedName": "Swift.Bool",
3299
+ "usr": "s:Sb"
2280
3300
  }
2281
3301
  ],
2282
3302
  "declKind": "Var",
2283
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)nativeContext",
2284
- "mangledName": "$s12CanvasNative9NSCCanvasC13nativeContexts5Int64Vvp",
3303
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)is2D",
3304
+ "mangledName": "$s12CanvasNative9NSCCanvasC4is2DSbvp",
2285
3305
  "moduleName": "CanvasNative",
2286
3306
  "declAttributes": ["HasInitialValue", "HasStorage", "Custom", "AccessControl", "SetterAccess", "ObjC"],
2287
3307
  "hasStorage": true,
@@ -2293,14 +3313,14 @@
2293
3313
  "children": [
2294
3314
  {
2295
3315
  "kind": "TypeNominal",
2296
- "name": "Int64",
2297
- "printedName": "Swift.Int64",
2298
- "usr": "s:s5Int64V"
3316
+ "name": "Bool",
3317
+ "printedName": "Swift.Bool",
3318
+ "usr": "s:Sb"
2299
3319
  }
2300
3320
  ],
2301
3321
  "declKind": "Accessor",
2302
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)nativeContext",
2303
- "mangledName": "$s12CanvasNative9NSCCanvasC13nativeContexts5Int64Vvg",
3322
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)is2D",
3323
+ "mangledName": "$s12CanvasNative9NSCCanvasC4is2DSbvg",
2304
3324
  "moduleName": "CanvasNative",
2305
3325
  "implicit": true,
2306
3326
  "declAttributes": ["ObjC"],
@@ -2719,55 +3739,6 @@
2719
3739
  "declAttributes": ["Custom", "AccessControl", "DiscardableResult", "ObjC"],
2720
3740
  "funcSelfKind": "NonMutating"
2721
3741
  },
2722
- {
2723
- "kind": "Function",
2724
- "name": "context2DTest",
2725
- "printedName": "context2DTest(_:)",
2726
- "children": [
2727
- {
2728
- "kind": "TypeNominal",
2729
- "name": "Void",
2730
- "printedName": "()"
2731
- },
2732
- {
2733
- "kind": "TypeNominal",
2734
- "name": "Int64",
2735
- "printedName": "Swift.Int64",
2736
- "usr": "s:s5Int64V"
2737
- }
2738
- ],
2739
- "declKind": "Func",
2740
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)context2DTest:",
2741
- "mangledName": "$s12CanvasNative9NSCCanvasC13context2DTestyys5Int64VF",
2742
- "moduleName": "CanvasNative",
2743
- "declAttributes": ["Custom", "AccessControl", "ObjC"],
2744
- "funcSelfKind": "NonMutating"
2745
- },
2746
- {
2747
- "kind": "Function",
2748
- "name": "context2DTestToDataURL",
2749
- "printedName": "context2DTestToDataURL(_:)",
2750
- "children": [
2751
- {
2752
- "kind": "TypeNominal",
2753
- "name": "String",
2754
- "printedName": "Swift.String",
2755
- "usr": "s:SS"
2756
- },
2757
- {
2758
- "kind": "TypeNominal",
2759
- "name": "Int64",
2760
- "printedName": "Swift.Int64",
2761
- "usr": "s:s5Int64V"
2762
- }
2763
- ],
2764
- "declKind": "Func",
2765
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)context2DTestToDataURL:",
2766
- "mangledName": "$s12CanvasNative9NSCCanvasC22context2DTestToDataURLySSs5Int64VF",
2767
- "moduleName": "CanvasNative",
2768
- "declAttributes": ["Custom", "AccessControl", "ObjC"],
2769
- "funcSelfKind": "NonMutating"
2770
- },
2771
3742
  {
2772
3743
  "kind": "Var",
2773
3744
  "name": "touchEventListener",
@@ -2924,8 +3895,119 @@
2924
3895
  }
2925
3896
  ],
2926
3897
  "declKind": "Accessor",
2927
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)setTouchEventListener:",
2928
- "mangledName": "$s12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvs",
3898
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)setTouchEventListener:",
3899
+ "mangledName": "$s12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvs",
3900
+ "moduleName": "CanvasNative",
3901
+ "implicit": true,
3902
+ "declAttributes": ["ObjC"],
3903
+ "accessorKind": "set"
3904
+ },
3905
+ {
3906
+ "kind": "Accessor",
3907
+ "name": "Modify",
3908
+ "printedName": "Modify()",
3909
+ "children": [
3910
+ {
3911
+ "kind": "TypeNominal",
3912
+ "name": "Void",
3913
+ "printedName": "()"
3914
+ }
3915
+ ],
3916
+ "declKind": "Accessor",
3917
+ "usr": "s:12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvM",
3918
+ "mangledName": "$s12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvM",
3919
+ "moduleName": "CanvasNative",
3920
+ "implicit": true,
3921
+ "accessorKind": "_modify"
3922
+ }
3923
+ ]
3924
+ },
3925
+ {
3926
+ "kind": "Constructor",
3927
+ "name": "init",
3928
+ "printedName": "init(frame:)",
3929
+ "children": [
3930
+ {
3931
+ "kind": "TypeNominal",
3932
+ "name": "NSCCanvas",
3933
+ "printedName": "CanvasNative.NSCCanvas",
3934
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
3935
+ },
3936
+ {
3937
+ "kind": "TypeNominal",
3938
+ "name": "CGRect",
3939
+ "printedName": "CoreFoundation.CGRect",
3940
+ "usr": "c:@S@CGRect"
3941
+ }
3942
+ ],
3943
+ "declKind": "Constructor",
3944
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)initWithFrame:",
3945
+ "mangledName": "$s12CanvasNative9NSCCanvasC5frameACSo6CGRectV_tcfc",
3946
+ "moduleName": "CanvasNative",
3947
+ "overriding": true,
3948
+ "objc_name": "initWithFrame:",
3949
+ "declAttributes": ["Dynamic", "ObjC", "Custom", "Override", "AccessControl"],
3950
+ "init_kind": "Designated"
3951
+ },
3952
+ {
3953
+ "kind": "Var",
3954
+ "name": "ignoreTouchEvents",
3955
+ "printedName": "ignoreTouchEvents",
3956
+ "children": [
3957
+ {
3958
+ "kind": "TypeNominal",
3959
+ "name": "Bool",
3960
+ "printedName": "Swift.Bool",
3961
+ "usr": "s:Sb"
3962
+ }
3963
+ ],
3964
+ "declKind": "Var",
3965
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(py)ignoreTouchEvents",
3966
+ "mangledName": "$s12CanvasNative9NSCCanvasC17ignoreTouchEventsSbvp",
3967
+ "moduleName": "CanvasNative",
3968
+ "declAttributes": ["HasInitialValue", "HasStorage", "Custom", "AccessControl", "ObjC"],
3969
+ "hasStorage": true,
3970
+ "accessors": [
3971
+ {
3972
+ "kind": "Accessor",
3973
+ "name": "Get",
3974
+ "printedName": "Get()",
3975
+ "children": [
3976
+ {
3977
+ "kind": "TypeNominal",
3978
+ "name": "Bool",
3979
+ "printedName": "Swift.Bool",
3980
+ "usr": "s:Sb"
3981
+ }
3982
+ ],
3983
+ "declKind": "Accessor",
3984
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)ignoreTouchEvents",
3985
+ "mangledName": "$s12CanvasNative9NSCCanvasC17ignoreTouchEventsSbvg",
3986
+ "moduleName": "CanvasNative",
3987
+ "implicit": true,
3988
+ "declAttributes": ["ObjC"],
3989
+ "accessorKind": "get"
3990
+ },
3991
+ {
3992
+ "kind": "Accessor",
3993
+ "name": "Set",
3994
+ "printedName": "Set()",
3995
+ "children": [
3996
+ {
3997
+ "kind": "TypeNominal",
3998
+ "name": "Void",
3999
+ "printedName": "()"
4000
+ },
4001
+ {
4002
+ "kind": "TypeNominal",
4003
+ "name": "Bool",
4004
+ "printedName": "Swift.Bool",
4005
+ "usr": "s:Sb"
4006
+ }
4007
+ ],
4008
+ "declKind": "Accessor",
4009
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)setIgnoreTouchEvents:",
4010
+ "mangledName": "$s12CanvasNative9NSCCanvasC17ignoreTouchEventsSbvs",
2929
4011
  "moduleName": "CanvasNative",
2930
4012
  "implicit": true,
2931
4013
  "declAttributes": ["ObjC"],
@@ -2943,41 +4025,14 @@
2943
4025
  }
2944
4026
  ],
2945
4027
  "declKind": "Accessor",
2946
- "usr": "s:12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvM",
2947
- "mangledName": "$s12CanvasNative9NSCCanvasC18touchEventListenerySS_So19UIGestureRecognizerCtcSgvM",
4028
+ "usr": "s:12CanvasNative9NSCCanvasC17ignoreTouchEventsSbvM",
4029
+ "mangledName": "$s12CanvasNative9NSCCanvasC17ignoreTouchEventsSbvM",
2948
4030
  "moduleName": "CanvasNative",
2949
4031
  "implicit": true,
2950
4032
  "accessorKind": "_modify"
2951
4033
  }
2952
4034
  ]
2953
4035
  },
2954
- {
2955
- "kind": "Constructor",
2956
- "name": "init",
2957
- "printedName": "init(frame:)",
2958
- "children": [
2959
- {
2960
- "kind": "TypeNominal",
2961
- "name": "NSCCanvas",
2962
- "printedName": "CanvasNative.NSCCanvas",
2963
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
2964
- },
2965
- {
2966
- "kind": "TypeNominal",
2967
- "name": "CGRect",
2968
- "printedName": "CoreFoundation.CGRect",
2969
- "usr": "c:@S@CGRect"
2970
- }
2971
- ],
2972
- "declKind": "Constructor",
2973
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)initWithFrame:",
2974
- "mangledName": "$s12CanvasNative9NSCCanvasC5frameACSo6CGRectV_tcfc",
2975
- "moduleName": "CanvasNative",
2976
- "overriding": true,
2977
- "objc_name": "initWithFrame:",
2978
- "declAttributes": ["Dynamic", "ObjC", "Custom", "Override", "AccessControl"],
2979
- "init_kind": "Designated"
2980
- },
2981
4036
  {
2982
4037
  "kind": "Function",
2983
4038
  "name": "setListener",
@@ -3208,6 +4263,78 @@
3208
4263
  "declAttributes": ["Custom", "AccessControl", "ObjC"],
3209
4264
  "funcSelfKind": "NonMutating"
3210
4265
  },
4266
+ {
4267
+ "kind": "Function",
4268
+ "name": "context2DTest",
4269
+ "printedName": "context2DTest(_:)",
4270
+ "children": [
4271
+ {
4272
+ "kind": "TypeNominal",
4273
+ "name": "Void",
4274
+ "printedName": "()"
4275
+ },
4276
+ {
4277
+ "kind": "TypeNominal",
4278
+ "name": "Int64",
4279
+ "printedName": "Swift.Int64",
4280
+ "usr": "s:s5Int64V"
4281
+ }
4282
+ ],
4283
+ "declKind": "Func",
4284
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)context2DTest:",
4285
+ "mangledName": "$s12CanvasNative9NSCCanvasC13context2DTestyys5Int64VF",
4286
+ "moduleName": "CanvasNative",
4287
+ "declAttributes": ["Custom", "AccessControl", "ObjC"],
4288
+ "funcSelfKind": "NonMutating"
4289
+ },
4290
+ {
4291
+ "kind": "Function",
4292
+ "name": "context2DPathTest",
4293
+ "printedName": "context2DPathTest(_:)",
4294
+ "children": [
4295
+ {
4296
+ "kind": "TypeNominal",
4297
+ "name": "Void",
4298
+ "printedName": "()"
4299
+ },
4300
+ {
4301
+ "kind": "TypeNominal",
4302
+ "name": "Int64",
4303
+ "printedName": "Swift.Int64",
4304
+ "usr": "s:s5Int64V"
4305
+ }
4306
+ ],
4307
+ "declKind": "Func",
4308
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)context2DPathTest:",
4309
+ "mangledName": "$s12CanvasNative9NSCCanvasC17context2DPathTestyys5Int64VF",
4310
+ "moduleName": "CanvasNative",
4311
+ "declAttributes": ["Custom", "AccessControl", "ObjC"],
4312
+ "funcSelfKind": "NonMutating"
4313
+ },
4314
+ {
4315
+ "kind": "Function",
4316
+ "name": "context2DConic",
4317
+ "printedName": "context2DConic(_:)",
4318
+ "children": [
4319
+ {
4320
+ "kind": "TypeNominal",
4321
+ "name": "Void",
4322
+ "printedName": "()"
4323
+ },
4324
+ {
4325
+ "kind": "TypeNominal",
4326
+ "name": "Int64",
4327
+ "printedName": "Swift.Int64",
4328
+ "usr": "s:s5Int64V"
4329
+ }
4330
+ ],
4331
+ "declKind": "Func",
4332
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)context2DConic:",
4333
+ "mangledName": "$s12CanvasNative9NSCCanvasC14context2DConicyys5Int64VF",
4334
+ "moduleName": "CanvasNative",
4335
+ "declAttributes": ["Custom", "AccessControl", "ObjC"],
4336
+ "funcSelfKind": "NonMutating"
4337
+ },
3211
4338
  {
3212
4339
  "kind": "Function",
3213
4340
  "name": "layoutSubviews",
@@ -3402,93 +4529,10 @@
3402
4529
  "mangledName": "$s12CanvasNative9NSCRenderCACycfc",
3403
4530
  "moduleName": "CanvasNative",
3404
4531
  "overriding": true,
4532
+ "implicit": true,
3405
4533
  "objc_name": "init",
3406
- "declAttributes": ["Dynamic", "ObjC", "Override", "AccessControl"],
4534
+ "declAttributes": ["Dynamic", "ObjC", "Override"],
3407
4535
  "init_kind": "Designated"
3408
- },
3409
- {
3410
- "kind": "Function",
3411
- "name": "texImage2D",
3412
- "printedName": "texImage2D(_:_:_:_:_:_:_:_:)",
3413
- "children": [
3414
- {
3415
- "kind": "TypeNominal",
3416
- "name": "Void",
3417
- "printedName": "()"
3418
- },
3419
- {
3420
- "kind": "TypeNominal",
3421
- "name": "Int32",
3422
- "printedName": "Swift.Int32",
3423
- "usr": "s:s5Int32V"
3424
- },
3425
- {
3426
- "kind": "TypeNominal",
3427
- "name": "Int32",
3428
- "printedName": "Swift.Int32",
3429
- "usr": "s:s5Int32V"
3430
- },
3431
- {
3432
- "kind": "TypeNominal",
3433
- "name": "Int32",
3434
- "printedName": "Swift.Int32",
3435
- "usr": "s:s5Int32V"
3436
- },
3437
- {
3438
- "kind": "TypeNominal",
3439
- "name": "Int32",
3440
- "printedName": "Swift.Int32",
3441
- "usr": "s:s5Int32V"
3442
- },
3443
- {
3444
- "kind": "TypeNominal",
3445
- "name": "Int32",
3446
- "printedName": "Swift.Int32",
3447
- "usr": "s:s5Int32V"
3448
- },
3449
- {
3450
- "kind": "TypeNominal",
3451
- "name": "NSCCanvas",
3452
- "printedName": "CanvasNative.NSCCanvas",
3453
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
3454
- },
3455
- {
3456
- "kind": "TypeNominal",
3457
- "name": "NSCCanvas",
3458
- "printedName": "CanvasNative.NSCCanvas",
3459
- "usr": "c:@M@CanvasNative@objc(cs)NSCCanvas"
3460
- },
3461
- {
3462
- "kind": "TypeNominal",
3463
- "name": "Bool",
3464
- "printedName": "Swift.Bool",
3465
- "usr": "s:Sb"
3466
- }
3467
- ],
3468
- "declKind": "Func",
3469
- "usr": "c:@M@CanvasNative@objc(cs)NSCRender(im)texImage2D::::::::",
3470
- "mangledName": "$s12CanvasNative9NSCRenderC10texImage2Dyys5Int32V_A4fA9NSCCanvasCAHSbtF",
3471
- "moduleName": "CanvasNative",
3472
- "declAttributes": ["AccessControl", "ObjC"],
3473
- "funcSelfKind": "NonMutating"
3474
- },
3475
- {
3476
- "kind": "Function",
3477
- "name": "createSurface",
3478
- "printedName": "createSurface()",
3479
- "children": [
3480
- {
3481
- "kind": "TypeNominal",
3482
- "name": "Void",
3483
- "printedName": "()"
3484
- }
3485
- ],
3486
- "declKind": "Func",
3487
- "usr": "c:@M@CanvasNative@objc(cs)NSCRender(im)createSurface",
3488
- "mangledName": "$s12CanvasNative9NSCRenderC13createSurfaceyyF",
3489
- "moduleName": "CanvasNative",
3490
- "declAttributes": ["AccessControl", "ObjC"],
3491
- "funcSelfKind": "NonMutating"
3492
4536
  }
3493
4537
  ],
3494
4538
  "declKind": "Class",
@@ -3744,10 +4788,17 @@
3744
4788
  "declKind": "Import",
3745
4789
  "moduleName": "CanvasNative"
3746
4790
  },
4791
+ {
4792
+ "kind": "Import",
4793
+ "name": "UIKit",
4794
+ "printedName": "UIKit",
4795
+ "declKind": "Import",
4796
+ "moduleName": "CanvasNative"
4797
+ },
3747
4798
  {
3748
4799
  "kind": "TypeDecl",
3749
- "name": "Utils",
3750
- "printedName": "Utils",
4800
+ "name": "NSCCanvasUtils",
4801
+ "printedName": "NSCCanvasUtils",
3751
4802
  "children": [
3752
4803
  {
3753
4804
  "kind": "Function",
@@ -3770,8 +4821,8 @@
3770
4821
  }
3771
4822
  ],
3772
4823
  "declKind": "Func",
3773
- "usr": "c:@M@CanvasNative@objc(cs)Utils(cm)createTextureCache",
3774
- "mangledName": "$s12CanvasNative5UtilsC18createTextureCacheSo017CVOpenGLESTextureF3RefaSgyFZ",
4824
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(cm)createTextureCache",
4825
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC18createTextureCacheSo017CVOpenGLESTextureG3RefaSgyFZ",
3775
4826
  "moduleName": "CanvasNative",
3776
4827
  "static": true,
3777
4828
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -3866,8 +4917,8 @@
3866
4917
  }
3867
4918
  ],
3868
4919
  "declKind": "Func",
3869
- "usr": "c:@M@CanvasNative@objc(cs)Utils(cm)createImage::::::::::",
3870
- "mangledName": "$s12CanvasNative5UtilsC11createImageySo11CVBufferRefaSgSo022CVOpenGLESTextureCacheG0a_AFSo012CFDictionaryG0aSgs6UInt32Vs5Int32VA2p2NSitFZ",
4920
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(cm)createImage::::::::::",
4921
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC11createImageySo11CVBufferRefaSgSo022CVOpenGLESTextureCacheH0a_AFSo012CFDictionaryH0aSgs6UInt32Vs5Int32VA2p2NSitFZ",
3871
4922
  "moduleName": "CanvasNative",
3872
4923
  "static": true,
3873
4924
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -3886,8 +4937,8 @@
3886
4937
  }
3887
4938
  ],
3888
4939
  "declKind": "Func",
3889
- "usr": "c:@M@CanvasNative@objc(cs)Utils(cm)setupRender",
3890
- "mangledName": "$s12CanvasNative5UtilsC11setupRenderAA9NSCRenderCyFZ",
4940
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(cm)setupRender",
4941
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC11setupRenderAA9NSCRenderCyFZ",
3891
4942
  "moduleName": "CanvasNative",
3892
4943
  "static": true,
3893
4944
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -3896,7 +4947,7 @@
3896
4947
  {
3897
4948
  "kind": "Function",
3898
4949
  "name": "drawFrame",
3899
- "printedName": "drawFrame(_:_:_:_:_:_:_:)",
4950
+ "printedName": "drawFrame(_:_:_:_:_:_:)",
3900
4951
  "children": [
3901
4952
  {
3902
4953
  "kind": "TypeNominal",
@@ -3921,12 +4972,6 @@
3921
4972
  "printedName": "CoreFoundation.CGSize",
3922
4973
  "usr": "c:@S@CGSize"
3923
4974
  },
3924
- {
3925
- "kind": "TypeNominal",
3926
- "name": "NSCRender",
3927
- "printedName": "CanvasNative.NSCRender",
3928
- "usr": "c:@M@CanvasNative@objc(cs)NSCRender"
3929
- },
3930
4975
  {
3931
4976
  "kind": "TypeNominal",
3932
4977
  "name": "Int32",
@@ -3947,13 +4992,91 @@
3947
4992
  }
3948
4993
  ],
3949
4994
  "declKind": "Func",
3950
- "usr": "c:@M@CanvasNative@objc(cs)Utils(cm)drawFrame:::::::",
3951
- "mangledName": "$s12CanvasNative5UtilsC9drawFrameyySo8AVPlayerC_So0F15ItemVideoOutputCSo6CGSizeVAA9NSCRenderCs5Int32VANSbtFZ",
4995
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(cm)drawFrame::::::",
4996
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC9drawFrameyySo8AVPlayerC_So0G15ItemVideoOutputCSo6CGSizeVs5Int32VALSbtFZ",
3952
4997
  "moduleName": "CanvasNative",
3953
4998
  "static": true,
3954
4999
  "declAttributes": ["Final", "AccessControl", "ObjC"],
3955
5000
  "funcSelfKind": "NonMutating"
3956
5001
  },
5002
+ {
5003
+ "kind": "TypeDecl",
5004
+ "name": "NSCError",
5005
+ "printedName": "NSCError",
5006
+ "children": [
5007
+ {
5008
+ "kind": "Var",
5009
+ "name": "customError",
5010
+ "printedName": "customError",
5011
+ "children": [
5012
+ {
5013
+ "kind": "TypeFunc",
5014
+ "name": "Function",
5015
+ "printedName": "(CanvasNative.NSCCanvasUtils.NSCError.Type) -> (Swift.String) -> CanvasNative.NSCCanvasUtils.NSCError",
5016
+ "children": [
5017
+ {
5018
+ "kind": "TypeFunc",
5019
+ "name": "Function",
5020
+ "printedName": "(Swift.String) -> CanvasNative.NSCCanvasUtils.NSCError",
5021
+ "children": [
5022
+ {
5023
+ "kind": "TypeNominal",
5024
+ "name": "NSCError",
5025
+ "printedName": "CanvasNative.NSCCanvasUtils.NSCError",
5026
+ "usr": "s:12CanvasNative14NSCCanvasUtilsC8NSCErrorO"
5027
+ },
5028
+ {
5029
+ "kind": "TypeNominal",
5030
+ "name": "String",
5031
+ "printedName": "Swift.String",
5032
+ "usr": "s:SS"
5033
+ }
5034
+ ]
5035
+ },
5036
+ {
5037
+ "kind": "TypeNominal",
5038
+ "name": "Metatype",
5039
+ "printedName": "CanvasNative.NSCCanvasUtils.NSCError.Type",
5040
+ "children": [
5041
+ {
5042
+ "kind": "TypeNominal",
5043
+ "name": "NSCError",
5044
+ "printedName": "CanvasNative.NSCCanvasUtils.NSCError",
5045
+ "usr": "s:12CanvasNative14NSCCanvasUtilsC8NSCErrorO"
5046
+ }
5047
+ ]
5048
+ }
5049
+ ]
5050
+ }
5051
+ ],
5052
+ "declKind": "EnumElement",
5053
+ "usr": "s:12CanvasNative14NSCCanvasUtilsC8NSCErrorO11customErroryAESScAEmF",
5054
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC8NSCErrorO11customErroryAESScAEmF",
5055
+ "moduleName": "CanvasNative"
5056
+ }
5057
+ ],
5058
+ "declKind": "Enum",
5059
+ "usr": "s:12CanvasNative14NSCCanvasUtilsC8NSCErrorO",
5060
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC8NSCErrorO",
5061
+ "moduleName": "CanvasNative",
5062
+ "declAttributes": ["AccessControl"],
5063
+ "conformances": [
5064
+ {
5065
+ "kind": "Conformance",
5066
+ "name": "Error",
5067
+ "printedName": "Error",
5068
+ "usr": "s:s5ErrorP",
5069
+ "mangledName": "$ss5ErrorP"
5070
+ },
5071
+ {
5072
+ "kind": "Conformance",
5073
+ "name": "Sendable",
5074
+ "printedName": "Sendable",
5075
+ "usr": "s:s8SendableP",
5076
+ "mangledName": "$ss8SendableP"
5077
+ }
5078
+ ]
5079
+ },
3957
5080
  {
3958
5081
  "kind": "Function",
3959
5082
  "name": "writeToFile",
@@ -3978,8 +5101,8 @@
3978
5101
  }
3979
5102
  ],
3980
5103
  "declKind": "Func",
3981
- "usr": "c:@M@CanvasNative@objc(cs)Utils(cm)writeToFile::error:",
3982
- "mangledName": "$s12CanvasNative5UtilsC11writeToFileyySo6NSDataC_SStKFZ",
5104
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(cm)writeToFile::error:",
5105
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC11writeToFileyySo6NSDataC_SStKFZ",
3983
5106
  "moduleName": "CanvasNative",
3984
5107
  "static": true,
3985
5108
  "declAttributes": ["Final", "AccessControl", "ObjC"],
@@ -3993,14 +5116,14 @@
3993
5116
  "children": [
3994
5117
  {
3995
5118
  "kind": "TypeNominal",
3996
- "name": "Utils",
3997
- "printedName": "CanvasNative.Utils",
3998
- "usr": "c:@M@CanvasNative@objc(cs)Utils"
5119
+ "name": "NSCCanvasUtils",
5120
+ "printedName": "CanvasNative.NSCCanvasUtils",
5121
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils"
3999
5122
  }
4000
5123
  ],
4001
5124
  "declKind": "Constructor",
4002
- "usr": "c:@M@CanvasNative@objc(cs)Utils(im)init",
4003
- "mangledName": "$s12CanvasNative5UtilsCACycfc",
5125
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils(im)init",
5126
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsCACycfc",
4004
5127
  "moduleName": "CanvasNative",
4005
5128
  "overriding": true,
4006
5129
  "implicit": true,
@@ -4010,10 +5133,10 @@
4010
5133
  }
4011
5134
  ],
4012
5135
  "declKind": "Class",
4013
- "usr": "c:@M@CanvasNative@objc(cs)Utils",
4014
- "mangledName": "$s12CanvasNative5UtilsC",
5136
+ "usr": "c:@M@CanvasNative@objc(cs)NSCCanvasUtils",
5137
+ "mangledName": "$s12CanvasNative14NSCCanvasUtilsC",
4015
5138
  "moduleName": "CanvasNative",
4016
- "objc_name": "Utils",
5139
+ "objc_name": "NSCCanvasUtils",
4017
5140
  "declAttributes": ["AccessControl", "ObjC"],
4018
5141
  "superclassUsr": "c:objc(cs)NSObject",
4019
5142
  "inheritsConvenienceInitializers": true,
@@ -5329,6 +6452,87 @@
5329
6452
  "declAttributes": ["Final", "AccessControl", "ObjC"],
5330
6453
  "funcSelfKind": "NonMutating"
5331
6454
  },
6455
+ {
6456
+ "kind": "Function",
6457
+ "name": "loadImageFromPathSync",
6458
+ "printedName": "loadImageFromPathSync(_:_:)",
6459
+ "children": [
6460
+ {
6461
+ "kind": "TypeNominal",
6462
+ "name": "Bool",
6463
+ "printedName": "Swift.Bool",
6464
+ "usr": "s:Sb"
6465
+ },
6466
+ {
6467
+ "kind": "TypeNominal",
6468
+ "name": "Int64",
6469
+ "printedName": "Swift.Int64",
6470
+ "usr": "s:s5Int64V"
6471
+ },
6472
+ {
6473
+ "kind": "TypeNominal",
6474
+ "name": "String",
6475
+ "printedName": "Swift.String",
6476
+ "usr": "s:SS"
6477
+ }
6478
+ ],
6479
+ "declKind": "Func",
6480
+ "usr": "c:@M@CanvasNative@objc(cs)NSCImageAsset(cm)loadImageFromPathSync::",
6481
+ "mangledName": "$s12CanvasNative13NSCImageAssetC21loadImageFromPathSyncySbs5Int64V_SStFZ",
6482
+ "moduleName": "CanvasNative",
6483
+ "static": true,
6484
+ "declAttributes": ["Final", "AccessControl", "ObjC"],
6485
+ "funcSelfKind": "NonMutating"
6486
+ },
6487
+ {
6488
+ "kind": "Function",
6489
+ "name": "loadImageFromPath",
6490
+ "printedName": "loadImageFromPath(_:_:_:)",
6491
+ "children": [
6492
+ {
6493
+ "kind": "TypeNominal",
6494
+ "name": "Void",
6495
+ "printedName": "()"
6496
+ },
6497
+ {
6498
+ "kind": "TypeNominal",
6499
+ "name": "Int64",
6500
+ "printedName": "Swift.Int64",
6501
+ "usr": "s:s5Int64V"
6502
+ },
6503
+ {
6504
+ "kind": "TypeNominal",
6505
+ "name": "String",
6506
+ "printedName": "Swift.String",
6507
+ "usr": "s:SS"
6508
+ },
6509
+ {
6510
+ "kind": "TypeFunc",
6511
+ "name": "Function",
6512
+ "printedName": "(Swift.Bool) -> ()",
6513
+ "children": [
6514
+ {
6515
+ "kind": "TypeNominal",
6516
+ "name": "Void",
6517
+ "printedName": "()"
6518
+ },
6519
+ {
6520
+ "kind": "TypeNominal",
6521
+ "name": "Bool",
6522
+ "printedName": "Swift.Bool",
6523
+ "usr": "s:Sb"
6524
+ }
6525
+ ]
6526
+ }
6527
+ ],
6528
+ "declKind": "Func",
6529
+ "usr": "c:@M@CanvasNative@objc(cs)NSCImageAsset(cm)loadImageFromPath:::",
6530
+ "mangledName": "$s12CanvasNative13NSCImageAssetC17loadImageFromPathyys5Int64V_SSySbctFZ",
6531
+ "moduleName": "CanvasNative",
6532
+ "static": true,
6533
+ "declAttributes": ["Final", "AccessControl", "ObjC"],
6534
+ "funcSelfKind": "NonMutating"
6535
+ },
5332
6536
  {
5333
6537
  "kind": "Constructor",
5334
6538
  "name": "init",
@@ -5510,6 +6714,114 @@
5510
6714
  }
5511
6715
  ]
5512
6716
  },
6717
+ {
6718
+ "kind": "TypeDecl",
6719
+ "name": "UIView",
6720
+ "printedName": "UIView",
6721
+ "children": [
6722
+ {
6723
+ "kind": "Function",
6724
+ "name": "getBoundingClientRect",
6725
+ "printedName": "getBoundingClientRect(_:)",
6726
+ "children": [
6727
+ {
6728
+ "kind": "TypeNominal",
6729
+ "name": "Void",
6730
+ "printedName": "()"
6731
+ },
6732
+ {
6733
+ "kind": "TypeNominal",
6734
+ "name": "UnsafeMutableRawPointer",
6735
+ "printedName": "Swift.UnsafeMutableRawPointer",
6736
+ "usr": "s:Sv"
6737
+ }
6738
+ ],
6739
+ "declKind": "Func",
6740
+ "usr": "c:@CM@CanvasNative@@objc(cs)UIView(im)getBoundingClientRect:",
6741
+ "mangledName": "$sSo6UIViewC12CanvasNativeE21getBoundingClientRectyySvF",
6742
+ "moduleName": "CanvasNative",
6743
+ "declAttributes": ["Dynamic", "Custom", "AccessControl", "ObjC"],
6744
+ "isFromExtension": true,
6745
+ "funcSelfKind": "NonMutating"
6746
+ }
6747
+ ],
6748
+ "declKind": "Class",
6749
+ "usr": "c:objc(cs)UIView",
6750
+ "moduleName": "UIKit",
6751
+ "isOpen": true,
6752
+ "intro_iOS": "2.0",
6753
+ "objc_name": "UIView",
6754
+ "declAttributes": ["Available", "ObjC", "NonSendable", "Custom", "Dynamic"],
6755
+ "superclassUsr": "c:objc(cs)UIResponder",
6756
+ "isExternal": true,
6757
+ "inheritsConvenienceInitializers": true,
6758
+ "superclassNames": ["UIKit.UIResponder", "ObjectiveC.NSObject"],
6759
+ "conformances": [
6760
+ {
6761
+ "kind": "Conformance",
6762
+ "name": "Equatable",
6763
+ "printedName": "Equatable",
6764
+ "usr": "s:SQ",
6765
+ "mangledName": "$sSQ"
6766
+ },
6767
+ {
6768
+ "kind": "Conformance",
6769
+ "name": "Hashable",
6770
+ "printedName": "Hashable",
6771
+ "usr": "s:SH",
6772
+ "mangledName": "$sSH"
6773
+ },
6774
+ {
6775
+ "kind": "Conformance",
6776
+ "name": "CVarArg",
6777
+ "printedName": "CVarArg",
6778
+ "usr": "s:s7CVarArgP",
6779
+ "mangledName": "$ss7CVarArgP"
6780
+ },
6781
+ {
6782
+ "kind": "Conformance",
6783
+ "name": "_KeyValueCodingAndObservingPublishing",
6784
+ "printedName": "_KeyValueCodingAndObservingPublishing",
6785
+ "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
6786
+ "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
6787
+ },
6788
+ {
6789
+ "kind": "Conformance",
6790
+ "name": "_KeyValueCodingAndObserving",
6791
+ "printedName": "_KeyValueCodingAndObserving",
6792
+ "usr": "s:10Foundation27_KeyValueCodingAndObservingP",
6793
+ "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
6794
+ },
6795
+ {
6796
+ "kind": "Conformance",
6797
+ "name": "CustomStringConvertible",
6798
+ "printedName": "CustomStringConvertible",
6799
+ "usr": "s:s23CustomStringConvertibleP",
6800
+ "mangledName": "$ss23CustomStringConvertibleP"
6801
+ },
6802
+ {
6803
+ "kind": "Conformance",
6804
+ "name": "CustomDebugStringConvertible",
6805
+ "printedName": "CustomDebugStringConvertible",
6806
+ "usr": "s:s28CustomDebugStringConvertibleP",
6807
+ "mangledName": "$ss28CustomDebugStringConvertibleP"
6808
+ },
6809
+ {
6810
+ "kind": "Conformance",
6811
+ "name": "UITraitChangeObservable",
6812
+ "printedName": "UITraitChangeObservable",
6813
+ "usr": "s:5UIKit23UITraitChangeObservableP",
6814
+ "mangledName": "$s5UIKit23UITraitChangeObservableP"
6815
+ },
6816
+ {
6817
+ "kind": "Conformance",
6818
+ "name": "__DefaultCustomPlaygroundQuickLookable",
6819
+ "printedName": "__DefaultCustomPlaygroundQuickLookable",
6820
+ "usr": "s:s38__DefaultCustomPlaygroundQuickLookableP",
6821
+ "mangledName": "$ss38__DefaultCustomPlaygroundQuickLookableP"
6822
+ }
6823
+ ]
6824
+ },
5513
6825
  {
5514
6826
  "kind": "TypeDecl",
5515
6827
  "name": "GLKView",
@@ -5629,296 +6941,282 @@
5629
6941
  },
5630
6942
  "ConstValues": [
5631
6943
  {
5632
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6944
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5633
6945
  "kind": "IntegerLiteral",
5634
- "offset": 524,
5635
- "length": 4,
6946
+ "offset": 403,
6947
+ "length": 5,
5636
6948
  "value": "1"
5637
6949
  },
5638
6950
  {
5639
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6951
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5640
6952
  "kind": "IntegerLiteral",
5641
- "offset": 542,
6953
+ "offset": 425,
5642
6954
  "length": 4,
5643
6955
  "value": "2"
5644
6956
  },
5645
6957
  {
5646
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6958
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5647
6959
  "kind": "IntegerLiteral",
5648
- "offset": 560,
6960
+ "offset": 446,
5649
6961
  "length": 4,
5650
6962
  "value": "3"
5651
6963
  },
5652
6964
  {
5653
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6965
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5654
6966
  "kind": "IntegerLiteral",
5655
- "offset": 578,
5656
- "length": 9,
6967
+ "offset": 467,
6968
+ "length": 4,
5657
6969
  "value": "4"
5658
6970
  },
5659
6971
  {
5660
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6972
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5661
6973
  "kind": "IntegerLiteral",
5662
- "offset": 1644,
5663
- "length": 1,
5664
- "value": "0"
6974
+ "offset": 488,
6975
+ "length": 4,
6976
+ "value": "5"
5665
6977
  },
5666
6978
  {
5667
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
6979
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
5668
6980
  "kind": "IntegerLiteral",
5669
- "offset": 1650,
5670
- "length": 1,
5671
- "value": "0"
6981
+ "offset": 509,
6982
+ "length": 4,
6983
+ "value": "6"
6984
+ },
6985
+ {
6986
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
6987
+ "kind": "IntegerLiteral",
6988
+ "offset": 530,
6989
+ "length": 4,
6990
+ "value": "7"
6991
+ },
6992
+ {
6993
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
6994
+ "kind": "IntegerLiteral",
6995
+ "offset": 551,
6996
+ "length": 4,
6997
+ "value": "8"
6998
+ },
6999
+ {
7000
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvasVideoFrame.swift",
7001
+ "kind": "StringLiteral",
7002
+ "offset": 190,
7003
+ "length": 13,
7004
+ "value": "\"CanvasNative.NSCVideoFrame\""
7005
+ },
7006
+ {
7007
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
7008
+ "kind": "BooleanLiteral",
7009
+ "offset": 296,
7010
+ "length": 4,
7011
+ "value": "true"
5672
7012
  },
5673
7013
  {
5674
7014
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5675
7015
  "kind": "IntegerLiteral",
5676
- "offset": 1660,
5677
- "length": 1,
7016
+ "offset": 558,
7017
+ "length": 4,
5678
7018
  "value": "1"
5679
7019
  },
5680
7020
  {
5681
7021
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5682
7022
  "kind": "IntegerLiteral",
5683
- "offset": 1671,
5684
- "length": 1,
5685
- "value": "1"
7023
+ "offset": 576,
7024
+ "length": 4,
7025
+ "value": "2"
5686
7026
  },
5687
7027
  {
5688
7028
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5689
7029
  "kind": "IntegerLiteral",
5690
- "offset": 1728,
5691
- "length": 1,
5692
- "value": "0"
7030
+ "offset": 594,
7031
+ "length": 4,
7032
+ "value": "3"
5693
7033
  },
5694
7034
  {
5695
7035
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5696
7036
  "kind": "IntegerLiteral",
5697
- "offset": 3696,
5698
- "length": 1,
5699
- "value": "1"
7037
+ "offset": 612,
7038
+ "length": 9,
7039
+ "value": "4"
5700
7040
  },
5701
7041
  {
5702
7042
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5703
7043
  "kind": "BooleanLiteral",
5704
- "offset": 3599,
5705
- "length": 4,
5706
- "value": "true"
7044
+ "offset": 1519,
7045
+ "length": 5,
7046
+ "value": "false"
5707
7047
  },
5708
7048
  {
5709
7049
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5710
7050
  "kind": "IntegerLiteral",
5711
- "offset": 3875,
7051
+ "offset": 2867,
5712
7052
  "length": 1,
5713
- "value": "0"
7053
+ "value": "1"
5714
7054
  },
5715
7055
  {
5716
7056
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5717
- "kind": "IntegerLiteral",
5718
- "offset": 3933,
5719
- "length": 1,
5720
- "value": "0"
7057
+ "kind": "BooleanLiteral",
7058
+ "offset": 2770,
7059
+ "length": 4,
7060
+ "value": "true"
5721
7061
  },
5722
7062
  {
5723
7063
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5724
7064
  "kind": "IntegerLiteral",
5725
- "offset": 3986,
7065
+ "offset": 3046,
5726
7066
  "length": 1,
5727
7067
  "value": "0"
5728
7068
  },
5729
7069
  {
5730
7070
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5731
7071
  "kind": "BooleanLiteral",
5732
- "offset": 4017,
7072
+ "offset": 3088,
5733
7073
  "length": 5,
5734
7074
  "value": "false"
5735
7075
  },
5736
7076
  {
5737
7077
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5738
7078
  "kind": "BooleanLiteral",
5739
- "offset": 5290,
7079
+ "offset": 4357,
5740
7080
  "length": 4,
5741
7081
  "value": "true"
5742
7082
  },
5743
7083
  {
5744
7084
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5745
7085
  "kind": "BooleanLiteral",
5746
- "offset": 5324,
7086
+ "offset": 4391,
5747
7087
  "length": 4,
5748
7088
  "value": "true"
5749
7089
  },
5750
7090
  {
5751
7091
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5752
7092
  "kind": "BooleanLiteral",
5753
- "offset": 5354,
7093
+ "offset": 4421,
5754
7094
  "length": 4,
5755
7095
  "value": "true"
5756
7096
  },
5757
7097
  {
5758
7098
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5759
7099
  "kind": "BooleanLiteral",
5760
- "offset": 5407,
7100
+ "offset": 4474,
5761
7101
  "length": 5,
5762
7102
  "value": "false"
5763
7103
  },
5764
7104
  {
5765
7105
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5766
7106
  "kind": "IntegerLiteral",
5767
- "offset": 5449,
7107
+ "offset": 4516,
5768
7108
  "length": 1,
5769
7109
  "value": "0"
5770
7110
  },
5771
7111
  {
5772
7112
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5773
7113
  "kind": "BooleanLiteral",
5774
- "offset": 5489,
7114
+ "offset": 4556,
5775
7115
  "length": 4,
5776
7116
  "value": "true"
5777
7117
  },
5778
7118
  {
5779
7119
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5780
7120
  "kind": "BooleanLiteral",
5781
- "offset": 5535,
7121
+ "offset": 4602,
5782
7122
  "length": 5,
5783
7123
  "value": "false"
5784
7124
  },
5785
7125
  {
5786
7126
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5787
7127
  "kind": "BooleanLiteral",
5788
- "offset": 5568,
7128
+ "offset": 4635,
5789
7129
  "length": 5,
5790
7130
  "value": "false"
5791
7131
  },
5792
7132
  {
5793
7133
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5794
7134
  "kind": "BooleanLiteral",
5795
- "offset": 5608,
7135
+ "offset": 4675,
5796
7136
  "length": 5,
5797
7137
  "value": "false"
5798
7138
  },
5799
7139
  {
5800
7140
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5801
7141
  "kind": "BooleanLiteral",
5802
- "offset": 5646,
7142
+ "offset": 4713,
5803
7143
  "length": 5,
5804
7144
  "value": "false"
5805
7145
  },
5806
7146
  {
5807
7147
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5808
7148
  "kind": "BooleanLiteral",
5809
- "offset": 14715,
7149
+ "offset": 13992,
5810
7150
  "length": 5,
5811
7151
  "value": "false"
5812
7152
  },
5813
7153
  {
5814
7154
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5815
7155
  "kind": "BooleanLiteral",
5816
- "offset": 15150,
7156
+ "offset": 14427,
5817
7157
  "length": 5,
5818
7158
  "value": "false"
5819
7159
  },
5820
7160
  {
5821
7161
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5822
7162
  "kind": "IntegerLiteral",
5823
- "offset": 15196,
7163
+ "offset": 14478,
5824
7164
  "length": 3,
5825
7165
  "value": "300"
5826
7166
  },
5827
7167
  {
5828
7168
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/NSCCanvas.swift",
5829
7169
  "kind": "IntegerLiteral",
5830
- "offset": 15373,
7170
+ "offset": 14652,
5831
7171
  "length": 3,
5832
7172
  "value": "150"
5833
7173
  },
5834
- {
5835
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5836
- "kind": "IntegerLiteral",
5837
- "offset": 316,
5838
- "length": 2,
5839
- "value": "-1"
5840
- },
5841
- {
5842
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5843
- "kind": "IntegerLiteral",
5844
- "offset": 341,
5845
- "length": 2,
5846
- "value": "-1"
5847
- },
5848
- {
5849
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5850
- "kind": "IntegerLiteral",
5851
- "offset": 386,
5852
- "length": 2,
5853
- "value": "-1"
5854
- },
5855
- {
5856
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5857
- "kind": "IntegerLiteral",
5858
- "offset": 479,
5859
- "length": 1,
5860
- "value": "4"
5861
- },
5862
- {
5863
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5864
- "kind": "StringLiteral",
5865
- "offset": 512,
5866
- "length": 274,
5867
- "value": "\"precision highp float;\nattribute vec4 aPosition;\nuniform mat4 uTextureMatrix;\nvarying vec2 TexCoord;\nvoid main(){\nvec2 clipSpace = (1.0 - 2.0 * aPosition.xy);\nTexCoord = aPosition.xy;\ngl_Position = vec4(clipSpace, 0.0, 1.0);\n}\""
5868
- },
5869
- {
5870
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCRender.swift",
5871
- "kind": "StringLiteral",
5872
- "offset": 833,
5873
- "length": 170,
5874
- "value": "\"precision highp float;\nvarying vec2 TexCoord;\nuniform sampler2D uSampler;\nvoid main(){\ngl_FragColor = texture2D(uSampler, TexCoord);\n}\""
5875
- },
5876
7174
  {
5877
7175
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5878
7176
  "kind": "Array",
5879
- "offset": 383,
7177
+ "offset": 387,
5880
7178
  "length": 2,
5881
7179
  "value": "[]"
5882
7180
  },
5883
7181
  {
5884
7182
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5885
7183
  "kind": "IntegerLiteral",
5886
- "offset": 421,
7184
+ "offset": 425,
5887
7185
  "length": 1,
5888
7186
  "value": "0"
5889
7187
  },
5890
7188
  {
5891
7189
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5892
7190
  "kind": "BooleanLiteral",
5893
- "offset": 10963,
7191
+ "offset": 10144,
5894
7192
  "length": 5,
5895
7193
  "value": "false"
5896
7194
  },
5897
7195
  {
5898
7196
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5899
7197
  "kind": "BooleanLiteral",
5900
- "offset": 11130,
7198
+ "offset": 10315,
5901
7199
  "length": 5,
5902
7200
  "value": "false"
5903
7201
  },
5904
7202
  {
5905
7203
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5906
7204
  "kind": "BooleanLiteral",
5907
- "offset": 11299,
7205
+ "offset": 10488,
5908
7206
  "length": 5,
5909
7207
  "value": "false"
5910
7208
  },
5911
7209
  {
5912
7210
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5913
7211
  "kind": "BooleanLiteral",
5914
- "offset": 11470,
7212
+ "offset": 10659,
5915
7213
  "length": 5,
5916
7214
  "value": "false"
5917
7215
  },
5918
7216
  {
5919
7217
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCTouchHandler.swift",
5920
7218
  "kind": "BooleanLiteral",
5921
- "offset": 11640,
7219
+ "offset": 10829,
5922
7220
  "length": 5,
5923
7221
  "value": "false"
5924
7222
  },
@@ -5944,9 +7242,9 @@
5944
7242
  "value": "\"NSCImageBitmapQueue\""
5945
7243
  },
5946
7244
  {
5947
- "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/Utils.swift",
7245
+ "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/NSCCanvasUtils.swift",
5948
7246
  "kind": "IntegerLiteral",
5949
- "offset": 242,
7247
+ "offset": 282,
5950
7248
  "length": 1,
5951
7249
  "value": "4"
5952
7250
  },
@@ -5974,14 +7272,14 @@
5974
7272
  {
5975
7273
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/GLRenderer.swift",
5976
7274
  "kind": "BooleanLiteral",
5977
- "offset": 2249,
7275
+ "offset": 2255,
5978
7276
  "length": 5,
5979
7277
  "value": "false"
5980
7278
  },
5981
7279
  {
5982
7280
  "filePath": "/Users/triniwiz/Documents/GitHub/canvas/packages/canvas/src-native/canvas-ios/CanvasNative/Source/GLRenderer.swift",
5983
7281
  "kind": "BooleanLiteral",
5984
- "offset": 2325,
7282
+ "offset": 2331,
5985
7283
  "length": 5,
5986
7284
  "value": "false"
5987
7285
  },