@nativescript/canvas 2.0.0-alpha.9 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/common.d.ts +213 -25
- package/Canvas/common.js +705 -452
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +10 -1
- package/Canvas/index.android.js +155 -52
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +8 -0
- package/Canvas/index.ios.d.ts +7 -4
- package/Canvas/index.ios.js +159 -106
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/index.d.ts +1 -3
- package/Canvas2D/CanvasGradient/index.js +1 -10
- package/Canvas2D/CanvasGradient/index.js.map +1 -1
- package/Canvas2D/CanvasPattern/index.d.ts +1 -3
- package/Canvas2D/CanvasPattern/index.js +1 -10
- package/Canvas2D/CanvasPattern/index.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.d.ts +11 -5
- package/Canvas2D/CanvasRenderingContext2D/index.js +183 -245
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
- package/Canvas2D/DOMMatrix/index.js +5 -3
- package/Canvas2D/DOMMatrix/index.js.map +1 -1
- package/Canvas2D/ImageData/index.js +6 -6
- package/Canvas2D/ImageData/index.js.map +1 -1
- package/Canvas2D/Path2D/index.d.ts +0 -2
- package/Canvas2D/Path2D/index.js +32 -42
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/Dom/Dom.js +7 -2
- package/Dom/Dom.js.map +1 -1
- package/Dom/Group.d.ts +7 -7
- package/Dom/Group.js +47 -21
- package/Dom/Group.js.map +1 -1
- package/Dom/Image.js +2 -3
- package/Dom/Image.js.map +1 -1
- package/Dom/Paint.d.ts +1 -0
- package/Dom/Paint.js +10 -5
- package/Dom/Paint.js.map +1 -1
- package/Dom/Text.js +3 -4
- package/Dom/Text.js.map +1 -1
- package/Dom/shapes/Circle.js +2 -3
- package/Dom/shapes/Circle.js.map +1 -1
- package/Dom/shapes/Path.js +1 -0
- package/Dom/shapes/Path.js.map +1 -1
- package/Dom/shapes/Points.js +1 -2
- package/Dom/shapes/Points.js.map +1 -1
- package/Dom/shapes/Rect.js +2 -2
- package/Dom/shapes/Rect.js.map +1 -1
- package/Dom/shapes/RoundedRect.js +8 -9
- package/Dom/shapes/RoundedRect.js.map +1 -1
- package/ImageAsset/index.d.ts +2 -2
- package/ImageAsset/index.js +33 -37
- package/ImageAsset/index.js.map +1 -1
- package/ImageBitmap/index.d.ts +0 -2
- package/ImageBitmap/index.js +47 -33
- package/ImageBitmap/index.js.map +1 -1
- package/LICENSE +201 -0
- package/SVG/SVG.js +1 -1
- package/SVG/SVG.js.map +1 -1
- package/TextDecoder/index.d.ts +0 -2
- package/TextDecoder/index.js +3 -12
- package/TextDecoder/index.js.map +1 -1
- package/TextEncoder/index.d.ts +0 -2
- package/TextEncoder/index.js +4 -13
- package/TextEncoder/index.js.map +1 -1
- package/WebGL/WebGLExtensions/index.d.ts +4 -12
- package/WebGL/WebGLExtensions/index.js +27 -77
- package/WebGL/WebGLExtensions/index.js.map +1 -1
- package/WebGL/WebGLProgram.d.ts +0 -1
- package/WebGL/WebGLProgram.js +0 -3
- package/WebGL/WebGLProgram.js.map +1 -1
- package/WebGL/WebGLRenderingContext/common.d.ts +1 -3
- package/WebGL/WebGLRenderingContext/common.js +3 -13
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +19 -17
- package/WebGL/WebGLRenderingContext/index.js +354 -728
- package/WebGL/WebGLRenderingContext/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/common.d.ts +2 -2
- package/WebGL2/WebGL2RenderingContext/common.js +2 -2
- package/WebGL2/WebGL2RenderingContext/common.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.d.ts +1 -1
- package/WebGL2/WebGL2RenderingContext/index.js +116 -285
- package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
- package/angular/esm2020/index.mjs +4 -4
- package/angular/fesm2015/nativescript-canvas-angular.mjs +4 -4
- package/angular/fesm2020/nativescript-canvas-angular.mjs +4 -4
- package/angular/package.json +2 -2
- package/index.js.map +1 -1
- package/package.json +3 -2
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/android/include.gradle +15 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +132 -68
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative.h +10 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_ios.h +144 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +2808 -68
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +5847 -2633
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +264 -136
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative.h +10 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_ios.h +144 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +2808 -68
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Info.plist +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +5847 -2633
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +5847 -2633
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +43 -25
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +42 -31
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/Podfile +5 -2
- package/platforms/ios/build.xcconfig +3 -3
- package/platforms/ios/src/CanvasModule.h +0 -2
- package/platforms/ios/src/CanvasModule.mm +4 -4
- package/platforms/ios/src/NSOperationQueueWrapper.h +11 -0
- package/platforms/ios/src/NSOperationQueueWrapper.mm +74 -0
- package/platforms/ios/src/cpp/Caches.cpp +35 -0
- package/platforms/ios/src/cpp/Caches.h +190 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.cpp +1593 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.h +16 -34
- package/platforms/ios/src/cpp/Common.h +30 -0
- package/platforms/ios/src/cpp/ConcurrentMap.h +54 -0
- package/platforms/ios/src/cpp/Helpers.h +336 -38
- package/platforms/ios/src/cpp/ImageAssetImpl.cpp +802 -0
- package/platforms/ios/src/cpp/ImageAssetImpl.h +46 -12
- package/platforms/ios/src/cpp/ImageBitmapImpl.cpp +189 -0
- package/platforms/ios/src/cpp/ImageBitmapImpl.h +42 -16
- package/platforms/ios/src/cpp/JSICallback.h +83 -5
- package/platforms/ios/src/cpp/JSIReadFileCallback.h +86 -6
- package/platforms/ios/src/cpp/JSIRuntime.cpp +21 -0
- package/platforms/ios/src/cpp/JSIRuntime.h +7 -0
- package/platforms/ios/src/cpp/ObjectWrapperImpl.h +33 -0
- package/platforms/ios/src/cpp/OneByteStringResource.cpp +55 -0
- package/platforms/ios/src/cpp/OneByteStringResource.h +36 -0
- package/platforms/ios/src/cpp/PerIsolateData.cpp +49 -0
- package/platforms/ios/src/cpp/PerIsolateData.h +54 -0
- package/platforms/ios/src/cpp/RafImpl.cpp +8 -0
- package/platforms/ios/src/cpp/RafImpl.h +11 -8
- package/platforms/ios/src/cpp/TextDecoderImpl.cpp +193 -0
- package/platforms/ios/src/cpp/TextDecoderImpl.h +23 -13
- package/platforms/ios/src/cpp/TextEncoderImpl.cpp +139 -0
- package/platforms/ios/src/cpp/TextEncoderImpl.h +21 -12
- package/platforms/ios/src/cpp/URLImpl.cpp +464 -0
- package/platforms/ios/src/cpp/URLImpl.h +121 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.cpp +71 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +29 -13
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.cpp +89 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +49 -12
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +2837 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1334 -21
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.cpp +207 -0
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +27 -13
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.cpp +807 -0
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +173 -13
- package/platforms/ios/src/cpp/canvas2d/Path2D.cpp +499 -0
- package/platforms/ios/src/cpp/canvas2d/Path2D.h +422 -12
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.cpp +253 -0
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +51 -12
- package/platforms/ios/src/cpp/gl.h +57 -7
- package/platforms/ios/src/cpp/gl3stub.c +425 -0
- package/platforms/ios/src/cpp/gl3stub.h +665 -0
- package/platforms/ios/src/cpp/gles3jni.h +37 -0
- package/platforms/ios/src/cpp/include/robin_hood.h +2544 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.cpp +91 -0
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +33 -13
- package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +42 -7
- package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +47 -11
- package/platforms/ios/src/cpp/webgl/WebGLProgram.h +41 -6
- package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +41 -7
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +6845 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +3217 -388
- package/platforms/ios/src/cpp/webgl/{WebGLRenderingContextBase.mm → WebGLRenderingContextBase.cpp} +18 -17
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +16 -36
- package/platforms/ios/src/cpp/webgl/WebGLShader.h +41 -7
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.cpp +50 -0
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +67 -12
- package/platforms/ios/src/cpp/webgl/WebGLTexture.h +41 -7
- package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +45 -9
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.cpp +136 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +88 -12
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.cpp +35 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +26 -6
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.cpp +41 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +26 -6
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.cpp +306 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +47 -13
- package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +37 -15
- package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +47 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +41 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +44 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +39 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +37 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +42 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +40 -16
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.cpp +110 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +149 -14
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +51 -8
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +49 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +49 -8
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +76 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +57 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +53 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +59 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +46 -6
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.cpp +38 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +157 -14
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.cpp +32 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +61 -13
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.cpp +4564 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1790 -342
- package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +41 -4
- package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +42 -3
- package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +45 -11
- package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +43 -4
- package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +44 -4
- package/platforms/ios/src/module.modulemap +1 -0
- package/{pods → src-native/ios}/NativeScript.podspec +12 -25
- package/typings/objc!CanvasNative.d.ts +2038 -0
- package/typings/objc!CanvasNative.js +1 -0
- package/typings/objc!CanvasNative.js.map +1 -0
- package/utils.d.ts +3 -1
- package/utils.js +7 -20
- package/utils.js.map +1 -1
- package/angular/nativescript-canvas-angular.d.ts +0 -5
- package/platforms/ios/src/cpp/CanvasJSIModule.mm +0 -1105
- package/platforms/ios/src/cpp/ImageAssetImpl.mm +0 -417
- package/platforms/ios/src/cpp/ImageBitmapImpl.mm +0 -126
- package/platforms/ios/src/cpp/RafImpl.mm +0 -10
- package/platforms/ios/src/cpp/TextDecoderImpl.mm +0 -97
- package/platforms/ios/src/cpp/TextEncoderImpl.mm +0 -60
- package/platforms/ios/src/cpp/VecMutableBuffer.h +0 -46
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.cc +0 -6156
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +0 -2867
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.mm +0 -42
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.mm +0 -49
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.mm +0 -1972
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.mm +0 -68
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.mm +0 -149
- package/platforms/ios/src/cpp/canvas2d/Path2D.mm +0 -335
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.mm +0 -68
- package/platforms/ios/src/cpp/rust/cxx.cc +0 -793
- package/platforms/ios/src/cpp/rust/cxx.h +0 -1111
- package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.mm +0 -39
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.mm +0 -5958
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.mm +0 -40
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.mm +0 -108
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.mm +0 -42
- package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.mm +0 -295
- package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.mm +0 -40
- package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.mm +0 -37
- package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.mm +0 -31
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.mm +0 -28
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.mm +0 -127
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.mm +0 -45
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.mm +0 -45
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.mm +0 -31
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.mm +0 -70
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.mm +0 -47
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.mm +0 -46
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.mm +0 -49
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.mm +0 -30
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.mm +0 -177
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.mm +0 -64
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.mm +0 -4543
- package/pods/Headers/jsi/decorator.h +0 -770
- package/pods/Headers/jsi/instrumentation.h +0 -117
- package/pods/Headers/jsi/jsi-inl.h +0 -338
- package/pods/Headers/jsi/jsi.h +0 -1571
- package/pods/Headers/jsi/jsilib.h +0 -59
- package/pods/Headers/jsi/threadsafe.h +0 -79
- package/pods/Headers/v8runtime/HostProxy.h +0 -71
- package/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -74
- package/pods/Headers/v8runtime/V8PointerValue.h +0 -44
- package/pods/Headers/v8runtime/V8Runtime.h +0 -240
- package/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
- package/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
- /package/platforms/ios/src/cpp/{OnRafCallback.mm → OnRafCallback.cpp} +0 -0
- /package/{pods → src-native/ios}/Headers/include/APIDesign.md +0 -0
- /package/{pods → src-native/ios}/Headers/include/DEPS +0 -0
- /package/{pods → src-native/ios}/Headers/include/DIR_METADATA +0 -0
- /package/{pods → src-native/ios}/Headers/include/OWNERS +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/DEPS +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/OWNERS +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/README.md +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/allocation.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/common.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/cross-thread-persistent.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/custom-space.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/default-platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/ephemeron-pair.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/explicit-management.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/garbage-collected.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/heap-consistency.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/heap-state.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/heap-statistics.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/heap.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/api-constants.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/compiler-specific.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/finalizer-trait.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/gc-info.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/logging.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/name-trait.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/persistent-node.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/pointer-policies.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/internal/write-barrier.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/liveness-broker.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/macros.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/member.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/name-provider.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/object-size-trait.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/persistent.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/prefinalizer.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/process-heap-statistics.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/sentinel-pointer.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/source-location.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/testing.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/trace-trait.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/type-traits.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/cppgc/visitor.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/js_protocol-1.2.json +0 -0
- /package/{pods → src-native/ios}/Headers/include/js_protocol-1.3.json +0 -0
- /package/{pods → src-native/ios}/Headers/include/js_protocol.pdl +0 -0
- /package/{pods → src-native/ios}/Headers/include/libffi/arm64/ffi.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libffi/arm64/ffitarget.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libffi/x86_64/ffi.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libffi/x86_64/ffitarget.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libffi.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libplatform/DEPS +0 -0
- /package/{pods → src-native/ios}/Headers/include/libplatform/libplatform-export.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libplatform/libplatform.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/libplatform/v8-tracing.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-array-buffer.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-callbacks.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-container.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-context.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-cppgc.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-data.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-date.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-debug.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-embedder-heap.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-embedder-state-scope.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-exception.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-extension.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-external.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-fast-api-calls.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-forward.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-function-callback.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-function.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-initialization.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-inspector-protocol.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-inspector.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-internal.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-isolate.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-json.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-local-handle.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-locker.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-maybe.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-memory-span.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-message.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-metrics.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-microtask-queue.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-microtask.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-object.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-persistent-handle.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-primitive-object.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-primitive.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-profiler.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-promise.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-proxy.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-regexp.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-script.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-snapshot.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-statistics.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-template.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-traced-handle.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-typed-array.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-unwinder-state.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-unwinder.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-util.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-value-serializer-version.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-value-serializer.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-value.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-version-string.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-version.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-wasm-trap-handler-posix.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-wasm-trap-handler-win.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-wasm.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8-weak-callback-info.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8.h +0 -0
- /package/{pods → src-native/ios}/Headers/include/v8config.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/InspectorServer.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/JsV8InspectorClient.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/base64.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/address-region.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/atomic-utils.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/atomicops.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/base-export.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/bits.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/build_config.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/compiler-specific.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/export-template.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/flags.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/immediate-crash.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/lazy-instance.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/logging.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/macros.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/memory.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/once.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/optional.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/platform/mutex.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/platform/platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/platform/semaphore.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/platform/v8-time.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/platform/wrappers.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/safe_conversions.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/safe_conversions_impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/template-utils.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/base/v8-fallthrough.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/common/checks.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/common/globals.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/debug/debug-interface.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/debug/interface-types.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/init/v8.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/custom-preview.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/injected-script.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/inspected-context.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/CSS.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Console.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/DOM.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Debugger.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Forward.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Log.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Network.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Overlay.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Page.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Profiler.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Protocol.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Runtime.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Schema.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/protocol/Security.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/remote-object-id.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/search-util.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/string-16.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/string-util.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-console-message.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-console.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-debugger-id.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-debugger-script.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-debugger.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-regex.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-string-conversions.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/v8-value-utils.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/inspector/value-mirror.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/libplatform/default-platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/logging/tracing-flags.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/numbers/conversions.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/tracing/trace-event.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/utils/allocation.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/src/utils/vector.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/utils.h +0 -0
- /package/{pods → src-native/ios}/Headers/inspector/v8-inspector-platform.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ArgConverter.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ArrayAdapter.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Caches.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ClassBuilder.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Common.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ConcurrentMap.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ConcurrentQueue.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Console.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Constants.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/DataWrapper.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/DictionaryAdapter.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ExtVector.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/FFICall.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/FastEnumerationAdapter.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/FunctionReference.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Helpers.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/InlineFunctions.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Interop.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/KnownUnknownClassPair.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Metadata.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/MetadataBuilder.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/MetadataInlines.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ModuleInternal.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/NSDataAdapter.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/NativeScriptException.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/ObjectManager.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/OneByteStringResource.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Pointer.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/PromiseProxy.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Reference.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Runtime.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/RuntimeConfig.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/SetTimeout.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/SimpleAllocator.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/StringHasher.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/SymbolIterator.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/SymbolLoader.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/TNSDerivedClass.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/TSHelpers.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Tasks.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/UnmanagedType.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/WeakRef.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/Worker.h +0 -0
- /package/{pods → src-native/ios}/Headers/runtime/robin_hood.h +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { WebGLQuery } from '../WebGLQuery';
|
|
2
2
|
import { WebGLSampler } from '../WebGLSampler';
|
|
3
|
+
import { WebGLSync } from '../WebGLSync';
|
|
3
4
|
import { WebGLTransformFeedback } from '../WebGLTransformFeedback';
|
|
4
5
|
import { WebGLVertexArrayObject } from '../WebGLVertexArrayObject';
|
|
5
6
|
import { WebGLFramebuffer } from '../../WebGL/WebGLFramebuffer';
|
|
@@ -11,7 +12,6 @@ import { WebGL2RenderingContextBase } from './common';
|
|
|
11
12
|
import { Canvas } from '../../Canvas';
|
|
12
13
|
import { ImageBitmap } from '../../ImageBitmap';
|
|
13
14
|
import { Helpers } from '../../helpers';
|
|
14
|
-
let ctor;
|
|
15
15
|
export class WebGL2RenderingContext extends WebGL2RenderingContextBase {
|
|
16
16
|
constructor(context, contextOptions) {
|
|
17
17
|
super(null);
|
|
@@ -25,253 +25,169 @@ export class WebGL2RenderingContext extends WebGL2RenderingContextBase {
|
|
|
25
25
|
const ctx = BigInt(nativeContext);
|
|
26
26
|
let direction = 0;
|
|
27
27
|
if (global.isAndroid) {
|
|
28
|
-
|
|
29
|
-
direction = 1;
|
|
30
|
-
}
|
|
28
|
+
direction = org.nativescript.canvas.NSCCanvas.getDirection();
|
|
31
29
|
}
|
|
32
30
|
else {
|
|
33
31
|
//direction = 1;
|
|
34
32
|
}
|
|
35
|
-
const native =
|
|
33
|
+
const native = global.CanvasModule.createWebGL2Context(contextOptions, ctx, Screen.mainScreen.scale, -16777216, Screen.mainScreen.scale * 160, direction);
|
|
36
34
|
this._context = native;
|
|
37
35
|
}
|
|
38
36
|
/* Transform feedback */
|
|
39
37
|
beginQuery(target, query) {
|
|
40
|
-
this._glCheckError('beginQuery');
|
|
41
38
|
const value = query.native;
|
|
42
|
-
|
|
43
|
-
beginQuery(target, value);
|
|
39
|
+
this.native.beginQuery(target, value);
|
|
44
40
|
}
|
|
45
41
|
beginTransformFeedback(primitiveMode) {
|
|
46
|
-
this.
|
|
47
|
-
const beginTransformFeedback = this._getMethod('beginTransformFeedback');
|
|
48
|
-
beginTransformFeedback(primitiveMode);
|
|
42
|
+
this.native.beginTransformFeedback(primitiveMode);
|
|
49
43
|
}
|
|
50
44
|
bindBufferBase(target, index, buffer) {
|
|
51
|
-
this._glCheckError('bindBufferBase');
|
|
52
45
|
const value = buffer ? buffer.native : null;
|
|
53
|
-
|
|
54
|
-
bindBufferBase(target, index, value);
|
|
46
|
+
this.native.bindBufferBase(target, index, value);
|
|
55
47
|
}
|
|
56
48
|
bindBufferRange(target, index, buffer, offset, size) {
|
|
57
|
-
this._glCheckError('bindBufferRange');
|
|
58
49
|
const value = buffer ? buffer.native : null;
|
|
59
|
-
|
|
60
|
-
bindBufferRange(target, index, value, offset, size);
|
|
50
|
+
this.native.bindBufferRange(target, index, value, offset, size);
|
|
61
51
|
}
|
|
62
52
|
bindSampler(unit, sampler) {
|
|
63
|
-
this._glCheckError('bindSampler');
|
|
64
53
|
const value = sampler ? sampler.native : null;
|
|
65
|
-
|
|
66
|
-
bindSampler(unit, value);
|
|
54
|
+
this.native.bindSampler(unit, value);
|
|
67
55
|
}
|
|
68
56
|
bindTransformFeedback(target, transformFeedback) {
|
|
69
|
-
this._glCheckError('bindTransformFeedback');
|
|
70
57
|
const value = transformFeedback ? transformFeedback.native : null;
|
|
71
|
-
|
|
72
|
-
bindTransformFeedback(target, value);
|
|
58
|
+
this.native.bindTransformFeedback(target, value);
|
|
73
59
|
}
|
|
74
60
|
bindVertexArray(vertexArray) {
|
|
75
|
-
this._glCheckError('bindVertexArray');
|
|
76
61
|
const value = vertexArray ? vertexArray.native : null;
|
|
77
|
-
|
|
78
|
-
bindVertexArray(value);
|
|
62
|
+
this.native.bindVertexArray(value);
|
|
79
63
|
}
|
|
80
64
|
blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter) {
|
|
81
|
-
this.
|
|
82
|
-
const blitFramebuffer = this._getMethod('blitFramebuffer');
|
|
83
|
-
blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
|
65
|
+
this.native.blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
|
|
84
66
|
}
|
|
85
67
|
clearBufferfi(buffer, drawbuffer, depth, stencil) {
|
|
86
|
-
this._glCheckError('clearBufferfi');
|
|
87
68
|
const value = buffer.native;
|
|
88
|
-
|
|
89
|
-
clearBufferfi(value, drawbuffer, depth, stencil);
|
|
69
|
+
this.native.clearBufferfi(value, drawbuffer, depth, stencil);
|
|
90
70
|
}
|
|
91
71
|
clearBufferfv(buffer, drawbuffer, values) {
|
|
92
|
-
this._glCheckError('clearBufferfv');
|
|
93
|
-
const clearBufferfv = this._getMethod('clearBufferfv');
|
|
94
72
|
const value = buffer.native;
|
|
95
|
-
clearBufferfv(value, drawbuffer, values);
|
|
73
|
+
this.native.clearBufferfv(value, drawbuffer, values);
|
|
96
74
|
}
|
|
97
75
|
clearBufferiv(buffer, drawbuffer, values) {
|
|
98
|
-
this._glCheckError('clearBufferiv');
|
|
99
|
-
const clearBufferiv = this._getMethod('clearBufferiv');
|
|
100
76
|
const value = buffer ? buffer.native : 0;
|
|
101
|
-
clearBufferiv(value, drawbuffer, values);
|
|
77
|
+
this.native.clearBufferiv(value, drawbuffer, values);
|
|
102
78
|
}
|
|
103
79
|
clearBufferuiv(buffer, drawbuffer, values) {
|
|
104
|
-
this._glCheckError('clearBufferuiv');
|
|
105
|
-
const clearBufferuiv = this._getMethod('clearBufferuiv');
|
|
106
80
|
const value = buffer ? buffer.native : 0;
|
|
107
|
-
clearBufferuiv(value, drawbuffer, values);
|
|
81
|
+
this.native.clearBufferuiv(value, drawbuffer, values);
|
|
108
82
|
}
|
|
109
83
|
clientWaitSync(sync, flags, timeout) {
|
|
110
|
-
this._glCheckError('clientWaitSync');
|
|
111
|
-
const clientWaitSync = this._getMethod('clientWaitSync');
|
|
112
84
|
const value = sync.native;
|
|
113
|
-
return clientWaitSync(value, flags, timeout);
|
|
85
|
+
return this.native.clientWaitSync(value, flags, timeout);
|
|
114
86
|
}
|
|
115
87
|
compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, srcData, srcOffset = 0, srcLengthOverride = 0) {
|
|
116
|
-
this.
|
|
117
|
-
const compressedTexSubImage3D = this._getMethod('compressedTexSubImage3D');
|
|
118
|
-
compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, srcData, srcOffset);
|
|
88
|
+
this.native.compressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, srcData, srcOffset);
|
|
119
89
|
}
|
|
120
90
|
/* Transform feedback */
|
|
121
91
|
/* Framebuffers and renderbuffers */
|
|
122
92
|
copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size) {
|
|
123
|
-
this.
|
|
124
|
-
const copyBufferSubData = this._getMethod('copyBufferSubData');
|
|
125
|
-
copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
|
|
93
|
+
this.native.copyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
|
|
126
94
|
}
|
|
127
95
|
copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height) {
|
|
128
|
-
this.
|
|
129
|
-
const copyTexSubImage3D = this._getMethod('copyTexSubImage3D');
|
|
130
|
-
copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
|
|
96
|
+
this.native.copyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
|
|
131
97
|
}
|
|
132
98
|
createQuery() {
|
|
133
|
-
this.
|
|
134
|
-
const createQuery = this._getMethod('createQuery');
|
|
135
|
-
return new WebGLQuery(createQuery());
|
|
99
|
+
return new WebGLQuery(this.native.createQuery());
|
|
136
100
|
}
|
|
137
101
|
createSampler() {
|
|
138
|
-
this.
|
|
139
|
-
const createSampler = this._getMethod('createSampler');
|
|
140
|
-
return new WebGLSampler(createSampler());
|
|
102
|
+
return new WebGLSampler(this.native.createSampler());
|
|
141
103
|
}
|
|
142
104
|
createTransformFeedback() {
|
|
143
|
-
this.
|
|
144
|
-
const createTransformFeedback = this._getMethod('createTransformFeedback');
|
|
145
|
-
return new WebGLTransformFeedback(createTransformFeedback());
|
|
105
|
+
return new WebGLTransformFeedback(this.native.createTransformFeedback());
|
|
146
106
|
}
|
|
147
107
|
createVertexArray() {
|
|
148
|
-
this.
|
|
149
|
-
const createVertexArray = this._getMethod('createVertexArray');
|
|
150
|
-
return new WebGLVertexArrayObject(createVertexArray());
|
|
108
|
+
return new WebGLVertexArrayObject(this.native.createVertexArray());
|
|
151
109
|
}
|
|
152
110
|
deleteQuery(query) {
|
|
153
|
-
this._glCheckError('deleteQuery');
|
|
154
|
-
const deleteQuery = this._getMethod('deleteQuery');
|
|
155
111
|
const value = query.native;
|
|
156
|
-
deleteQuery(value);
|
|
112
|
+
this.native.deleteQuery(value);
|
|
157
113
|
}
|
|
158
114
|
deleteSampler(sampler) {
|
|
159
|
-
this._glCheckError('deleteSampler');
|
|
160
|
-
const deleteSampler = this._getMethod('deleteSampler');
|
|
161
115
|
const value = sampler.native;
|
|
162
|
-
deleteSampler(value);
|
|
116
|
+
this.native.deleteSampler(value);
|
|
163
117
|
}
|
|
164
118
|
deleteSync(sync) {
|
|
165
|
-
this._glCheckError('deleteSync');
|
|
166
|
-
const deleteSync = this._getMethod('deleteSync');
|
|
167
119
|
const value = sync.native;
|
|
168
|
-
deleteSync(value);
|
|
120
|
+
this.native.deleteSync(value);
|
|
169
121
|
}
|
|
170
122
|
deleteTransformFeedback(transformFeedback) {
|
|
171
|
-
this._glCheckError('deleteTransformFeedback');
|
|
172
|
-
const deleteTransformFeedback = this._getMethod('deleteTransformFeedback');
|
|
173
123
|
const value = transformFeedback.native;
|
|
174
|
-
deleteTransformFeedback(value);
|
|
124
|
+
this.native.deleteTransformFeedback(value);
|
|
175
125
|
}
|
|
176
126
|
deleteVertexArray(vertexArray) {
|
|
177
|
-
this._glCheckError('deleteVertexArray');
|
|
178
|
-
const deleteVertexArray = this._getMethod('deleteVertexArray');
|
|
179
127
|
const value = vertexArray.native;
|
|
180
|
-
deleteVertexArray(value);
|
|
128
|
+
this.native.deleteVertexArray(value);
|
|
181
129
|
}
|
|
182
130
|
drawArraysInstanced(mode, first, count, instanceCount) {
|
|
183
|
-
this.
|
|
184
|
-
const drawArraysInstanced = this._getMethod('drawArraysInstanced');
|
|
185
|
-
drawArraysInstanced(mode, first, count, instanceCount);
|
|
131
|
+
this.native.drawArraysInstanced(mode, first, count, instanceCount);
|
|
186
132
|
}
|
|
187
133
|
drawBuffers(buffers) {
|
|
188
|
-
this._glCheckError('drawBuffers');
|
|
189
134
|
this._checkArgs('drawBuffers', arguments);
|
|
190
|
-
|
|
191
|
-
drawBuffers(buffers);
|
|
135
|
+
this.native.drawBuffers(buffers);
|
|
192
136
|
}
|
|
193
137
|
drawElementsInstanced(mode, count, type, offset, instanceCount) {
|
|
194
|
-
this.
|
|
195
|
-
const drawElementsInstanced = this._getMethod('drawElementsInstanced');
|
|
196
|
-
drawElementsInstanced(mode, count, type, offset, instanceCount);
|
|
138
|
+
this.native.drawElementsInstanced(mode, count, type, offset, instanceCount);
|
|
197
139
|
}
|
|
198
140
|
drawRangeElements(mode, start, end, count, type, offset) {
|
|
199
|
-
this.
|
|
200
|
-
const drawRangeElements = this._getMethod('drawRangeElements');
|
|
201
|
-
drawRangeElements(mode, start, end, count, type, offset);
|
|
141
|
+
this.native.drawRangeElements(mode, start, end, count, type, offset);
|
|
202
142
|
}
|
|
203
143
|
endQuery(target) {
|
|
204
|
-
this.
|
|
205
|
-
const endQuery = this._getMethod('endQuery');
|
|
206
|
-
endQuery(target);
|
|
144
|
+
this.native.endQuery(target);
|
|
207
145
|
}
|
|
208
146
|
endTransformFeedback() {
|
|
209
|
-
this.
|
|
210
|
-
const endTransformFeedback = this._getMethod('endTransformFeedback');
|
|
211
|
-
endTransformFeedback();
|
|
147
|
+
this.native.endTransformFeedback();
|
|
212
148
|
}
|
|
213
149
|
fenceSync(condition, flags) {
|
|
214
|
-
this.
|
|
215
|
-
const fenceSync = this._getMethod('fenceSync');
|
|
216
|
-
fenceSync(condition, flags);
|
|
150
|
+
return new WebGLSync(this.native.fenceSync(condition, flags));
|
|
217
151
|
}
|
|
218
152
|
framebufferTextureLayer(target, attachment, texture, level, layer) {
|
|
219
|
-
this._glCheckError('framebufferTextureLayer');
|
|
220
|
-
const framebufferTextureLayer = this._getMethod('framebufferTextureLayer');
|
|
221
153
|
const value = texture.native;
|
|
222
|
-
framebufferTextureLayer(target, attachment, value, level, layer);
|
|
154
|
+
this.native.framebufferTextureLayer(target, attachment, value, level, layer);
|
|
223
155
|
}
|
|
224
156
|
/* Framebuffers and renderbuffers */
|
|
225
157
|
/* Uniforms */
|
|
226
158
|
getActiveUniformBlockName(program, uniformBlockIndex) {
|
|
227
|
-
this._glCheckError('getActiveUniformBlockName');
|
|
228
|
-
const getActiveUniformBlockName = this._getMethod('getActiveUniformBlockName');
|
|
229
159
|
const value = program.native;
|
|
230
|
-
return getActiveUniformBlockName(value, uniformBlockIndex);
|
|
160
|
+
return this.native.getActiveUniformBlockName(value, uniformBlockIndex);
|
|
231
161
|
}
|
|
232
162
|
getActiveUniformBlockParameter(program, uniformBlockIndex, pname) {
|
|
233
|
-
this._glCheckError('getActiveUniformBlockParameter');
|
|
234
|
-
const getActiveUniformBlockParameter = this._getMethod('getActiveUniformBlockParameter');
|
|
235
163
|
const value = program.native;
|
|
236
|
-
return getActiveUniformBlockParameter(value, uniformBlockIndex, pname);
|
|
164
|
+
return this.native.getActiveUniformBlockParameter(value, uniformBlockIndex, pname);
|
|
237
165
|
}
|
|
238
166
|
getActiveUniforms(program, uniformIndices, pname) {
|
|
239
|
-
this._glCheckError('getActiveUniforms');
|
|
240
|
-
const getActiveUniforms = this._getMethod('getActiveUniforms');
|
|
241
167
|
const value = program.native;
|
|
242
|
-
return getActiveUniforms(value, uniformIndices, pname);
|
|
168
|
+
return this.native.getActiveUniforms(value, uniformIndices, pname);
|
|
243
169
|
}
|
|
244
170
|
getBufferSubData(target, srcByteOffset, dstData, dstOffset = 0, length = 0) {
|
|
245
|
-
this.
|
|
246
|
-
const getBufferSubData = this._getMethod('getBufferSubData');
|
|
247
|
-
getBufferSubData(target, srcByteOffset, dstData, dstOffset, length);
|
|
171
|
+
this.native.getBufferSubData(target, srcByteOffset, dstData, dstOffset, length);
|
|
248
172
|
}
|
|
249
173
|
getFragDataLocation(program, name) {
|
|
250
|
-
this._glCheckError('getFragDataLocation');
|
|
251
|
-
const getFragDataLocation = this._getMethod('getFragDataLocation');
|
|
252
174
|
const value = program.native;
|
|
253
|
-
const result = getFragDataLocation(value, name);
|
|
175
|
+
const result = this.native.getFragDataLocation(value, name);
|
|
254
176
|
return result !== -1 ? result : null;
|
|
255
177
|
}
|
|
256
178
|
getIndexedParameter(target, index) {
|
|
257
|
-
this.
|
|
258
|
-
const getIndexedParameter = this._getMethod('getIndexedParameter');
|
|
259
|
-
const param = getIndexedParameter(target, index);
|
|
179
|
+
const param = this.native.getIndexedParameter(target, index);
|
|
260
180
|
if (target === this.TRANSFORM_FEEDBACK_BUFFER_BINDING || target === this.UNIFORM_BUFFER_BINDING) {
|
|
261
181
|
return new WebGLBuffer(param);
|
|
262
182
|
}
|
|
263
183
|
return param;
|
|
264
184
|
}
|
|
265
185
|
getInternalformatParameter(target, internalformat, pname) {
|
|
266
|
-
this.
|
|
267
|
-
const getInternalformatParameter = this._getMethod('getInternalformatParameter');
|
|
268
|
-
return getInternalformatParameter(target, internalformat, pname);
|
|
186
|
+
return this.native.getInternalformatParameter(target, internalformat, pname);
|
|
269
187
|
}
|
|
270
188
|
getQueryParameter(query, pname) {
|
|
271
|
-
this._glCheckError('getQueryParameter');
|
|
272
|
-
const getQueryParameter = this._getMethod('getQueryParameter');
|
|
273
189
|
const value = query.native;
|
|
274
|
-
const result = getQueryParameter(value, pname);
|
|
190
|
+
const result = this.native.getQueryParameter(value, pname);
|
|
275
191
|
if (result === 0) {
|
|
276
192
|
return null;
|
|
277
193
|
}
|
|
@@ -279,10 +195,8 @@ export class WebGL2RenderingContext extends WebGL2RenderingContextBase {
|
|
|
279
195
|
}
|
|
280
196
|
//@ts-ignore
|
|
281
197
|
getParameter(pname) {
|
|
282
|
-
this._glCheckError('getParameter');
|
|
283
198
|
this._checkArgs('getParameter', arguments);
|
|
284
|
-
const
|
|
285
|
-
const value = getParameter(pname);
|
|
199
|
+
const value = this.native.getParameter(pname);
|
|
286
200
|
switch (pname) {
|
|
287
201
|
case this.COPY_READ_BUFFER_BINDING:
|
|
288
202
|
case this.COPY_WRITE_BUFFER_BINDING:
|
|
@@ -300,338 +214,255 @@ export class WebGL2RenderingContext extends WebGL2RenderingContextBase {
|
|
|
300
214
|
}
|
|
301
215
|
}
|
|
302
216
|
getQuery(target, pname) {
|
|
303
|
-
this.
|
|
304
|
-
const getQuery = this._getMethod('getQuery');
|
|
305
|
-
const query = getQuery(target, pname);
|
|
217
|
+
const query = this.native.getQuery(target, pname);
|
|
306
218
|
if (query) {
|
|
307
219
|
return new WebGLQuery(query);
|
|
308
220
|
}
|
|
309
221
|
return null;
|
|
310
222
|
}
|
|
311
223
|
getSamplerParameter(sampler, pname) {
|
|
312
|
-
this._glCheckError('getSamplerParameter');
|
|
313
|
-
const getSamplerParameter = this._getMethod('getSamplerParameter');
|
|
314
224
|
const value = sampler.native;
|
|
315
|
-
return getSamplerParameter(value, pname);
|
|
225
|
+
return this.native.getSamplerParameter(value, pname);
|
|
316
226
|
}
|
|
317
227
|
getSyncParameter(sync, pname) {
|
|
318
|
-
this._glCheckError('getSyncParameter');
|
|
319
|
-
const getSyncParameter = this._getMethod('getSyncParameter');
|
|
320
228
|
const value = sync.native;
|
|
321
|
-
return getSyncParameter(value, pname);
|
|
229
|
+
return this.native.getSyncParameter(value, pname);
|
|
322
230
|
}
|
|
323
231
|
getTransformFeedbackVarying(program, index) {
|
|
324
|
-
this._glCheckError('getTransformFeedbackVarying');
|
|
325
232
|
const value = program.native;
|
|
326
|
-
const
|
|
327
|
-
const info = getTransformFeedbackVarying(value, index);
|
|
233
|
+
const info = this.native.getTransformFeedbackVarying(value, index);
|
|
328
234
|
if (info) {
|
|
329
235
|
return new WebGLActiveInfo(info);
|
|
330
236
|
}
|
|
331
237
|
return null;
|
|
332
238
|
}
|
|
333
239
|
getUniformBlockIndex(program, uniformBlockName) {
|
|
334
|
-
this._glCheckError('getUniformBlockIndex');
|
|
335
|
-
const getUniformBlockIndex = this._getMethod('getUniformBlockIndex');
|
|
336
240
|
const value = program.native;
|
|
337
|
-
return getUniformBlockIndex(value, uniformBlockName);
|
|
241
|
+
return this.native.getUniformBlockIndex(value, uniformBlockName);
|
|
338
242
|
}
|
|
339
243
|
getUniformIndices(program, uniformNames) {
|
|
340
|
-
this._glCheckError('getUniformIndices');
|
|
341
|
-
const getUniformIndices = this._getMethod('getUniformIndices');
|
|
342
244
|
const value = program.native;
|
|
343
|
-
return getUniformIndices(value, uniformNames);
|
|
245
|
+
return this.native.getUniformIndices(value, uniformNames);
|
|
344
246
|
}
|
|
345
247
|
invalidateFramebuffer(target, attachments) {
|
|
346
|
-
this.
|
|
347
|
-
const invalidateFramebuffer = this._getMethod('invalidateFramebuffer');
|
|
348
|
-
invalidateFramebuffer(target, attachments);
|
|
248
|
+
this.native.invalidateFramebuffer(target, attachments);
|
|
349
249
|
}
|
|
350
250
|
invalidateSubFramebuffer(target, attachments, x, y, width, height) {
|
|
351
|
-
this.
|
|
352
|
-
const invalidateSubFramebuffer = this._getMethod('invalidateSubFramebuffer');
|
|
353
|
-
invalidateSubFramebuffer(target, attachments, x, y, width, height);
|
|
251
|
+
this.native.invalidateSubFramebuffer(target, attachments, x, y, width, height);
|
|
354
252
|
}
|
|
355
253
|
isQuery(query) {
|
|
356
|
-
this._glCheckError('isQuery');
|
|
357
|
-
const isQuery = this._getMethod('isQuery');
|
|
358
254
|
const value = query.native;
|
|
359
|
-
return isQuery(value);
|
|
255
|
+
return this.native.isQuery(value);
|
|
360
256
|
}
|
|
361
257
|
isSampler(sampler) {
|
|
362
|
-
this._glCheckError('isSampler');
|
|
363
|
-
const isSampler = this._getMethod('isSampler');
|
|
364
258
|
const value = sampler.native;
|
|
365
|
-
return isSampler(value);
|
|
259
|
+
return this.native.isSampler(value);
|
|
366
260
|
}
|
|
367
261
|
isSync(sync) {
|
|
368
|
-
this._glCheckError('isSync');
|
|
369
|
-
const isSync = this._getMethod('isSync');
|
|
370
262
|
const value = sync.native;
|
|
371
|
-
return isSync(value);
|
|
263
|
+
return this.native.isSync(value);
|
|
372
264
|
}
|
|
373
265
|
isTransformFeedback(transformFeedback) {
|
|
374
|
-
this._glCheckError('isTransformFeedback');
|
|
375
|
-
const isTransformFeedback = this._getMethod('isTransformFeedback');
|
|
376
266
|
const value = transformFeedback.native;
|
|
377
|
-
return isTransformFeedback(value);
|
|
267
|
+
return this.native.isTransformFeedback(value);
|
|
378
268
|
}
|
|
379
269
|
isVertexArray(vertexArray) {
|
|
380
|
-
this._glCheckError('isVertexArray');
|
|
381
|
-
const isVertexArray = this._getMethod('isVertexArray');
|
|
382
270
|
const value = vertexArray.native;
|
|
383
|
-
return isVertexArray(value);
|
|
271
|
+
return this.native.isVertexArray(value);
|
|
384
272
|
}
|
|
385
273
|
pauseTransformFeedback() {
|
|
386
|
-
this.
|
|
387
|
-
const pauseTransformFeedback = this._getMethod('pauseTransformFeedback');
|
|
388
|
-
pauseTransformFeedback();
|
|
274
|
+
this.native.pauseTransformFeedback();
|
|
389
275
|
}
|
|
390
276
|
readBuffer(src) {
|
|
391
|
-
this.
|
|
392
|
-
const readBuffer = this._getMethod('readBuffer');
|
|
393
|
-
readBuffer(src);
|
|
277
|
+
this.native.readBuffer(src);
|
|
394
278
|
}
|
|
395
279
|
renderbufferStorageMultisample(target, samples, internalFormat, width, height) {
|
|
396
|
-
this.
|
|
397
|
-
const renderbufferStorageMultisample = this._getMethod('renderbufferStorageMultisample');
|
|
398
|
-
renderbufferStorageMultisample(target, samples, internalFormat, width, height);
|
|
280
|
+
this.native.renderbufferStorageMultisample(target, samples, internalFormat, width, height);
|
|
399
281
|
}
|
|
400
282
|
resumeTransformFeedback() {
|
|
401
|
-
this.
|
|
402
|
-
const resumeTransformFeedback = this._getMethod('resumeTransformFeedback');
|
|
403
|
-
resumeTransformFeedback();
|
|
283
|
+
this.native.resumeTransformFeedback();
|
|
404
284
|
}
|
|
405
285
|
samplerParameterf(sampler, pname, param) {
|
|
406
|
-
this._glCheckError('samplerParameterf');
|
|
407
|
-
const samplerParameterf = this._getMethod('samplerParameterf');
|
|
408
286
|
const value = sampler.native;
|
|
409
|
-
samplerParameterf(value, pname, param);
|
|
287
|
+
this.native.samplerParameterf(value, pname, param);
|
|
410
288
|
}
|
|
411
289
|
/* Uniforms */
|
|
412
290
|
/* Sync objects */
|
|
413
291
|
samplerParameteri(sampler, pname, param) {
|
|
414
|
-
this._glCheckError('samplerParameteri');
|
|
415
|
-
const samplerParameteri = this._getMethod('samplerParameteri');
|
|
416
292
|
const value = sampler.native;
|
|
417
|
-
samplerParameteri(value, pname, param);
|
|
293
|
+
this.native.samplerParameteri(value, pname, param);
|
|
418
294
|
}
|
|
419
295
|
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source) {
|
|
420
|
-
this._glCheckError('texImage3D');
|
|
421
|
-
const texImage3D = this._getMethod('texImage3D');
|
|
422
296
|
if (typeof source === 'number') {
|
|
423
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
297
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
424
298
|
}
|
|
425
299
|
else if (source && source.buffer) {
|
|
426
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
300
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
427
301
|
}
|
|
428
302
|
else if (source instanceof android.graphics.Bitmap) {
|
|
429
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
303
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source);
|
|
430
304
|
}
|
|
431
305
|
else if (source instanceof ImageSource) {
|
|
432
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.android);
|
|
306
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.android);
|
|
433
307
|
}
|
|
434
308
|
else if (source instanceof ImageAsset) {
|
|
435
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.native);
|
|
309
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.native);
|
|
310
|
+
}
|
|
311
|
+
else if (source instanceof Canvas) {
|
|
312
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.native);
|
|
436
313
|
}
|
|
437
314
|
else if (source instanceof ImageBitmap) {
|
|
438
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.native);
|
|
315
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source.native);
|
|
439
316
|
}
|
|
440
317
|
else if (source && typeof source.tagName === 'string' && (source.tagName === 'IMG' || source.tagName === 'IMAGE')) {
|
|
441
318
|
if (source._imageSource instanceof ImageSource) {
|
|
442
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._imageSource.android);
|
|
319
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._imageSource.android);
|
|
443
320
|
}
|
|
444
321
|
else if (source._image instanceof android.graphics.Bitmap) {
|
|
445
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._image);
|
|
322
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._image);
|
|
446
323
|
}
|
|
447
324
|
else if (source._asset instanceof ImageAsset) {
|
|
448
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._asset.native);
|
|
325
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._asset.native);
|
|
449
326
|
}
|
|
450
327
|
else if (typeof source.src === 'string') {
|
|
451
328
|
const result = ImageSource.fromFileSync(source.src);
|
|
452
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, result ? result.android : null);
|
|
329
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, result ? result.android : null);
|
|
453
330
|
}
|
|
454
331
|
}
|
|
455
332
|
else if (source && typeof source.tagName === 'string' && source.tagName === 'CANVAS' && source._canvas instanceof Canvas) {
|
|
456
|
-
texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._canvas.native);
|
|
333
|
+
this.native.texImage3D(target, level, internalformat, width, height, depth, border, format, type, source._canvas.native);
|
|
457
334
|
}
|
|
458
335
|
}
|
|
459
336
|
texStorage2D(target, levels, internalformat, width, height) {
|
|
460
|
-
this.
|
|
461
|
-
const texStorage2D = this._getMethod('texStorage2D');
|
|
462
|
-
texStorage2D(target, levels, internalformat, width, height);
|
|
337
|
+
this.native.texStorage2D(target, levels, internalformat, width, height);
|
|
463
338
|
}
|
|
464
339
|
texStorage3D(target, levels, internalformat, width, height, depth) {
|
|
465
|
-
this.
|
|
466
|
-
const texStorage3D = this._getMethod('texStorage3D');
|
|
467
|
-
texStorage3D(target, levels, internalformat, width, height, depth);
|
|
340
|
+
this.native.texStorage3D(target, levels, internalformat, width, height, depth);
|
|
468
341
|
}
|
|
469
342
|
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData, srcOffset = 0) {
|
|
470
|
-
this._glCheckError('texSubImage3D');
|
|
471
|
-
const texSubImage3D = this._getMethod('texSubImage3D');
|
|
472
343
|
if (typeof srcData === 'number') {
|
|
473
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData);
|
|
344
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData);
|
|
474
345
|
}
|
|
475
346
|
else if (srcData && srcData.buffer) {
|
|
476
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData, srcOffset);
|
|
347
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData, srcOffset);
|
|
477
348
|
}
|
|
478
349
|
else if (srcData instanceof android.graphics.Bitmap) {
|
|
479
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData);
|
|
350
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData);
|
|
480
351
|
}
|
|
481
352
|
else if (srcData instanceof ImageSource) {
|
|
482
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.android);
|
|
353
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.android);
|
|
483
354
|
}
|
|
484
355
|
else if (srcData instanceof ImageAsset) {
|
|
485
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.native);
|
|
356
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.native);
|
|
357
|
+
}
|
|
358
|
+
else if (srcData instanceof Canvas) {
|
|
359
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.native);
|
|
486
360
|
}
|
|
487
361
|
else if (srcData instanceof ImageBitmap) {
|
|
488
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.native);
|
|
362
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData.native);
|
|
489
363
|
}
|
|
490
364
|
else if (srcData && typeof srcData.tagName === 'string' && (srcData.tagName === 'IMG' || srcData.tagName === 'IMAGE')) {
|
|
491
365
|
if (srcData._imageSource instanceof ImageSource) {
|
|
492
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._imageSource.android);
|
|
366
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._imageSource.android);
|
|
493
367
|
}
|
|
494
368
|
else if (srcData._image instanceof android.graphics.Bitmap) {
|
|
495
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._image);
|
|
369
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._image);
|
|
496
370
|
}
|
|
497
371
|
else if (srcData._asset instanceof ImageAsset) {
|
|
498
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._asset.native);
|
|
372
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._asset.native);
|
|
499
373
|
}
|
|
500
374
|
else if (typeof srcData.src === 'string') {
|
|
501
375
|
const result = ImageSource.fromFileSync(srcData.src);
|
|
502
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, result ? result.android : null);
|
|
376
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, result ? result.android : null);
|
|
503
377
|
}
|
|
504
378
|
}
|
|
505
|
-
else if (srcData && typeof srcData.tagName === 'string' && srcData.tagName === 'CANVAS' && srcData._canvas instanceof
|
|
506
|
-
texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._canvas.native);
|
|
379
|
+
else if (srcData && typeof srcData.tagName === 'string' && srcData.tagName === 'CANVAS' && srcData._canvas instanceof Canvas) {
|
|
380
|
+
this.native.texSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, srcData._canvas.native);
|
|
507
381
|
}
|
|
508
382
|
}
|
|
509
383
|
transformFeedbackVaryings(program, varyings, bufferMode) {
|
|
510
|
-
this._glCheckError('transformFeedbackVaryings');
|
|
511
|
-
const transformFeedbackVaryings = this._getMethod('transformFeedbackVaryings');
|
|
512
384
|
const value = program.native;
|
|
513
|
-
transformFeedbackVaryings(value, varyings, bufferMode);
|
|
385
|
+
this.native.transformFeedbackVaryings(value, varyings, bufferMode);
|
|
514
386
|
}
|
|
515
387
|
uniform1ui(location, v0) {
|
|
516
|
-
this._glCheckError('uniform1ui');
|
|
517
388
|
const value = location.native;
|
|
518
|
-
|
|
519
|
-
uniform1ui(value, v0);
|
|
389
|
+
this.native.uniform1ui(value, v0);
|
|
520
390
|
}
|
|
521
391
|
uniform1uiv(location, data) {
|
|
522
|
-
this._glCheckError('uniform1uiv');
|
|
523
|
-
const uniform1uiv = this._getMethod('uniform1uiv');
|
|
524
392
|
const value = location.native;
|
|
525
|
-
uniform1uiv(value, data);
|
|
393
|
+
this.native.uniform1uiv(value, data);
|
|
526
394
|
}
|
|
527
395
|
uniform2ui(location, v0, v1) {
|
|
528
|
-
this._glCheckError('uniform2ui');
|
|
529
|
-
const uniform2ui = this._getMethod('uniform2ui');
|
|
530
396
|
const value = location.native;
|
|
531
|
-
uniform2ui(value, v0, v1);
|
|
397
|
+
this.native.uniform2ui(value, v0, v1);
|
|
532
398
|
}
|
|
533
399
|
uniform2uiv(location, data) {
|
|
534
|
-
this._glCheckError('uniform2uiv');
|
|
535
|
-
const uniform2uiv = this._getMethod('uniform2uiv');
|
|
536
400
|
const value = location.native;
|
|
537
|
-
uniform2uiv(value, data);
|
|
401
|
+
this.native.uniform2uiv(value, data);
|
|
538
402
|
}
|
|
539
403
|
/* Sync objects */
|
|
540
404
|
/* Miscellaneous constants */
|
|
541
405
|
uniform3ui(location, v0, v1, v2) {
|
|
542
|
-
this._glCheckError('uniform3ui');
|
|
543
|
-
const uniform3ui = this._getMethod('uniform3ui');
|
|
544
406
|
const value = location.native;
|
|
545
|
-
uniform3ui(value, v0, v1, v2);
|
|
407
|
+
this.native.uniform3ui(value, v0, v1, v2);
|
|
546
408
|
}
|
|
547
409
|
uniform3uiv(location, data) {
|
|
548
|
-
this._glCheckError('uniform3uiv');
|
|
549
|
-
const uniform3uiv = this._getMethod('uniform3uiv');
|
|
550
410
|
const value = location.native;
|
|
551
|
-
uniform3uiv(value, data);
|
|
411
|
+
this.native.uniform3uiv(value, data);
|
|
552
412
|
}
|
|
553
413
|
uniform4ui(location, v0, v1, v2, v3) {
|
|
554
|
-
this._glCheckError('uniform4ui');
|
|
555
|
-
const uniform4ui = this._getMethod('uniform4ui');
|
|
556
414
|
const value = location.native;
|
|
557
|
-
uniform4ui(value, v0, v1, v2, v3);
|
|
415
|
+
this.native.uniform4ui(value, v0, v1, v2, v3);
|
|
558
416
|
}
|
|
559
417
|
uniform4uiv(location, data) {
|
|
560
|
-
this._glCheckError('uniform4uiv');
|
|
561
|
-
const uniform4uiv = this._getMethod('uniform4uiv');
|
|
562
418
|
const value = location.native;
|
|
563
|
-
uniform4uiv(value, data);
|
|
419
|
+
this.native.uniform4uiv(value, data);
|
|
564
420
|
}
|
|
565
421
|
uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding) {
|
|
566
|
-
this._glCheckError('uniformBlockBinding');
|
|
567
|
-
const uniformBlockBindingFunc = this._getMethod('uniformBlockBinding');
|
|
568
422
|
const value = program.native;
|
|
569
|
-
|
|
423
|
+
this.native.uniformBlockBinding(value, uniformBlockIndex, uniformBlockBinding);
|
|
570
424
|
}
|
|
571
425
|
uniformMatrix2x3fv(location, transpose, data) {
|
|
572
|
-
this._glCheckError('uniformMatrix2x3fv');
|
|
573
|
-
const uniformMatrix2x3fv = this._getMethod('uniformMatrix2x3fv');
|
|
574
426
|
const value = location.native;
|
|
575
|
-
uniformMatrix2x3fv(value, transpose, data);
|
|
427
|
+
this.native.uniformMatrix2x3fv(value, transpose, data);
|
|
576
428
|
}
|
|
577
429
|
uniformMatrix2x4fv(location, transpose, data) {
|
|
578
|
-
this._glCheckError('uniformMatrix2x4fv');
|
|
579
|
-
const uniformMatrix2x4fv = this._getMethod('uniformMatrix2x4fv');
|
|
580
430
|
const value = location.native;
|
|
581
|
-
uniformMatrix2x4fv(value, transpose, data);
|
|
431
|
+
this.native.uniformMatrix2x4fv(value, transpose, data);
|
|
582
432
|
}
|
|
583
433
|
uniformMatrix3x2fv(location, transpose, data) {
|
|
584
|
-
this._glCheckError('uniformMatrix3x2fv');
|
|
585
|
-
const uniformMatrix3x2fv = this._getMethod('uniformMatrix3x2fv');
|
|
586
434
|
const value = location.native;
|
|
587
|
-
uniformMatrix3x2fv(value, transpose, data);
|
|
435
|
+
this.native.uniformMatrix3x2fv(value, transpose, data);
|
|
588
436
|
}
|
|
589
437
|
uniformMatrix3x4fv(location, transpose, data) {
|
|
590
|
-
this._glCheckError('uniformMatrix3x4fv');
|
|
591
|
-
const uniformMatrix3x4fv = this._getMethod('uniformMatrix3x4fv');
|
|
592
438
|
const value = location.native;
|
|
593
|
-
uniformMatrix3x4fv(value, transpose, data);
|
|
439
|
+
this.native.uniformMatrix3x4fv(value, transpose, data);
|
|
594
440
|
}
|
|
595
441
|
uniformMatrix4x2fv(location, transpose, data) {
|
|
596
|
-
this._glCheckError('uniformMatrix4x2fv');
|
|
597
|
-
const uniformMatrix4x2fv = this._getMethod('uniformMatrix4x2fv');
|
|
598
442
|
const value = location.native;
|
|
599
|
-
uniformMatrix4x2fv(value, transpose, data);
|
|
443
|
+
this.native.uniformMatrix4x2fv(value, transpose, data);
|
|
600
444
|
}
|
|
601
445
|
uniformMatrix4x3fv(location, transpose, data) {
|
|
602
|
-
this._glCheckError('uniformMatrix4x3fv');
|
|
603
|
-
const uniformMatrix4x3fv = this._getMethod('uniformMatrix4x3fv');
|
|
604
446
|
const value = location.native;
|
|
605
|
-
uniformMatrix4x3fv(value, transpose, data);
|
|
447
|
+
this.native.uniformMatrix4x3fv(value, transpose, data);
|
|
606
448
|
}
|
|
607
449
|
vertexAttribDivisor(index, divisor) {
|
|
608
|
-
this.
|
|
609
|
-
const vertexAttribDivisor = this._getMethod('vertexAttribDivisor');
|
|
610
|
-
vertexAttribDivisor(index, divisor);
|
|
450
|
+
this.native.vertexAttribDivisor(index, divisor);
|
|
611
451
|
}
|
|
612
452
|
vertexAttribI4i(index, v0, v1, v2, v3) {
|
|
613
|
-
this.
|
|
614
|
-
const vertexAttribI4i = this._getMethod('vertexAttribI4i');
|
|
615
|
-
vertexAttribI4i(index, v0, v1, v2, v3);
|
|
453
|
+
this.native.vertexAttribI4i(index, v0, v1, v2, v3);
|
|
616
454
|
}
|
|
617
455
|
vertexAttribI4iv(index, value) {
|
|
618
|
-
this.
|
|
619
|
-
const vertexAttribI4iv = this._getMethod('vertexAttribI4iv');
|
|
620
|
-
vertexAttribI4iv(index, value);
|
|
456
|
+
this.native.vertexAttribI4iv(index, value);
|
|
621
457
|
}
|
|
622
458
|
vertexAttribI4ui(index, v0, v1, v2, v3) {
|
|
623
|
-
this.
|
|
624
|
-
const vertexAttribI4ui = this._getMethod('vertexAttribI4ui');
|
|
625
|
-
vertexAttribI4ui(index, v0, v1, v2, v3);
|
|
459
|
+
this.native.vertexAttribI4ui(index, v0, v1, v2, v3);
|
|
626
460
|
}
|
|
627
461
|
vertexAttribI4uiv(index, value) {
|
|
628
|
-
this.
|
|
629
|
-
const vertexAttribI4uiv = this._getMethod('vertexAttribI4uiv');
|
|
630
|
-
vertexAttribI4uiv(index, value);
|
|
462
|
+
this.native.vertexAttribI4uiv(index, value);
|
|
631
463
|
}
|
|
632
464
|
}
|
|
633
465
|
(() => {
|
|
634
466
|
Helpers.initialize();
|
|
635
|
-
ctor = global.CanvasJSIModule.createWebGL2Context;
|
|
636
467
|
})();
|
|
637
468
|
//# sourceMappingURL=index.js.map
|