@nativescript/canvas 2.0.0-alpha.0 → 2.0.0-alpha.10

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 (658) hide show
  1. package/Canvas/common.js +8 -15
  2. package/Canvas/common.js.map +1 -1
  3. package/Canvas/index.android.d.ts +2 -0
  4. package/Canvas/index.android.js +21 -13
  5. package/Canvas/index.android.js.map +1 -1
  6. package/Canvas/index.d.ts +5 -0
  7. package/Canvas/index.ios.d.ts +8 -2
  8. package/Canvas/index.ios.js +129 -75
  9. package/Canvas/index.ios.js.map +1 -1
  10. package/Canvas2D/CanvasGradient/index.d.ts +9 -2
  11. package/Canvas2D/CanvasGradient/index.js +23 -2
  12. package/Canvas2D/CanvasGradient/index.js.map +1 -1
  13. package/Canvas2D/CanvasPattern/index.d.ts +9 -2
  14. package/Canvas2D/CanvasPattern/index.js +20 -2
  15. package/Canvas2D/CanvasPattern/index.js.map +1 -1
  16. package/Canvas2D/CanvasRenderingContext2D/index.d.ts +120 -132
  17. package/Canvas2D/CanvasRenderingContext2D/{index.android.js → index.js} +143 -108
  18. package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -0
  19. package/Canvas2D/DOMMatrix/index.d.ts +74 -2
  20. package/Canvas2D/DOMMatrix/index.js +180 -2
  21. package/Canvas2D/DOMMatrix/index.js.map +1 -1
  22. package/Canvas2D/ImageData/index.d.ts +15 -2
  23. package/Canvas2D/ImageData/index.js +66 -2
  24. package/Canvas2D/ImageData/index.js.map +1 -1
  25. package/Canvas2D/Path2D/index.d.ts +21 -2
  26. package/Canvas2D/Path2D/index.js +87 -2
  27. package/Canvas2D/Path2D/index.js.map +1 -1
  28. package/Canvas2D/TextMetrics/index.d.ts +17 -2
  29. package/Canvas2D/TextMetrics/index.js +44 -2
  30. package/Canvas2D/TextMetrics/index.js.map +1 -1
  31. package/Dom/Dom.d.ts +10 -0
  32. package/Dom/Dom.js +36 -0
  33. package/Dom/Dom.js.map +1 -0
  34. package/Dom/Fill.d.ts +4 -0
  35. package/Dom/Fill.js +8 -0
  36. package/Dom/Fill.js.map +1 -0
  37. package/Dom/Group.d.ts +21 -0
  38. package/Dom/Group.js +179 -0
  39. package/Dom/Group.js.map +1 -0
  40. package/Dom/Image.d.ts +12 -0
  41. package/Dom/Image.js +33 -0
  42. package/Dom/Image.js.map +1 -0
  43. package/Dom/Paint.d.ts +15 -0
  44. package/Dom/Paint.js +58 -0
  45. package/Dom/Paint.js.map +1 -0
  46. package/Dom/Shadow.d.ts +10 -0
  47. package/Dom/Shadow.js +26 -0
  48. package/Dom/Shadow.js.map +1 -0
  49. package/Dom/Text.d.ts +9 -0
  50. package/Dom/Text.js +50 -0
  51. package/Dom/Text.js.map +1 -0
  52. package/Dom/index.d.ts +8 -0
  53. package/Dom/index.js +9 -0
  54. package/Dom/index.js.map +1 -0
  55. package/Dom/shapes/Circle.d.ts +21 -0
  56. package/Dom/shapes/Circle.js +99 -0
  57. package/Dom/shapes/Circle.js.map +1 -0
  58. package/Dom/shapes/Line.d.ts +9 -0
  59. package/Dom/shapes/Line.js +37 -0
  60. package/Dom/shapes/Line.js.map +1 -0
  61. package/Dom/shapes/Path.d.ts +8 -0
  62. package/Dom/shapes/Path.js +31 -0
  63. package/Dom/shapes/Path.js.map +1 -0
  64. package/Dom/shapes/Points.d.ts +15 -0
  65. package/Dom/shapes/Points.js +21 -0
  66. package/Dom/shapes/Points.js.map +1 -0
  67. package/Dom/shapes/Rect.d.ts +15 -0
  68. package/Dom/shapes/Rect.js +63 -0
  69. package/Dom/shapes/Rect.js.map +1 -0
  70. package/Dom/shapes/RoundedRect.d.ts +12 -0
  71. package/Dom/shapes/RoundedRect.js +96 -0
  72. package/Dom/shapes/RoundedRect.js.map +1 -0
  73. package/Dom/shapes/index.d.ts +6 -0
  74. package/Dom/shapes/index.js +7 -0
  75. package/Dom/shapes/index.js.map +1 -0
  76. package/ImageAsset/index.d.ts +28 -2
  77. package/ImageAsset/index.js +158 -2
  78. package/ImageAsset/index.js.map +1 -1
  79. package/ImageBitmap/{index.android.d.ts → index.d.ts} +3 -2
  80. package/ImageBitmap/{index.android.js → index.js} +6 -4
  81. package/ImageBitmap/index.js.map +1 -0
  82. package/TextDecoder/index.d.ts +9 -2
  83. package/TextDecoder/index.js +53 -2
  84. package/TextDecoder/index.js.map +1 -1
  85. package/TextEncoder/index.d.ts +9 -2
  86. package/TextEncoder/index.js +51 -2
  87. package/TextEncoder/index.js.map +1 -1
  88. package/WebGL/WebGLExtensions/index.d.ts +159 -242
  89. package/WebGL/WebGLExtensions/{index.android.js → index.js} +1 -1
  90. package/WebGL/WebGLExtensions/index.js.map +1 -0
  91. package/WebGL/WebGLRenderingContext/common.d.ts +3 -1
  92. package/WebGL/WebGLRenderingContext/common.js +188 -178
  93. package/WebGL/WebGLRenderingContext/common.js.map +1 -1
  94. package/WebGL/WebGLRenderingContext/index.d.ts +163 -306
  95. package/WebGL/WebGLRenderingContext/{index.android.js → index.js} +862 -24
  96. package/WebGL/WebGLRenderingContext/index.js.map +1 -0
  97. package/WebGL2/WebGL2RenderingContext/common.d.ts +1 -0
  98. package/WebGL2/WebGL2RenderingContext/common.js +3 -0
  99. package/WebGL2/WebGL2RenderingContext/common.js.map +1 -1
  100. package/WebGL2/WebGL2RenderingContext/index.d.ts +101 -455
  101. package/WebGL2/WebGL2RenderingContext/{index.android.js → index.js} +20 -17
  102. package/WebGL2/WebGL2RenderingContext/index.js.map +1 -0
  103. package/helpers.js +3 -0
  104. package/helpers.js.map +1 -1
  105. package/package.json +1 -1
  106. package/platforms/android/canvas-release.aar +0 -0
  107. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  108. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +131 -1722
  109. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative.h +1 -3
  110. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +96 -0
  111. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
  112. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  113. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +5121 -0
  114. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +150 -0
  115. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  116. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +88 -3202
  117. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/module.modulemap +2 -2
  118. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/{TNSCanvas.nib → NSCCanvas.nib} +0 -0
  119. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  120. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  121. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +252 -3444
  122. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative.h +1 -3
  123. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +96 -0
  124. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
  125. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  126. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  127. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +5121 -0
  128. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +150 -0
  129. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  130. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +88 -3202
  131. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +5121 -0
  132. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +150 -0
  133. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  134. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +88 -3202
  135. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/module.modulemap +2 -2
  136. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/{TNSCanvas.nib → NSCCanvas.nib} +0 -0
  137. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +49 -93
  138. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  139. package/platforms/ios/Podfile +2 -1
  140. package/platforms/ios/build.xcconfig +5 -0
  141. package/platforms/ios/src/CanvasModule.h +10 -0
  142. package/platforms/ios/src/CanvasModule.mm +14 -0
  143. package/platforms/ios/src/cpp/CanvasJSIModule.h +60 -0
  144. package/platforms/ios/src/cpp/CanvasJSIModule.mm +1105 -0
  145. package/platforms/ios/src/cpp/Helpers.h +63 -0
  146. package/platforms/ios/src/cpp/ImageAssetImpl.h +30 -0
  147. package/platforms/ios/src/cpp/ImageAssetImpl.mm +417 -0
  148. package/platforms/ios/src/cpp/ImageBitmapImpl.h +41 -0
  149. package/platforms/ios/src/cpp/ImageBitmapImpl.mm +126 -0
  150. package/platforms/ios/src/cpp/JSICallback.h +15 -0
  151. package/platforms/ios/src/cpp/JSIReadFileCallback.h +16 -0
  152. package/platforms/ios/src/cpp/OnRafCallback.h +24 -0
  153. package/platforms/ios/src/cpp/OnRafCallback.mm +25 -0
  154. package/platforms/ios/src/cpp/RafImpl.h +27 -0
  155. package/platforms/ios/src/cpp/RafImpl.mm +10 -0
  156. package/platforms/ios/src/cpp/TextDecoderImpl.h +28 -0
  157. package/platforms/ios/src/cpp/TextDecoderImpl.mm +97 -0
  158. package/platforms/ios/src/cpp/TextEncoderImpl.h +28 -0
  159. package/platforms/ios/src/cpp/TextEncoderImpl.mm +60 -0
  160. package/platforms/ios/src/cpp/VecMutableBuffer.h +46 -0
  161. package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.cc +6156 -0
  162. package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +2867 -0
  163. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +28 -0
  164. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.mm +42 -0
  165. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +29 -0
  166. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.mm +49 -0
  167. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +75 -0
  168. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.mm +1972 -0
  169. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +29 -0
  170. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.mm +68 -0
  171. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +29 -0
  172. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.mm +149 -0
  173. package/platforms/ios/src/cpp/canvas2d/Path2D.h +27 -0
  174. package/platforms/ios/src/cpp/canvas2d/Path2D.mm +335 -0
  175. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +29 -0
  176. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.mm +68 -0
  177. package/platforms/ios/src/cpp/gl.h +29 -0
  178. package/platforms/ios/src/cpp/rust/cxx.cc +793 -0
  179. package/platforms/ios/src/cpp/rust/cxx.h +1111 -0
  180. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +28 -0
  181. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.mm +39 -0
  182. package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +24 -0
  183. package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +24 -0
  184. package/platforms/ios/src/cpp/webgl/WebGLProgram.h +24 -0
  185. package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +24 -0
  186. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +517 -0
  187. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.mm +5958 -0
  188. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +90 -0
  189. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.mm +118 -0
  190. package/platforms/ios/src/cpp/webgl/WebGLShader.h +24 -0
  191. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +28 -0
  192. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.mm +40 -0
  193. package/platforms/ios/src/cpp/webgl/WebGLTexture.h +23 -0
  194. package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +28 -0
  195. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +28 -0
  196. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.mm +108 -0
  197. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +16 -0
  198. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.mm +28 -0
  199. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +17 -0
  200. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.mm +42 -0
  201. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +28 -0
  202. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.mm +295 -0
  203. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +18 -0
  204. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.mm +40 -0
  205. package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +29 -0
  206. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +18 -0
  207. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.mm +37 -0
  208. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +18 -0
  209. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.mm +28 -0
  210. package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +30 -0
  211. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +18 -0
  212. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.mm +31 -0
  213. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +30 -0
  214. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +31 -0
  215. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +18 -0
  216. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.mm +28 -0
  217. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +30 -0
  218. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +32 -0
  219. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.mm +127 -0
  220. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +20 -0
  221. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.mm +45 -0
  222. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +18 -0
  223. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.mm +45 -0
  224. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +18 -0
  225. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.mm +31 -0
  226. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +18 -0
  227. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.mm +70 -0
  228. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +18 -0
  229. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.mm +47 -0
  230. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +18 -0
  231. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.mm +46 -0
  232. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +19 -0
  233. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.mm +49 -0
  234. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +19 -0
  235. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.mm +30 -0
  236. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +31 -0
  237. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.mm +177 -0
  238. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +31 -0
  239. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.mm +64 -0
  240. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +431 -0
  241. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.mm +4543 -0
  242. package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +21 -0
  243. package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +21 -0
  244. package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +24 -0
  245. package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +21 -0
  246. package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +21 -0
  247. package/platforms/ios/src/module.modulemap +4 -0
  248. package/pods/Headers/include/APIDesign.md +72 -0
  249. package/pods/Headers/include/DEPS +10 -0
  250. package/pods/Headers/include/DIR_METADATA +11 -0
  251. package/pods/Headers/include/OWNERS +23 -0
  252. package/pods/Headers/include/cppgc/DEPS +8 -0
  253. package/pods/Headers/include/cppgc/OWNERS +2 -0
  254. package/pods/Headers/include/cppgc/README.md +133 -0
  255. package/pods/Headers/include/cppgc/allocation.h +310 -0
  256. package/pods/Headers/include/cppgc/common.h +29 -0
  257. package/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
  258. package/pods/Headers/include/cppgc/custom-space.h +97 -0
  259. package/pods/Headers/include/cppgc/default-platform.h +67 -0
  260. package/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
  261. package/pods/Headers/include/cppgc/explicit-management.h +100 -0
  262. package/pods/Headers/include/cppgc/garbage-collected.h +106 -0
  263. package/pods/Headers/include/cppgc/heap-consistency.h +266 -0
  264. package/pods/Headers/include/cppgc/heap-state.h +82 -0
  265. package/pods/Headers/include/cppgc/heap-statistics.h +120 -0
  266. package/pods/Headers/include/cppgc/heap.h +206 -0
  267. package/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
  268. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
  269. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
  270. package/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
  271. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
  272. package/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
  273. package/pods/Headers/include/cppgc/internal/logging.h +50 -0
  274. package/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
  275. package/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
  276. package/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
  277. package/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
  278. package/pods/Headers/include/cppgc/liveness-broker.h +77 -0
  279. package/pods/Headers/include/cppgc/macros.h +26 -0
  280. package/pods/Headers/include/cppgc/member.h +291 -0
  281. package/pods/Headers/include/cppgc/name-provider.h +65 -0
  282. package/pods/Headers/include/cppgc/object-size-trait.h +58 -0
  283. package/pods/Headers/include/cppgc/persistent.h +370 -0
  284. package/pods/Headers/include/cppgc/platform.h +156 -0
  285. package/pods/Headers/include/cppgc/prefinalizer.h +75 -0
  286. package/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
  287. package/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
  288. package/pods/Headers/include/cppgc/source-location.h +92 -0
  289. package/pods/Headers/include/cppgc/testing.h +106 -0
  290. package/pods/Headers/include/cppgc/trace-trait.h +116 -0
  291. package/pods/Headers/include/cppgc/type-traits.h +240 -0
  292. package/pods/Headers/include/cppgc/visitor.h +379 -0
  293. package/pods/Headers/include/js_protocol-1.2.json +936 -0
  294. package/pods/Headers/include/js_protocol-1.3.json +1112 -0
  295. package/pods/Headers/include/js_protocol.pdl +1709 -0
  296. package/pods/Headers/include/libffi/arm64/ffi.h +524 -0
  297. package/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
  298. package/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
  299. package/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
  300. package/pods/Headers/include/libffi.h +12 -0
  301. package/pods/Headers/include/libplatform/DEPS +9 -0
  302. package/pods/Headers/include/libplatform/libplatform-export.h +29 -0
  303. package/pods/Headers/include/libplatform/libplatform.h +106 -0
  304. package/pods/Headers/include/libplatform/v8-tracing.h +333 -0
  305. package/pods/Headers/include/v8-array-buffer.h +433 -0
  306. package/pods/Headers/include/v8-callbacks.h +397 -0
  307. package/pods/Headers/include/v8-container.h +129 -0
  308. package/pods/Headers/include/v8-context.h +407 -0
  309. package/pods/Headers/include/v8-cppgc.h +215 -0
  310. package/pods/Headers/include/v8-data.h +80 -0
  311. package/pods/Headers/include/v8-date.h +43 -0
  312. package/pods/Headers/include/v8-debug.h +168 -0
  313. package/pods/Headers/include/v8-embedder-heap.h +218 -0
  314. package/pods/Headers/include/v8-embedder-state-scope.h +51 -0
  315. package/pods/Headers/include/v8-exception.h +217 -0
  316. package/pods/Headers/include/v8-extension.h +62 -0
  317. package/pods/Headers/include/v8-external.h +37 -0
  318. package/pods/Headers/include/v8-fast-api-calls.h +939 -0
  319. package/pods/Headers/include/v8-forward.h +81 -0
  320. package/pods/Headers/include/v8-function-callback.h +475 -0
  321. package/pods/Headers/include/v8-function.h +125 -0
  322. package/pods/Headers/include/v8-initialization.h +315 -0
  323. package/pods/Headers/include/v8-inspector-protocol.h +13 -0
  324. package/pods/Headers/include/v8-inspector.h +376 -0
  325. package/pods/Headers/include/v8-internal.h +661 -0
  326. package/pods/Headers/include/v8-isolate.h +1709 -0
  327. package/pods/Headers/include/v8-json.h +47 -0
  328. package/pods/Headers/include/v8-local-handle.h +455 -0
  329. package/pods/Headers/include/v8-locker.h +149 -0
  330. package/pods/Headers/include/v8-maybe.h +137 -0
  331. package/pods/Headers/include/v8-memory-span.h +43 -0
  332. package/pods/Headers/include/v8-message.h +216 -0
  333. package/pods/Headers/include/v8-metrics.h +255 -0
  334. package/pods/Headers/include/v8-microtask-queue.h +152 -0
  335. package/pods/Headers/include/v8-microtask.h +28 -0
  336. package/pods/Headers/include/v8-object.h +775 -0
  337. package/pods/Headers/include/v8-persistent-handle.h +590 -0
  338. package/pods/Headers/include/v8-platform.h +1092 -0
  339. package/pods/Headers/include/v8-primitive-object.h +118 -0
  340. package/pods/Headers/include/v8-primitive.h +866 -0
  341. package/pods/Headers/include/v8-profiler.h +1198 -0
  342. package/pods/Headers/include/v8-promise.h +174 -0
  343. package/pods/Headers/include/v8-proxy.h +50 -0
  344. package/pods/Headers/include/v8-regexp.h +105 -0
  345. package/pods/Headers/include/v8-script.h +748 -0
  346. package/pods/Headers/include/v8-snapshot.h +196 -0
  347. package/pods/Headers/include/v8-statistics.h +217 -0
  348. package/pods/Headers/include/v8-template.h +1079 -0
  349. package/pods/Headers/include/v8-traced-handle.h +420 -0
  350. package/pods/Headers/include/v8-typed-array.h +282 -0
  351. package/pods/Headers/include/v8-unwinder-state.h +31 -0
  352. package/pods/Headers/include/v8-unwinder.h +132 -0
  353. package/pods/Headers/include/v8-util.h +658 -0
  354. package/pods/Headers/include/v8-value-serializer-version.h +24 -0
  355. package/pods/Headers/include/v8-value-serializer.h +279 -0
  356. package/pods/Headers/include/v8-value.h +526 -0
  357. package/pods/Headers/include/v8-version-string.h +38 -0
  358. package/pods/Headers/include/v8-version.h +20 -0
  359. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
  360. package/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
  361. package/pods/Headers/include/v8-wasm.h +257 -0
  362. package/pods/Headers/include/v8-weak-callback-info.h +86 -0
  363. package/pods/Headers/include/v8.h +88 -0
  364. package/pods/Headers/include/v8config.h +605 -0
  365. package/pods/Headers/inspector/InspectorServer.h +20 -0
  366. package/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
  367. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
  368. package/pods/Headers/inspector/base64.h +9 -0
  369. package/pods/Headers/inspector/src/base/address-region.h +95 -0
  370. package/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
  371. package/pods/Headers/inspector/src/base/atomicops.h +332 -0
  372. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
  373. package/pods/Headers/inspector/src/base/base-export.h +31 -0
  374. package/pods/Headers/inspector/src/base/bits.h +343 -0
  375. package/pods/Headers/inspector/src/base/build_config.h +234 -0
  376. package/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
  377. package/pods/Headers/inspector/src/base/export-template.h +163 -0
  378. package/pods/Headers/inspector/src/base/flags.h +130 -0
  379. package/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
  380. package/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
  381. package/pods/Headers/inspector/src/base/logging.h +417 -0
  382. package/pods/Headers/inspector/src/base/macros.h +423 -0
  383. package/pods/Headers/inspector/src/base/memory.h +89 -0
  384. package/pods/Headers/inspector/src/base/once.h +108 -0
  385. package/pods/Headers/inspector/src/base/optional.h +882 -0
  386. package/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
  387. package/pods/Headers/inspector/src/base/platform/platform.h +476 -0
  388. package/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
  389. package/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
  390. package/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
  391. package/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
  392. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
  393. package/pods/Headers/inspector/src/base/template-utils.h +113 -0
  394. package/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
  395. package/pods/Headers/inspector/src/common/checks.h +38 -0
  396. package/pods/Headers/inspector/src/common/globals.h +1842 -0
  397. package/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
  398. package/pods/Headers/inspector/src/debug/interface-types.h +175 -0
  399. package/pods/Headers/inspector/src/init/v8.h +52 -0
  400. package/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
  401. package/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
  402. package/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
  403. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
  404. package/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
  405. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
  406. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
  407. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
  408. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
  409. package/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
  410. package/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
  411. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
  412. package/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
  413. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
  414. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
  415. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
  416. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
  417. package/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
  418. package/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
  419. package/pods/Headers/inspector/src/inspector/search-util.h +26 -0
  420. package/pods/Headers/inspector/src/inspector/string-16.h +180 -0
  421. package/pods/Headers/inspector/src/inspector/string-util.h +128 -0
  422. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
  423. package/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
  424. package/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
  425. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
  426. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
  427. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
  428. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
  429. package/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
  430. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
  431. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
  432. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
  433. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
  434. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
  435. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
  436. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
  437. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
  438. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
  439. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
  440. package/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
  441. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
  442. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
  443. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
  444. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
  445. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
  446. package/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
  447. package/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
  448. package/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
  449. package/pods/Headers/inspector/src/numbers/conversions.h +183 -0
  450. package/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
  451. package/pods/Headers/inspector/src/utils/allocation.h +367 -0
  452. package/pods/Headers/inspector/src/utils/vector.h +324 -0
  453. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
  454. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
  455. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
  456. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
  457. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
  458. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
  459. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
  460. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
  461. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
  462. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
  463. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
  464. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
  465. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
  466. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
  467. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
  468. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
  469. package/pods/Headers/inspector/utils.h +32 -0
  470. package/pods/Headers/inspector/v8-inspector-platform.h +44 -0
  471. package/pods/Headers/jsi/decorator.h +770 -0
  472. package/pods/Headers/jsi/instrumentation.h +117 -0
  473. package/pods/Headers/jsi/jsi-inl.h +338 -0
  474. package/pods/Headers/jsi/jsi.h +1571 -0
  475. package/pods/Headers/jsi/jsilib.h +59 -0
  476. package/pods/Headers/jsi/threadsafe.h +79 -0
  477. package/pods/Headers/runtime/ArgConverter.h +61 -0
  478. package/pods/Headers/runtime/ArrayAdapter.h +13 -0
  479. package/pods/Headers/runtime/Caches.h +98 -0
  480. package/pods/Headers/runtime/ClassBuilder.h +61 -0
  481. package/pods/Headers/runtime/Common.h +9 -0
  482. package/pods/Headers/runtime/ConcurrentMap.h +55 -0
  483. package/pods/Headers/runtime/ConcurrentQueue.h +28 -0
  484. package/pods/Headers/runtime/Console.h +27 -0
  485. package/pods/Headers/runtime/Constants.h +15 -0
  486. package/pods/Headers/runtime/DataWrapper.h +671 -0
  487. package/pods/Headers/runtime/DictionaryAdapter.h +13 -0
  488. package/pods/Headers/runtime/ExtVector.h +21 -0
  489. package/pods/Headers/runtime/FFICall.h +105 -0
  490. package/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
  491. package/pods/Headers/runtime/FunctionReference.h +18 -0
  492. package/pods/Headers/runtime/Helpers.h +84 -0
  493. package/pods/Headers/runtime/InlineFunctions.h +16 -0
  494. package/pods/Headers/runtime/Interop.h +202 -0
  495. package/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
  496. package/pods/Headers/runtime/Metadata.h +981 -0
  497. package/pods/Headers/runtime/MetadataBuilder.h +72 -0
  498. package/pods/Headers/runtime/MetadataInlines.h +157 -0
  499. package/pods/Headers/runtime/ModuleInternal.h +59 -0
  500. package/pods/Headers/runtime/NSDataAdapter.h +13 -0
  501. package/pods/Headers/runtime/NativeScriptException.h +27 -0
  502. package/pods/Headers/runtime/ObjectManager.h +31 -0
  503. package/pods/Headers/runtime/OneByteStringResource.h +21 -0
  504. package/pods/Headers/runtime/Pointer.h +26 -0
  505. package/pods/Headers/runtime/PromiseProxy.h +15 -0
  506. package/pods/Headers/runtime/Reference.h +38 -0
  507. package/pods/Headers/runtime/Runtime.h +67 -0
  508. package/pods/Headers/runtime/RuntimeConfig.h +17 -0
  509. package/pods/Headers/runtime/SetTimeout.h +34 -0
  510. package/pods/Headers/runtime/SimpleAllocator.h +23 -0
  511. package/pods/Headers/runtime/StringHasher.h +315 -0
  512. package/pods/Headers/runtime/SymbolIterator.h +18 -0
  513. package/pods/Headers/runtime/SymbolLoader.h +27 -0
  514. package/pods/Headers/runtime/TNSDerivedClass.h +8 -0
  515. package/pods/Headers/runtime/TSHelpers.h +15 -0
  516. package/pods/Headers/runtime/Tasks.h +19 -0
  517. package/pods/Headers/runtime/UnmanagedType.h +21 -0
  518. package/pods/Headers/runtime/WeakRef.h +15 -0
  519. package/pods/Headers/runtime/Worker.h +26 -0
  520. package/pods/Headers/runtime/robin_hood.h +2184 -0
  521. package/pods/Headers/v8runtime/HostProxy.h +71 -0
  522. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +74 -0
  523. package/pods/Headers/v8runtime/V8PointerValue.h +44 -0
  524. package/pods/Headers/v8runtime/V8Runtime.h +240 -0
  525. package/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
  526. package/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
  527. package/pods/NativeScript.podspec +68 -0
  528. package/Canvas2D/CanvasGradient/CanvasGradient.android.d.ts +0 -10
  529. package/Canvas2D/CanvasGradient/CanvasGradient.android.js +0 -26
  530. package/Canvas2D/CanvasGradient/CanvasGradient.android.js.map +0 -1
  531. package/Canvas2D/CanvasGradient/CanvasGradient.d.ts +0 -12
  532. package/Canvas2D/CanvasGradient/CanvasGradient.ios.d.ts +0 -8
  533. package/Canvas2D/CanvasGradient/CanvasGradient.ios.js +0 -19
  534. package/Canvas2D/CanvasGradient/CanvasGradient.ios.js.map +0 -1
  535. package/Canvas2D/CanvasGradient/common.d.ts +0 -3
  536. package/Canvas2D/CanvasGradient/common.js +0 -3
  537. package/Canvas2D/CanvasGradient/common.js.map +0 -1
  538. package/Canvas2D/CanvasPattern/CanvasPattern.android.d.ts +0 -8
  539. package/Canvas2D/CanvasPattern/CanvasPattern.android.js +0 -20
  540. package/Canvas2D/CanvasPattern/CanvasPattern.android.js.map +0 -1
  541. package/Canvas2D/CanvasPattern/CanvasPattern.d.ts +0 -8
  542. package/Canvas2D/CanvasPattern/CanvasPattern.ios.d.ts +0 -6
  543. package/Canvas2D/CanvasPattern/CanvasPattern.ios.js +0 -10
  544. package/Canvas2D/CanvasPattern/CanvasPattern.ios.js.map +0 -1
  545. package/Canvas2D/CanvasPattern/common.d.ts +0 -7
  546. package/Canvas2D/CanvasPattern/common.js +0 -9
  547. package/Canvas2D/CanvasPattern/common.js.map +0 -1
  548. package/Canvas2D/CanvasRenderingContext2D/common.d.ts +0 -87
  549. package/Canvas2D/CanvasRenderingContext2D/common.js +0 -12
  550. package/Canvas2D/CanvasRenderingContext2D/common.js.map +0 -1
  551. package/Canvas2D/CanvasRenderingContext2D/index.android.d.ts +0 -112
  552. package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +0 -1
  553. package/Canvas2D/CanvasRenderingContext2D/index.ios.d.ts +0 -110
  554. package/Canvas2D/CanvasRenderingContext2D/index.ios.js +0 -897
  555. package/Canvas2D/CanvasRenderingContext2D/index.ios.js.map +0 -1
  556. package/Canvas2D/DOMMatrix/DOMMatrix.android.d.ts +0 -72
  557. package/Canvas2D/DOMMatrix/DOMMatrix.android.js +0 -177
  558. package/Canvas2D/DOMMatrix/DOMMatrix.android.js.map +0 -1
  559. package/Canvas2D/DOMMatrix/DOMMatrix.d.ts +0 -30
  560. package/Canvas2D/DOMMatrix/DOMMatrix.ios.d.ts +0 -48
  561. package/Canvas2D/DOMMatrix/DOMMatrix.ios.js +0 -142
  562. package/Canvas2D/DOMMatrix/DOMMatrix.ios.js.map +0 -1
  563. package/Canvas2D/DOMMatrix/common.d.ts +0 -27
  564. package/Canvas2D/DOMMatrix/common.js +0 -9
  565. package/Canvas2D/DOMMatrix/common.js.map +0 -1
  566. package/Canvas2D/ImageData/ImageData.android.d.ts +0 -9
  567. package/Canvas2D/ImageData/ImageData.android.js +0 -65
  568. package/Canvas2D/ImageData/ImageData.android.js.map +0 -1
  569. package/Canvas2D/ImageData/ImageData.d.ts +0 -11
  570. package/Canvas2D/ImageData/ImageData.ios.d.ts +0 -10
  571. package/Canvas2D/ImageData/ImageData.ios.js +0 -45
  572. package/Canvas2D/ImageData/ImageData.ios.js.map +0 -1
  573. package/Canvas2D/ImageData/common.d.ts +0 -9
  574. package/Canvas2D/ImageData/common.js +0 -13
  575. package/Canvas2D/ImageData/common.js.map +0 -1
  576. package/Canvas2D/Path2D/Path2D.android.d.ts +0 -18
  577. package/Canvas2D/Path2D/Path2D.android.js +0 -83
  578. package/Canvas2D/Path2D/Path2D.android.js.map +0 -1
  579. package/Canvas2D/Path2D/Path2D.d.ts +0 -26
  580. package/Canvas2D/Path2D/Path2D.ios.d.ts +0 -15
  581. package/Canvas2D/Path2D/Path2D.ios.js +0 -55
  582. package/Canvas2D/Path2D/Path2D.ios.js.map +0 -1
  583. package/Canvas2D/Path2D/common.d.ts +0 -17
  584. package/Canvas2D/Path2D/common.js +0 -12
  585. package/Canvas2D/Path2D/common.js.map +0 -1
  586. package/Canvas2D/TextMetrics/TextMetrics.android.d.ts +0 -16
  587. package/Canvas2D/TextMetrics/TextMetrics.android.js +0 -43
  588. package/Canvas2D/TextMetrics/TextMetrics.android.js.map +0 -1
  589. package/Canvas2D/TextMetrics/TextMetrics.d.ts +0 -7
  590. package/Canvas2D/TextMetrics/TextMetrics.ios.d.ts +0 -16
  591. package/Canvas2D/TextMetrics/TextMetrics.ios.js +0 -43
  592. package/Canvas2D/TextMetrics/TextMetrics.ios.js.map +0 -1
  593. package/Canvas2D/TextMetrics/common.d.ts +0 -18
  594. package/Canvas2D/TextMetrics/common.js +0 -13
  595. package/Canvas2D/TextMetrics/common.js.map +0 -1
  596. package/ImageAsset/ImageAsset.android.d.ts +0 -20
  597. package/ImageAsset/ImageAsset.android.js +0 -149
  598. package/ImageAsset/ImageAsset.android.js.map +0 -1
  599. package/ImageAsset/ImageAsset.d.ts +0 -31
  600. package/ImageAsset/ImageAsset.ios.d.ts +0 -22
  601. package/ImageAsset/ImageAsset.ios.js +0 -114
  602. package/ImageAsset/ImageAsset.ios.js.map +0 -1
  603. package/ImageAsset/common.d.ts +0 -13
  604. package/ImageAsset/common.js +0 -21
  605. package/ImageAsset/common.js.map +0 -1
  606. package/ImageBitmap/common.d.ts +0 -8
  607. package/ImageBitmap/common.js +0 -9
  608. package/ImageBitmap/common.js.map +0 -1
  609. package/ImageBitmap/index.android.js.map +0 -1
  610. package/ImageBitmap/index.ios.d.ts +0 -12
  611. package/ImageBitmap/index.ios.js +0 -283
  612. package/ImageBitmap/index.ios.js.map +0 -1
  613. package/TextDecoder/TextDecoder.android.d.ts +0 -8
  614. package/TextDecoder/TextDecoder.android.js +0 -36
  615. package/TextDecoder/TextDecoder.android.js.map +0 -1
  616. package/TextDecoder/TextDecoder.d.ts +0 -10
  617. package/TextDecoder/TextDecoder.ios.d.ts +0 -6
  618. package/TextDecoder/TextDecoder.ios.js +0 -37
  619. package/TextDecoder/TextDecoder.ios.js.map +0 -1
  620. package/TextDecoder/common.d.ts +0 -8
  621. package/TextDecoder/common.js +0 -13
  622. package/TextDecoder/common.js.map +0 -1
  623. package/TextEncoder/TextEncoder.android.d.ts +0 -8
  624. package/TextEncoder/TextEncoder.android.js +0 -34
  625. package/TextEncoder/TextEncoder.android.js.map +0 -1
  626. package/TextEncoder/TextEncoder.d.ts +0 -10
  627. package/TextEncoder/TextEncoder.ios.d.ts +0 -6
  628. package/TextEncoder/TextEncoder.ios.js +0 -14
  629. package/TextEncoder/TextEncoder.ios.js.map +0 -1
  630. package/TextEncoder/common.d.ts +0 -7
  631. package/TextEncoder/common.js +0 -9
  632. package/TextEncoder/common.js.map +0 -1
  633. package/WebGL/WebGLExtensions/index.android.d.ts +0 -209
  634. package/WebGL/WebGLExtensions/index.android.js.map +0 -1
  635. package/WebGL/WebGLExtensions/index.ios.d.ts +0 -192
  636. package/WebGL/WebGLExtensions/index.ios.js +0 -250
  637. package/WebGL/WebGLExtensions/index.ios.js.map +0 -1
  638. package/WebGL/WebGLRenderingContext/index.android.d.ts +0 -167
  639. package/WebGL/WebGLRenderingContext/index.android.js.map +0 -1
  640. package/WebGL/WebGLRenderingContext/index.ios.d.ts +0 -163
  641. package/WebGL/WebGLRenderingContext/index.ios.js +0 -1168
  642. package/WebGL/WebGLRenderingContext/index.ios.js.map +0 -1
  643. package/WebGL2/WebGL2RenderingContext/index.android.d.ts +0 -105
  644. package/WebGL2/WebGL2RenderingContext/index.android.js.map +0 -1
  645. package/WebGL2/WebGL2RenderingContext/index.ios.d.ts +0 -102
  646. package/WebGL2/WebGL2RenderingContext/index.ios.js +0 -618
  647. package/WebGL2/WebGL2RenderingContext/index.ios.js.map +0 -1
  648. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/Utils.h +0 -26
  649. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64.swiftsourceinfo +0 -0
  650. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
  651. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftinterface +0 -3264
  652. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/Utils.h +0 -26
  653. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64.swiftsourceinfo +0 -0
  654. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64.swiftsourceinfo +0 -0
  655. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftdoc +0 -0
  656. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64.swiftinterface +0 -3264
  657. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftdoc +0 -0
  658. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64.swiftinterface +0 -3264
@@ -1,3 +1,12 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
1
10
  import { WebGLRenderingContextBase } from './common';
2
11
  import { WebGLShader } from '../WebGLShader';
3
12
  import { WebGLFramebuffer } from '../WebGLFramebuffer';
@@ -8,7 +17,7 @@ import { WebGLActiveInfo } from '../WebGLActiveInfo';
8
17
  import { WebGLRenderbuffer } from '../WebGLRenderbuffer';
9
18
  import { WebGLShaderPrecisionFormat } from '../WebGLShaderPrecisionFormat';
10
19
  import { WebGLBuffer } from '../WebGLBuffer';
11
- import { ImageSource, Screen } from '@nativescript/core';
20
+ import { ImageSource, profile, Screen } from '@nativescript/core';
12
21
  import { ANGLE_instanced_arrays, EXT_blend_minmax, EXT_color_buffer_half_float, EXT_disjoint_timer_query, EXT_shader_texture_lod, EXT_sRGB, EXT_texture_filter_anisotropic, OES_element_index_uint, OES_standard_derivatives, OES_texture_float, OES_texture_float_linear, OES_texture_half_float, OES_texture_half_float_linear, OES_vertex_array_object, WEBGL_color_buffer_float, WEBGL_compressed_texture_atc, WEBGL_compressed_texture_etc, WEBGL_compressed_texture_etc1, WEBGL_compressed_texture_pvrtc, WEBGL_compressed_texture_s3tc, WEBGL_depth_texture, WEBGL_draw_buffers, WEBGL_lose_context, } from '../WebGLExtensions';
13
22
  import { ImageAsset } from '../../ImageAsset';
14
23
  import { Canvas } from '../../Canvas';
@@ -18,13 +27,25 @@ let ctor;
18
27
  export class WebGLRenderingContext extends WebGLRenderingContextBase {
19
28
  constructor(context, contextOptions) {
20
29
  super(context);
21
- this._methodCache = new Map();
22
30
  this._flipY = false;
23
31
  if (contextOptions) {
24
- const ctx = BigInt(context.getNativeContext().toString());
32
+ let nativeContext = 0;
33
+ if (global.isAndroid) {
34
+ nativeContext = context.getNativeContext().toString();
35
+ }
36
+ if (global.isIOS) {
37
+ nativeContext = context.nativeContext.toString();
38
+ }
39
+ const ctx = BigInt(nativeContext);
25
40
  let direction = 0;
26
- if (androidx.core.text.TextUtilsCompat.getLayoutDirectionFromLocale(java.util.Locale.getDefault()) === androidx.core.view.ViewCompat.LAYOUT_DIRECTION_RTL) {
27
- direction = 1;
41
+ if (global.isAndroid) {
42
+ if (androidx.core.text.TextUtilsCompat.getLayoutDirectionFromLocale(java.util.Locale.getDefault()) === androidx.core.view.ViewCompat.LAYOUT_DIRECTION_RTL) {
43
+ direction = 1;
44
+ }
45
+ }
46
+ else {
47
+ // todo
48
+ //direction = 1;
28
49
  }
29
50
  this._context = ctor(contextOptions, ctx, Screen.mainScreen.scale, -16777216, Screen.mainScreen.scale * 160, direction);
30
51
  }
@@ -41,15 +62,6 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
41
62
  get drawingBufferWidth() {
42
63
  return this.native.drawingBufferWidth;
43
64
  }
44
- _getMethod(name) {
45
- const cached = this._methodCache.get(name);
46
- if (cached === undefined) {
47
- const ret = this.native[name];
48
- this._methodCache.set(name, ret);
49
- return ret;
50
- }
51
- return cached;
52
- }
53
65
  __toDataURL() {
54
66
  const __toDataURL = this._getMethod('__toDataURL');
55
67
  return __toDataURL(arguments[0], arguments[1]);
@@ -857,7 +869,7 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
857
869
  this._checkArgs('texImage2D', arguments);
858
870
  const texImage2D = this._getMethod('texImage2D');
859
871
  if (arguments.length === 9) {
860
- texImage2D(target, level, internalformat, width, height, border, format, type, pixels);
872
+ texImage2D(target, level, internalformat, width, height, border, format, type !== null && type !== void 0 ? type : internalformat, pixels);
861
873
  }
862
874
  else if (arguments.length === 6) {
863
875
  if (border && typeof border.tagName === 'string' && (border.tagName === 'VID' || border.tagName === 'VIDEO') && border._video && typeof border._video.getCurrentFrame === 'function') {
@@ -872,7 +884,8 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
872
884
  else if (border instanceof ImageBitmap) {
873
885
  texImage2D(target, level, internalformat, width, height, border.native);
874
886
  }
875
- else if (border instanceof android.graphics.Bitmap) {
887
+ else if (global.isAndroid && border instanceof android.graphics.Bitmap) {
888
+ // todo ios
876
889
  texImage2D(target, level, internalformat, width, height, border);
877
890
  }
878
891
  else if (border instanceof ImageSource) {
@@ -885,7 +898,8 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
885
898
  else if (border._imageSource instanceof ImageSource) {
886
899
  texImage2D(target, level, internalformat, width, height, border._imageSource.android);
887
900
  }
888
- else if (border._image instanceof android.graphics.Bitmap) {
901
+ else if (global.isAndroid && border._image instanceof android.graphics.Bitmap) {
902
+ //todo ios
889
903
  texImage2D(target, level, internalformat, width, height, border._image);
890
904
  }
891
905
  else if (typeof border.src === 'string') {
@@ -917,7 +931,8 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
917
931
  texSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
918
932
  }
919
933
  else if (arguments.length === 7) {
920
- if (format instanceof android.graphics.Bitmap) {
934
+ if (global.isAndroid && format instanceof android.graphics.Bitmap) {
935
+ // todo
921
936
  texSubImage2D(target, level, xoffset, yoffset, width, height, format);
922
937
  }
923
938
  else if (format instanceof ImageSource) {
@@ -933,7 +948,8 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
933
948
  if (format._imageSource instanceof ImageSource) {
934
949
  texSubImage2D(target, level, xoffset, yoffset, width, height, format._imageSource.android);
935
950
  }
936
- else if (format._image instanceof android.graphics.Bitmap) {
951
+ else if (global.isAndroid && format._image instanceof android.graphics.Bitmap) {
952
+ // todo
937
953
  texSubImage2D(target, level, xoffset, yoffset, width, height, format._image);
938
954
  }
939
955
  else if (format._asset instanceof ImageAsset) {
@@ -943,9 +959,9 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
943
959
  const result = ImageSource.fromFileSync(format.src);
944
960
  texSubImage2D(target, level, xoffset, yoffset, width, height, result ? result.android : null);
945
961
  }
946
- else if (format && typeof format.tagName === 'string' && format.tagName === 'CANVAS' && format._canvas instanceof Canvas) {
947
- texSubImage2D(target, level, xoffset, yoffset, width, height, format._canvas.native);
948
- }
962
+ }
963
+ else if (format && typeof format.tagName === 'string' && format.tagName === 'CANVAS' && format._canvas instanceof Canvas) {
964
+ texSubImage2D(target, level, xoffset, yoffset, width, height, format._canvas.native);
949
965
  }
950
966
  }
951
967
  }
@@ -1148,7 +1164,7 @@ export class WebGLRenderingContext extends WebGLRenderingContextBase {
1148
1164
  this._glCheckError('vertexAttribPointer');
1149
1165
  this._checkArgs('vertexAttribPointer', arguments);
1150
1166
  const vertexAttribPointer = this._getMethod('vertexAttribPointer');
1151
- vertexAttribPointer(index, size, type, normalized, stride, offset);
1167
+ vertexAttribPointer(index, size, type, !!normalized, stride, offset);
1152
1168
  }
1153
1169
  viewport(x, y, width, height) {
1154
1170
  this._glCheckError('viewport');
@@ -1181,4 +1197,826 @@ WebGLRenderingContext.filter = 'both';
1181
1197
  Helpers.initialize();
1182
1198
  ctor = global.CanvasJSIModule.createWebGLContext;
1183
1199
  })();
1184
- //# sourceMappingURL=index.android.js.map
1200
+ __decorate([
1201
+ profile,
1202
+ __metadata("design:type", Function),
1203
+ __metadata("design:paramtypes", [Number]),
1204
+ __metadata("design:returntype", void 0)
1205
+ ], WebGLRenderingContext.prototype, "activeTexture", null);
1206
+ __decorate([
1207
+ profile,
1208
+ __metadata("design:type", Function),
1209
+ __metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
1210
+ __metadata("design:returntype", void 0)
1211
+ ], WebGLRenderingContext.prototype, "attachShader", null);
1212
+ __decorate([
1213
+ profile,
1214
+ __metadata("design:type", Function),
1215
+ __metadata("design:paramtypes", [WebGLProgram, Number, String]),
1216
+ __metadata("design:returntype", void 0)
1217
+ ], WebGLRenderingContext.prototype, "bindAttribLocation", null);
1218
+ __decorate([
1219
+ profile,
1220
+ __metadata("design:type", Function),
1221
+ __metadata("design:paramtypes", [Number, WebGLBuffer]),
1222
+ __metadata("design:returntype", void 0)
1223
+ ], WebGLRenderingContext.prototype, "bindBuffer", null);
1224
+ __decorate([
1225
+ profile,
1226
+ __metadata("design:type", Function),
1227
+ __metadata("design:paramtypes", [Number, WebGLFramebuffer]),
1228
+ __metadata("design:returntype", void 0)
1229
+ ], WebGLRenderingContext.prototype, "bindFramebuffer", null);
1230
+ __decorate([
1231
+ profile,
1232
+ __metadata("design:type", Function),
1233
+ __metadata("design:paramtypes", [Number, WebGLRenderbuffer]),
1234
+ __metadata("design:returntype", void 0)
1235
+ ], WebGLRenderingContext.prototype, "bindRenderbuffer", null);
1236
+ __decorate([
1237
+ profile,
1238
+ __metadata("design:type", Function),
1239
+ __metadata("design:paramtypes", [Number, WebGLTexture]),
1240
+ __metadata("design:returntype", void 0)
1241
+ ], WebGLRenderingContext.prototype, "bindTexture", null);
1242
+ __decorate([
1243
+ profile,
1244
+ __metadata("design:type", Function),
1245
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1246
+ __metadata("design:returntype", void 0)
1247
+ ], WebGLRenderingContext.prototype, "blendColor", null);
1248
+ __decorate([
1249
+ profile,
1250
+ __metadata("design:type", Function),
1251
+ __metadata("design:paramtypes", [Number, Number]),
1252
+ __metadata("design:returntype", void 0)
1253
+ ], WebGLRenderingContext.prototype, "blendEquationSeparate", null);
1254
+ __decorate([
1255
+ profile,
1256
+ __metadata("design:type", Function),
1257
+ __metadata("design:paramtypes", [Number]),
1258
+ __metadata("design:returntype", void 0)
1259
+ ], WebGLRenderingContext.prototype, "blendEquation", null);
1260
+ __decorate([
1261
+ profile,
1262
+ __metadata("design:type", Function),
1263
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1264
+ __metadata("design:returntype", void 0)
1265
+ ], WebGLRenderingContext.prototype, "blendFuncSeparate", null);
1266
+ __decorate([
1267
+ profile,
1268
+ __metadata("design:type", Function),
1269
+ __metadata("design:paramtypes", [Number, Number]),
1270
+ __metadata("design:returntype", void 0)
1271
+ ], WebGLRenderingContext.prototype, "blendFunc", null);
1272
+ __decorate([
1273
+ profile,
1274
+ __metadata("design:type", Function),
1275
+ __metadata("design:paramtypes", [Object, Object, Object]),
1276
+ __metadata("design:returntype", void 0)
1277
+ ], WebGLRenderingContext.prototype, "bufferData", null);
1278
+ __decorate([
1279
+ profile,
1280
+ __metadata("design:type", Function),
1281
+ __metadata("design:paramtypes", [Number, Number, Object]),
1282
+ __metadata("design:returntype", void 0)
1283
+ ], WebGLRenderingContext.prototype, "bufferSubData", null);
1284
+ __decorate([
1285
+ profile,
1286
+ __metadata("design:type", Function),
1287
+ __metadata("design:paramtypes", [Number]),
1288
+ __metadata("design:returntype", Number)
1289
+ ], WebGLRenderingContext.prototype, "checkFramebufferStatus", null);
1290
+ __decorate([
1291
+ profile,
1292
+ __metadata("design:type", Function),
1293
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1294
+ __metadata("design:returntype", void 0)
1295
+ ], WebGLRenderingContext.prototype, "clearColor", null);
1296
+ __decorate([
1297
+ profile,
1298
+ __metadata("design:type", Function),
1299
+ __metadata("design:paramtypes", [Number]),
1300
+ __metadata("design:returntype", void 0)
1301
+ ], WebGLRenderingContext.prototype, "clearDepth", null);
1302
+ __decorate([
1303
+ profile,
1304
+ __metadata("design:type", Function),
1305
+ __metadata("design:paramtypes", [Number]),
1306
+ __metadata("design:returntype", void 0)
1307
+ ], WebGLRenderingContext.prototype, "clearStencil", null);
1308
+ __decorate([
1309
+ profile,
1310
+ __metadata("design:type", Function),
1311
+ __metadata("design:paramtypes", [Number]),
1312
+ __metadata("design:returntype", void 0)
1313
+ ], WebGLRenderingContext.prototype, "clear", null);
1314
+ __decorate([
1315
+ profile,
1316
+ __metadata("design:type", Function),
1317
+ __metadata("design:paramtypes", [Boolean, Boolean, Boolean, Boolean]),
1318
+ __metadata("design:returntype", void 0)
1319
+ ], WebGLRenderingContext.prototype, "colorMask", null);
1320
+ __decorate([
1321
+ profile,
1322
+ __metadata("design:type", Function),
1323
+ __metadata("design:paramtypes", []),
1324
+ __metadata("design:returntype", void 0)
1325
+ ], WebGLRenderingContext.prototype, "commit", null);
1326
+ __decorate([
1327
+ profile,
1328
+ __metadata("design:type", Function),
1329
+ __metadata("design:paramtypes", [WebGLShader]),
1330
+ __metadata("design:returntype", void 0)
1331
+ ], WebGLRenderingContext.prototype, "compileShader", null);
1332
+ __decorate([
1333
+ profile,
1334
+ __metadata("design:type", Function),
1335
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
1336
+ __metadata("design:returntype", void 0)
1337
+ ], WebGLRenderingContext.prototype, "compressedTexImage2D", null);
1338
+ __decorate([
1339
+ profile,
1340
+ __metadata("design:type", Function),
1341
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Object]),
1342
+ __metadata("design:returntype", void 0)
1343
+ ], WebGLRenderingContext.prototype, "compressedTexSubImage2D", null);
1344
+ __decorate([
1345
+ profile,
1346
+ __metadata("design:type", Function),
1347
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
1348
+ __metadata("design:returntype", void 0)
1349
+ ], WebGLRenderingContext.prototype, "copyTexImage2D", null);
1350
+ __decorate([
1351
+ profile,
1352
+ __metadata("design:type", Function),
1353
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Number, Number]),
1354
+ __metadata("design:returntype", void 0)
1355
+ ], WebGLRenderingContext.prototype, "copyTexSubImage2D", null);
1356
+ __decorate([
1357
+ profile,
1358
+ __metadata("design:type", Function),
1359
+ __metadata("design:paramtypes", []),
1360
+ __metadata("design:returntype", WebGLBuffer)
1361
+ ], WebGLRenderingContext.prototype, "createBuffer", null);
1362
+ __decorate([
1363
+ profile,
1364
+ __metadata("design:type", Function),
1365
+ __metadata("design:paramtypes", []),
1366
+ __metadata("design:returntype", WebGLFramebuffer)
1367
+ ], WebGLRenderingContext.prototype, "createFramebuffer", null);
1368
+ __decorate([
1369
+ profile,
1370
+ __metadata("design:type", Function),
1371
+ __metadata("design:paramtypes", []),
1372
+ __metadata("design:returntype", WebGLProgram)
1373
+ ], WebGLRenderingContext.prototype, "createProgram", null);
1374
+ __decorate([
1375
+ profile,
1376
+ __metadata("design:type", Function),
1377
+ __metadata("design:paramtypes", []),
1378
+ __metadata("design:returntype", WebGLRenderbuffer)
1379
+ ], WebGLRenderingContext.prototype, "createRenderbuffer", null);
1380
+ __decorate([
1381
+ profile,
1382
+ __metadata("design:type", Function),
1383
+ __metadata("design:paramtypes", [Number]),
1384
+ __metadata("design:returntype", WebGLShader)
1385
+ ], WebGLRenderingContext.prototype, "createShader", null);
1386
+ __decorate([
1387
+ profile,
1388
+ __metadata("design:type", Function),
1389
+ __metadata("design:paramtypes", []),
1390
+ __metadata("design:returntype", WebGLTexture)
1391
+ ], WebGLRenderingContext.prototype, "createTexture", null);
1392
+ __decorate([
1393
+ profile,
1394
+ __metadata("design:type", Function),
1395
+ __metadata("design:paramtypes", [Number]),
1396
+ __metadata("design:returntype", void 0)
1397
+ ], WebGLRenderingContext.prototype, "cullFace", null);
1398
+ __decorate([
1399
+ profile,
1400
+ __metadata("design:type", Function),
1401
+ __metadata("design:paramtypes", [WebGLBuffer]),
1402
+ __metadata("design:returntype", void 0)
1403
+ ], WebGLRenderingContext.prototype, "deleteBuffer", null);
1404
+ __decorate([
1405
+ profile,
1406
+ __metadata("design:type", Function),
1407
+ __metadata("design:paramtypes", [WebGLFramebuffer]),
1408
+ __metadata("design:returntype", void 0)
1409
+ ], WebGLRenderingContext.prototype, "deleteFramebuffer", null);
1410
+ __decorate([
1411
+ profile,
1412
+ __metadata("design:type", Function),
1413
+ __metadata("design:paramtypes", [WebGLProgram]),
1414
+ __metadata("design:returntype", void 0)
1415
+ ], WebGLRenderingContext.prototype, "deleteProgram", null);
1416
+ __decorate([
1417
+ profile,
1418
+ __metadata("design:type", Function),
1419
+ __metadata("design:paramtypes", [WebGLRenderbuffer]),
1420
+ __metadata("design:returntype", void 0)
1421
+ ], WebGLRenderingContext.prototype, "deleteRenderbuffer", null);
1422
+ __decorate([
1423
+ profile,
1424
+ __metadata("design:type", Function),
1425
+ __metadata("design:paramtypes", [WebGLRenderbuffer]),
1426
+ __metadata("design:returntype", void 0)
1427
+ ], WebGLRenderingContext.prototype, "deleteShader", null);
1428
+ __decorate([
1429
+ profile,
1430
+ __metadata("design:type", Function),
1431
+ __metadata("design:paramtypes", [WebGLTexture]),
1432
+ __metadata("design:returntype", void 0)
1433
+ ], WebGLRenderingContext.prototype, "deleteTexture", null);
1434
+ __decorate([
1435
+ profile,
1436
+ __metadata("design:type", Function),
1437
+ __metadata("design:paramtypes", [Number]),
1438
+ __metadata("design:returntype", void 0)
1439
+ ], WebGLRenderingContext.prototype, "depthFunc", null);
1440
+ __decorate([
1441
+ profile,
1442
+ __metadata("design:type", Function),
1443
+ __metadata("design:paramtypes", [Boolean]),
1444
+ __metadata("design:returntype", void 0)
1445
+ ], WebGLRenderingContext.prototype, "depthMask", null);
1446
+ __decorate([
1447
+ profile,
1448
+ __metadata("design:type", Function),
1449
+ __metadata("design:paramtypes", [Number, Number]),
1450
+ __metadata("design:returntype", void 0)
1451
+ ], WebGLRenderingContext.prototype, "depthRange", null);
1452
+ __decorate([
1453
+ profile,
1454
+ __metadata("design:type", Function),
1455
+ __metadata("design:paramtypes", [WebGLProgram, WebGLShader]),
1456
+ __metadata("design:returntype", void 0)
1457
+ ], WebGLRenderingContext.prototype, "detachShader", null);
1458
+ __decorate([
1459
+ profile,
1460
+ __metadata("design:type", Function),
1461
+ __metadata("design:paramtypes", [Number]),
1462
+ __metadata("design:returntype", void 0)
1463
+ ], WebGLRenderingContext.prototype, "disableVertexAttribArray", null);
1464
+ __decorate([
1465
+ profile,
1466
+ __metadata("design:type", Function),
1467
+ __metadata("design:paramtypes", [Number]),
1468
+ __metadata("design:returntype", void 0)
1469
+ ], WebGLRenderingContext.prototype, "disable", null);
1470
+ __decorate([
1471
+ profile,
1472
+ __metadata("design:type", Function),
1473
+ __metadata("design:paramtypes", [Number, Number, Number]),
1474
+ __metadata("design:returntype", void 0)
1475
+ ], WebGLRenderingContext.prototype, "drawArrays", null);
1476
+ __decorate([
1477
+ profile,
1478
+ __metadata("design:type", Function),
1479
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1480
+ __metadata("design:returntype", void 0)
1481
+ ], WebGLRenderingContext.prototype, "drawElements", null);
1482
+ __decorate([
1483
+ profile,
1484
+ __metadata("design:type", Function),
1485
+ __metadata("design:paramtypes", [Number]),
1486
+ __metadata("design:returntype", void 0)
1487
+ ], WebGLRenderingContext.prototype, "enableVertexAttribArray", null);
1488
+ __decorate([
1489
+ profile,
1490
+ __metadata("design:type", Function),
1491
+ __metadata("design:paramtypes", [Number]),
1492
+ __metadata("design:returntype", void 0)
1493
+ ], WebGLRenderingContext.prototype, "enable", null);
1494
+ __decorate([
1495
+ profile,
1496
+ __metadata("design:type", Function),
1497
+ __metadata("design:paramtypes", []),
1498
+ __metadata("design:returntype", void 0)
1499
+ ], WebGLRenderingContext.prototype, "finish", null);
1500
+ __decorate([
1501
+ profile,
1502
+ __metadata("design:type", Function),
1503
+ __metadata("design:paramtypes", []),
1504
+ __metadata("design:returntype", void 0)
1505
+ ], WebGLRenderingContext.prototype, "flush", null);
1506
+ __decorate([
1507
+ profile,
1508
+ __metadata("design:type", Function),
1509
+ __metadata("design:paramtypes", [Number, Number, Number, WebGLRenderbuffer]),
1510
+ __metadata("design:returntype", void 0)
1511
+ ], WebGLRenderingContext.prototype, "framebufferRenderbuffer", null);
1512
+ __decorate([
1513
+ profile,
1514
+ __metadata("design:type", Function),
1515
+ __metadata("design:paramtypes", [Number, Number, Number, WebGLTexture, Number]),
1516
+ __metadata("design:returntype", void 0)
1517
+ ], WebGLRenderingContext.prototype, "framebufferTexture2D", null);
1518
+ __decorate([
1519
+ profile,
1520
+ __metadata("design:type", Function),
1521
+ __metadata("design:paramtypes", [Number]),
1522
+ __metadata("design:returntype", void 0)
1523
+ ], WebGLRenderingContext.prototype, "frontFace", null);
1524
+ __decorate([
1525
+ profile,
1526
+ __metadata("design:type", Function),
1527
+ __metadata("design:paramtypes", [Number]),
1528
+ __metadata("design:returntype", void 0)
1529
+ ], WebGLRenderingContext.prototype, "generateMipmap", null);
1530
+ __decorate([
1531
+ profile,
1532
+ __metadata("design:type", Function),
1533
+ __metadata("design:paramtypes", [WebGLProgram, Number]),
1534
+ __metadata("design:returntype", WebGLActiveInfo)
1535
+ ], WebGLRenderingContext.prototype, "getActiveAttrib", null);
1536
+ __decorate([
1537
+ profile,
1538
+ __metadata("design:type", Function),
1539
+ __metadata("design:paramtypes", [WebGLProgram, Number]),
1540
+ __metadata("design:returntype", WebGLActiveInfo)
1541
+ ], WebGLRenderingContext.prototype, "getActiveUniform", null);
1542
+ __decorate([
1543
+ profile,
1544
+ __metadata("design:type", Function),
1545
+ __metadata("design:paramtypes", [WebGLProgram]),
1546
+ __metadata("design:returntype", Array)
1547
+ ], WebGLRenderingContext.prototype, "getAttachedShaders", null);
1548
+ __decorate([
1549
+ profile,
1550
+ __metadata("design:type", Function),
1551
+ __metadata("design:paramtypes", [WebGLProgram, String]),
1552
+ __metadata("design:returntype", Number)
1553
+ ], WebGLRenderingContext.prototype, "getAttribLocation", null);
1554
+ __decorate([
1555
+ profile,
1556
+ __metadata("design:type", Function),
1557
+ __metadata("design:paramtypes", [Number, Number]),
1558
+ __metadata("design:returntype", Number)
1559
+ ], WebGLRenderingContext.prototype, "getBufferParameter", null);
1560
+ __decorate([
1561
+ profile,
1562
+ __metadata("design:type", Function),
1563
+ __metadata("design:paramtypes", []),
1564
+ __metadata("design:returntype", Object)
1565
+ ], WebGLRenderingContext.prototype, "getContextAttributes", null);
1566
+ __decorate([
1567
+ profile,
1568
+ __metadata("design:type", Function),
1569
+ __metadata("design:paramtypes", []),
1570
+ __metadata("design:returntype", Number)
1571
+ ], WebGLRenderingContext.prototype, "getError", null);
1572
+ __decorate([
1573
+ profile,
1574
+ __metadata("design:type", Function),
1575
+ __metadata("design:paramtypes", [String]),
1576
+ __metadata("design:returntype", void 0)
1577
+ ], WebGLRenderingContext.prototype, "getExtension", null);
1578
+ __decorate([
1579
+ profile,
1580
+ __metadata("design:type", Function),
1581
+ __metadata("design:paramtypes", [Number, Number, Number]),
1582
+ __metadata("design:returntype", Object)
1583
+ ], WebGLRenderingContext.prototype, "getFramebufferAttachmentParameter", null);
1584
+ __decorate([
1585
+ profile,
1586
+ __metadata("design:type", Function),
1587
+ __metadata("design:paramtypes", [Number]),
1588
+ __metadata("design:returntype", Object)
1589
+ ], WebGLRenderingContext.prototype, "getParameter", null);
1590
+ __decorate([
1591
+ profile,
1592
+ __metadata("design:type", Function),
1593
+ __metadata("design:paramtypes", [WebGLProgram]),
1594
+ __metadata("design:returntype", String)
1595
+ ], WebGLRenderingContext.prototype, "getProgramInfoLog", null);
1596
+ __decorate([
1597
+ profile,
1598
+ __metadata("design:type", Function),
1599
+ __metadata("design:paramtypes", [WebGLProgram, Number]),
1600
+ __metadata("design:returntype", Object)
1601
+ ], WebGLRenderingContext.prototype, "getProgramParameter", null);
1602
+ __decorate([
1603
+ profile,
1604
+ __metadata("design:type", Function),
1605
+ __metadata("design:paramtypes", [Number, Number]),
1606
+ __metadata("design:returntype", Number)
1607
+ ], WebGLRenderingContext.prototype, "getRenderbufferParameter", null);
1608
+ __decorate([
1609
+ profile,
1610
+ __metadata("design:type", Function),
1611
+ __metadata("design:paramtypes", [WebGLShader]),
1612
+ __metadata("design:returntype", String)
1613
+ ], WebGLRenderingContext.prototype, "getShaderInfoLog", null);
1614
+ __decorate([
1615
+ profile,
1616
+ __metadata("design:type", Function),
1617
+ __metadata("design:paramtypes", [WebGLShader, Number]),
1618
+ __metadata("design:returntype", Object)
1619
+ ], WebGLRenderingContext.prototype, "getShaderParameter", null);
1620
+ __decorate([
1621
+ profile,
1622
+ __metadata("design:type", Function),
1623
+ __metadata("design:paramtypes", [Number, Number]),
1624
+ __metadata("design:returntype", WebGLShaderPrecisionFormat)
1625
+ ], WebGLRenderingContext.prototype, "getShaderPrecisionFormat", null);
1626
+ __decorate([
1627
+ profile,
1628
+ __metadata("design:type", Function),
1629
+ __metadata("design:paramtypes", [WebGLShader]),
1630
+ __metadata("design:returntype", String)
1631
+ ], WebGLRenderingContext.prototype, "getShaderSource", null);
1632
+ __decorate([
1633
+ profile,
1634
+ __metadata("design:type", Function),
1635
+ __metadata("design:paramtypes", []),
1636
+ __metadata("design:returntype", Array)
1637
+ ], WebGLRenderingContext.prototype, "getSupportedExtensions", null);
1638
+ __decorate([
1639
+ profile,
1640
+ __metadata("design:type", Function),
1641
+ __metadata("design:paramtypes", [Number, Number]),
1642
+ __metadata("design:returntype", Number)
1643
+ ], WebGLRenderingContext.prototype, "getTexParameter", null);
1644
+ __decorate([
1645
+ profile,
1646
+ __metadata("design:type", Function),
1647
+ __metadata("design:paramtypes", [WebGLProgram, String]),
1648
+ __metadata("design:returntype", WebGLUniformLocation)
1649
+ ], WebGLRenderingContext.prototype, "getUniformLocation", null);
1650
+ __decorate([
1651
+ profile,
1652
+ __metadata("design:type", Function),
1653
+ __metadata("design:paramtypes", [WebGLProgram, WebGLUniformLocation]),
1654
+ __metadata("design:returntype", Object)
1655
+ ], WebGLRenderingContext.prototype, "getUniform", null);
1656
+ __decorate([
1657
+ profile,
1658
+ __metadata("design:type", Function),
1659
+ __metadata("design:paramtypes", [Number, Number]),
1660
+ __metadata("design:returntype", Number)
1661
+ ], WebGLRenderingContext.prototype, "getVertexAttribOffset", null);
1662
+ __decorate([
1663
+ profile,
1664
+ __metadata("design:type", Function),
1665
+ __metadata("design:paramtypes", [Number, Number]),
1666
+ __metadata("design:returntype", Object)
1667
+ ], WebGLRenderingContext.prototype, "getVertexAttrib", null);
1668
+ __decorate([
1669
+ profile,
1670
+ __metadata("design:type", Function),
1671
+ __metadata("design:paramtypes", [Number, Number]),
1672
+ __metadata("design:returntype", void 0)
1673
+ ], WebGLRenderingContext.prototype, "hint", null);
1674
+ __decorate([
1675
+ profile,
1676
+ __metadata("design:type", Function),
1677
+ __metadata("design:paramtypes", [WebGLBuffer]),
1678
+ __metadata("design:returntype", Boolean)
1679
+ ], WebGLRenderingContext.prototype, "isBuffer", null);
1680
+ __decorate([
1681
+ profile,
1682
+ __metadata("design:type", Function),
1683
+ __metadata("design:paramtypes", []),
1684
+ __metadata("design:returntype", Boolean)
1685
+ ], WebGLRenderingContext.prototype, "isContextLost", null);
1686
+ __decorate([
1687
+ profile,
1688
+ __metadata("design:type", Function),
1689
+ __metadata("design:paramtypes", [Number]),
1690
+ __metadata("design:returntype", Boolean)
1691
+ ], WebGLRenderingContext.prototype, "isEnabled", null);
1692
+ __decorate([
1693
+ profile,
1694
+ __metadata("design:type", Function),
1695
+ __metadata("design:paramtypes", [WebGLFramebuffer]),
1696
+ __metadata("design:returntype", Boolean)
1697
+ ], WebGLRenderingContext.prototype, "isFramebuffer", null);
1698
+ __decorate([
1699
+ profile,
1700
+ __metadata("design:type", Function),
1701
+ __metadata("design:paramtypes", [WebGLProgram]),
1702
+ __metadata("design:returntype", Boolean)
1703
+ ], WebGLRenderingContext.prototype, "isProgram", null);
1704
+ __decorate([
1705
+ profile,
1706
+ __metadata("design:type", Function),
1707
+ __metadata("design:paramtypes", [WebGLRenderbuffer]),
1708
+ __metadata("design:returntype", Boolean)
1709
+ ], WebGLRenderingContext.prototype, "isRenderbuffer", null);
1710
+ __decorate([
1711
+ profile,
1712
+ __metadata("design:type", Function),
1713
+ __metadata("design:paramtypes", [WebGLShader]),
1714
+ __metadata("design:returntype", Boolean)
1715
+ ], WebGLRenderingContext.prototype, "isShader", null);
1716
+ __decorate([
1717
+ profile,
1718
+ __metadata("design:type", Function),
1719
+ __metadata("design:paramtypes", [WebGLTexture]),
1720
+ __metadata("design:returntype", Boolean)
1721
+ ], WebGLRenderingContext.prototype, "isTexture", null);
1722
+ __decorate([
1723
+ profile,
1724
+ __metadata("design:type", Function),
1725
+ __metadata("design:paramtypes", [Number]),
1726
+ __metadata("design:returntype", void 0)
1727
+ ], WebGLRenderingContext.prototype, "lineWidth", null);
1728
+ __decorate([
1729
+ profile,
1730
+ __metadata("design:type", Function),
1731
+ __metadata("design:paramtypes", [WebGLProgram]),
1732
+ __metadata("design:returntype", void 0)
1733
+ ], WebGLRenderingContext.prototype, "linkProgram", null);
1734
+ __decorate([
1735
+ profile,
1736
+ __metadata("design:type", Function),
1737
+ __metadata("design:paramtypes", [Number, Object]),
1738
+ __metadata("design:returntype", void 0)
1739
+ ], WebGLRenderingContext.prototype, "pixelStorei", null);
1740
+ __decorate([
1741
+ profile,
1742
+ __metadata("design:type", Function),
1743
+ __metadata("design:paramtypes", [Number, Number]),
1744
+ __metadata("design:returntype", void 0)
1745
+ ], WebGLRenderingContext.prototype, "polygonOffset", null);
1746
+ __decorate([
1747
+ profile,
1748
+ __metadata("design:type", Function),
1749
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number, Number, Object]),
1750
+ __metadata("design:returntype", void 0)
1751
+ ], WebGLRenderingContext.prototype, "readPixels", null);
1752
+ __decorate([
1753
+ profile,
1754
+ __metadata("design:type", Function),
1755
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1756
+ __metadata("design:returntype", void 0)
1757
+ ], WebGLRenderingContext.prototype, "renderbufferStorage", null);
1758
+ __decorate([
1759
+ profile,
1760
+ __metadata("design:type", Function),
1761
+ __metadata("design:paramtypes", [Number, Boolean]),
1762
+ __metadata("design:returntype", void 0)
1763
+ ], WebGLRenderingContext.prototype, "sampleCoverage", null);
1764
+ __decorate([
1765
+ profile,
1766
+ __metadata("design:type", Function),
1767
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1768
+ __metadata("design:returntype", void 0)
1769
+ ], WebGLRenderingContext.prototype, "scissor", null);
1770
+ __decorate([
1771
+ profile,
1772
+ __metadata("design:type", Function),
1773
+ __metadata("design:paramtypes", [WebGLShader, String]),
1774
+ __metadata("design:returntype", void 0)
1775
+ ], WebGLRenderingContext.prototype, "shaderSource", null);
1776
+ __decorate([
1777
+ profile,
1778
+ __metadata("design:type", Function),
1779
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1780
+ __metadata("design:returntype", void 0)
1781
+ ], WebGLRenderingContext.prototype, "stencilFuncSeparate", null);
1782
+ __decorate([
1783
+ profile,
1784
+ __metadata("design:type", Function),
1785
+ __metadata("design:paramtypes", [Number, Number, Number]),
1786
+ __metadata("design:returntype", void 0)
1787
+ ], WebGLRenderingContext.prototype, "stencilFunc", null);
1788
+ __decorate([
1789
+ profile,
1790
+ __metadata("design:type", Function),
1791
+ __metadata("design:paramtypes", [Number, Number]),
1792
+ __metadata("design:returntype", void 0)
1793
+ ], WebGLRenderingContext.prototype, "stencilMaskSeparate", null);
1794
+ __decorate([
1795
+ profile,
1796
+ __metadata("design:type", Function),
1797
+ __metadata("design:paramtypes", [Number]),
1798
+ __metadata("design:returntype", void 0)
1799
+ ], WebGLRenderingContext.prototype, "stencilMask", null);
1800
+ __decorate([
1801
+ profile,
1802
+ __metadata("design:type", Function),
1803
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1804
+ __metadata("design:returntype", void 0)
1805
+ ], WebGLRenderingContext.prototype, "stencilOpSeparate", null);
1806
+ __decorate([
1807
+ profile,
1808
+ __metadata("design:type", Function),
1809
+ __metadata("design:paramtypes", [Number, Number, Number]),
1810
+ __metadata("design:returntype", void 0)
1811
+ ], WebGLRenderingContext.prototype, "stencilOp", null);
1812
+ __decorate([
1813
+ profile,
1814
+ __metadata("design:type", Function),
1815
+ __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
1816
+ __metadata("design:returntype", void 0)
1817
+ ], WebGLRenderingContext.prototype, "texImage2D", null);
1818
+ __decorate([
1819
+ profile,
1820
+ __metadata("design:type", Function),
1821
+ __metadata("design:paramtypes", [Number, Number, Number]),
1822
+ __metadata("design:returntype", void 0)
1823
+ ], WebGLRenderingContext.prototype, "texParameterf", null);
1824
+ __decorate([
1825
+ profile,
1826
+ __metadata("design:type", Function),
1827
+ __metadata("design:paramtypes", [Number, Number, Number]),
1828
+ __metadata("design:returntype", void 0)
1829
+ ], WebGLRenderingContext.prototype, "texParameteri", null);
1830
+ __decorate([
1831
+ profile,
1832
+ __metadata("design:type", Function),
1833
+ __metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object, Object, Object, Object]),
1834
+ __metadata("design:returntype", void 0)
1835
+ ], WebGLRenderingContext.prototype, "texSubImage2D", null);
1836
+ __decorate([
1837
+ profile,
1838
+ __metadata("design:type", Function),
1839
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number]),
1840
+ __metadata("design:returntype", void 0)
1841
+ ], WebGLRenderingContext.prototype, "uniform1f", null);
1842
+ __decorate([
1843
+ profile,
1844
+ __metadata("design:type", Function),
1845
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1846
+ __metadata("design:returntype", void 0)
1847
+ ], WebGLRenderingContext.prototype, "uniform1iv", null);
1848
+ __decorate([
1849
+ profile,
1850
+ __metadata("design:type", Function),
1851
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1852
+ __metadata("design:returntype", void 0)
1853
+ ], WebGLRenderingContext.prototype, "uniform1fv", null);
1854
+ __decorate([
1855
+ profile,
1856
+ __metadata("design:type", Function),
1857
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number]),
1858
+ __metadata("design:returntype", void 0)
1859
+ ], WebGLRenderingContext.prototype, "uniform1i", null);
1860
+ __decorate([
1861
+ profile,
1862
+ __metadata("design:type", Function),
1863
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
1864
+ __metadata("design:returntype", void 0)
1865
+ ], WebGLRenderingContext.prototype, "uniform2f", null);
1866
+ __decorate([
1867
+ profile,
1868
+ __metadata("design:type", Function),
1869
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1870
+ __metadata("design:returntype", void 0)
1871
+ ], WebGLRenderingContext.prototype, "uniform2iv", null);
1872
+ __decorate([
1873
+ profile,
1874
+ __metadata("design:type", Function),
1875
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1876
+ __metadata("design:returntype", void 0)
1877
+ ], WebGLRenderingContext.prototype, "uniform2fv", null);
1878
+ __decorate([
1879
+ profile,
1880
+ __metadata("design:type", Function),
1881
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number]),
1882
+ __metadata("design:returntype", void 0)
1883
+ ], WebGLRenderingContext.prototype, "uniform2i", null);
1884
+ __decorate([
1885
+ profile,
1886
+ __metadata("design:type", Function),
1887
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
1888
+ __metadata("design:returntype", void 0)
1889
+ ], WebGLRenderingContext.prototype, "uniform3f", null);
1890
+ __decorate([
1891
+ profile,
1892
+ __metadata("design:type", Function),
1893
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1894
+ __metadata("design:returntype", void 0)
1895
+ ], WebGLRenderingContext.prototype, "uniform3iv", null);
1896
+ __decorate([
1897
+ profile,
1898
+ __metadata("design:type", Function),
1899
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1900
+ __metadata("design:returntype", void 0)
1901
+ ], WebGLRenderingContext.prototype, "uniform3fv", null);
1902
+ __decorate([
1903
+ profile,
1904
+ __metadata("design:type", Function),
1905
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number]),
1906
+ __metadata("design:returntype", void 0)
1907
+ ], WebGLRenderingContext.prototype, "uniform3i", null);
1908
+ __decorate([
1909
+ profile,
1910
+ __metadata("design:type", Function),
1911
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
1912
+ __metadata("design:returntype", void 0)
1913
+ ], WebGLRenderingContext.prototype, "uniform4f", null);
1914
+ __decorate([
1915
+ profile,
1916
+ __metadata("design:type", Function),
1917
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1918
+ __metadata("design:returntype", void 0)
1919
+ ], WebGLRenderingContext.prototype, "uniform4iv", null);
1920
+ __decorate([
1921
+ profile,
1922
+ __metadata("design:type", Function),
1923
+ __metadata("design:paramtypes", [WebGLUniformLocation, Array]),
1924
+ __metadata("design:returntype", void 0)
1925
+ ], WebGLRenderingContext.prototype, "uniform4fv", null);
1926
+ __decorate([
1927
+ profile,
1928
+ __metadata("design:type", Function),
1929
+ __metadata("design:paramtypes", [WebGLUniformLocation, Number, Number, Number, Number]),
1930
+ __metadata("design:returntype", void 0)
1931
+ ], WebGLRenderingContext.prototype, "uniform4i", null);
1932
+ __decorate([
1933
+ profile,
1934
+ __metadata("design:type", Function),
1935
+ __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
1936
+ __metadata("design:returntype", void 0)
1937
+ ], WebGLRenderingContext.prototype, "uniformMatrix2fv", null);
1938
+ __decorate([
1939
+ profile,
1940
+ __metadata("design:type", Function),
1941
+ __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
1942
+ __metadata("design:returntype", void 0)
1943
+ ], WebGLRenderingContext.prototype, "uniformMatrix3fv", null);
1944
+ __decorate([
1945
+ profile,
1946
+ __metadata("design:type", Function),
1947
+ __metadata("design:paramtypes", [WebGLUniformLocation, Boolean, Array]),
1948
+ __metadata("design:returntype", void 0)
1949
+ ], WebGLRenderingContext.prototype, "uniformMatrix4fv", null);
1950
+ __decorate([
1951
+ profile,
1952
+ __metadata("design:type", Function),
1953
+ __metadata("design:paramtypes", [WebGLProgram]),
1954
+ __metadata("design:returntype", void 0)
1955
+ ], WebGLRenderingContext.prototype, "useProgram", null);
1956
+ __decorate([
1957
+ profile,
1958
+ __metadata("design:type", Function),
1959
+ __metadata("design:paramtypes", [WebGLProgram]),
1960
+ __metadata("design:returntype", void 0)
1961
+ ], WebGLRenderingContext.prototype, "validateProgram", null);
1962
+ __decorate([
1963
+ profile,
1964
+ __metadata("design:type", Function),
1965
+ __metadata("design:paramtypes", [Number, Number]),
1966
+ __metadata("design:returntype", void 0)
1967
+ ], WebGLRenderingContext.prototype, "vertexAttrib1f", null);
1968
+ __decorate([
1969
+ profile,
1970
+ __metadata("design:type", Function),
1971
+ __metadata("design:paramtypes", [Number, Array]),
1972
+ __metadata("design:returntype", void 0)
1973
+ ], WebGLRenderingContext.prototype, "vertexAttrib1fv", null);
1974
+ __decorate([
1975
+ profile,
1976
+ __metadata("design:type", Function),
1977
+ __metadata("design:paramtypes", [Number, Number, Number]),
1978
+ __metadata("design:returntype", void 0)
1979
+ ], WebGLRenderingContext.prototype, "vertexAttrib2f", null);
1980
+ __decorate([
1981
+ profile,
1982
+ __metadata("design:type", Function),
1983
+ __metadata("design:paramtypes", [Number, Array]),
1984
+ __metadata("design:returntype", void 0)
1985
+ ], WebGLRenderingContext.prototype, "vertexAttrib2fv", null);
1986
+ __decorate([
1987
+ profile,
1988
+ __metadata("design:type", Function),
1989
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
1990
+ __metadata("design:returntype", void 0)
1991
+ ], WebGLRenderingContext.prototype, "vertexAttrib3f", null);
1992
+ __decorate([
1993
+ profile,
1994
+ __metadata("design:type", Function),
1995
+ __metadata("design:paramtypes", [Number, Array]),
1996
+ __metadata("design:returntype", void 0)
1997
+ ], WebGLRenderingContext.prototype, "vertexAttrib3fv", null);
1998
+ __decorate([
1999
+ profile,
2000
+ __metadata("design:type", Function),
2001
+ __metadata("design:paramtypes", [Number, Number, Number, Number, Number]),
2002
+ __metadata("design:returntype", void 0)
2003
+ ], WebGLRenderingContext.prototype, "vertexAttrib4f", null);
2004
+ __decorate([
2005
+ profile,
2006
+ __metadata("design:type", Function),
2007
+ __metadata("design:paramtypes", [Number, Array]),
2008
+ __metadata("design:returntype", void 0)
2009
+ ], WebGLRenderingContext.prototype, "vertexAttrib4fv", null);
2010
+ __decorate([
2011
+ profile,
2012
+ __metadata("design:type", Function),
2013
+ __metadata("design:paramtypes", [Number, Number, Number, Boolean, Number, Number]),
2014
+ __metadata("design:returntype", void 0)
2015
+ ], WebGLRenderingContext.prototype, "vertexAttribPointer", null);
2016
+ __decorate([
2017
+ profile,
2018
+ __metadata("design:type", Function),
2019
+ __metadata("design:paramtypes", [Number, Number, Number, Number]),
2020
+ __metadata("design:returntype", void 0)
2021
+ ], WebGLRenderingContext.prototype, "viewport", null);
2022
+ //# sourceMappingURL=index.js.map