@nativescript/canvas 2.0.0-alpha.3 → 2.0.0-alpha.31
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 +212 -25
- package/Canvas/common.js +677 -460
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +9 -0
- package/Canvas/index.android.js +162 -53
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +12 -0
- package/Canvas/index.ios.d.ts +6 -0
- package/Canvas/index.ios.js +151 -66
- 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 +1 -3
- package/Canvas2D/CanvasRenderingContext2D/index.js +104 -214
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
- package/Canvas2D/DOMMatrix/index.js +3 -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 +34 -39
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/Dom/Paint.js +2 -3
- package/Dom/Paint.js.map +1 -1
- package/Dom/shapes/Circle.js +1 -2
- package/Dom/shapes/Circle.js.map +1 -1
- package/Dom/shapes/Points.js +1 -2
- package/Dom/shapes/Points.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 -34
- 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 +0 -2
- package/WebGL/WebGLRenderingContext/common.js +0 -10
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +15 -15
- package/WebGL/WebGLRenderingContext/index.js +183 -578
- package/WebGL/WebGLRenderingContext/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.d.ts +1 -1
- package/WebGL2/WebGL2RenderingContext/index.js +109 -281
- 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/Info.plist +5 -5
- 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 +137 -64
- 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 +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +2673 -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 +5734 -2393
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +42 -19
- 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 +42 -19
- 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 +274 -128
- 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 +142 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +2673 -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 +5734 -2393
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +42 -19
- 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 +42 -19
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +5734 -2393
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +42 -19
- 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 +42 -19
- 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 +4 -1
- 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 +1534 -0
- package/platforms/ios/src/cpp/CanvasJSIModule.h +8 -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 +304 -36
- package/platforms/ios/src/cpp/ImageAssetImpl.cpp +802 -0
- package/platforms/ios/src/cpp/ImageAssetImpl.h +44 -12
- package/platforms/ios/src/cpp/ImageBitmapImpl.cpp +189 -0
- package/platforms/ios/src/cpp/ImageBitmapImpl.h +34 -16
- package/platforms/ios/src/cpp/JSICallback.h +61 -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/OneByteStringResource.cpp +49 -0
- package/platforms/ios/src/cpp/OneByteStringResource.h +32 -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 +187 -0
- package/platforms/ios/src/cpp/TextDecoderImpl.h +20 -14
- package/platforms/ios/src/cpp/TextEncoderImpl.cpp +139 -0
- package/platforms/ios/src/cpp/TextEncoderImpl.h +20 -11
- package/platforms/ios/src/cpp/URLImpl.cpp +464 -0
- package/platforms/ios/src/cpp/URLImpl.h +119 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.cpp +71 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +27 -13
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.cpp +89 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +26 -13
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.cpp +2413 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +267 -16
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.cpp +203 -0
- package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +26 -12
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.cpp +806 -0
- package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +172 -13
- package/platforms/ios/src/cpp/canvas2d/Path2D.cpp +449 -0
- package/platforms/ios/src/cpp/canvas2d/Path2D.h +41 -12
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.cpp +253 -0
- package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +50 -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 +41 -6
- package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +46 -10
- package/platforms/ios/src/cpp/webgl/WebGLProgram.h +40 -5
- package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.cpp +6454 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +262 -390
- package/platforms/ios/src/cpp/webgl/{WebGLRenderingContextBase.mm → WebGLRenderingContextBase.cpp} +46 -24
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +17 -11
- package/platforms/ios/src/cpp/webgl/WebGLShader.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.cpp +50 -0
- package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +66 -11
- package/platforms/ios/src/cpp/webgl/WebGLTexture.h +40 -6
- package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +44 -8
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.cpp +126 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +25 -11
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.cpp +35 -0
- package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +25 -5
- 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 +25 -5
- 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 +51 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +44 -6
- package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +38 -15
- 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 +41 -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 +102 -0
- package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +69 -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 +35 -0
- package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +127 -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 -12
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.cpp +4375 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +139 -343
- package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +40 -4
- package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +42 -3
- package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +44 -11
- package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +42 -4
- package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +43 -4
- package/platforms/ios/src/module.modulemap +1 -0
- package/src-native/ios/Headers/include/APIDesign.md +72 -0
- package/src-native/ios/Headers/include/DEPS +10 -0
- package/src-native/ios/Headers/include/DIR_METADATA +11 -0
- package/src-native/ios/Headers/include/OWNERS +23 -0
- package/src-native/ios/Headers/include/cppgc/DEPS +8 -0
- package/src-native/ios/Headers/include/cppgc/OWNERS +2 -0
- package/src-native/ios/Headers/include/cppgc/README.md +133 -0
- package/src-native/ios/Headers/include/cppgc/allocation.h +310 -0
- package/src-native/ios/Headers/include/cppgc/common.h +29 -0
- package/src-native/ios/Headers/include/cppgc/cross-thread-persistent.h +465 -0
- package/src-native/ios/Headers/include/cppgc/custom-space.h +97 -0
- package/src-native/ios/Headers/include/cppgc/default-platform.h +67 -0
- package/src-native/ios/Headers/include/cppgc/ephemeron-pair.h +30 -0
- package/src-native/ios/Headers/include/cppgc/explicit-management.h +100 -0
- package/src-native/ios/Headers/include/cppgc/garbage-collected.h +106 -0
- package/src-native/ios/Headers/include/cppgc/heap-consistency.h +266 -0
- package/src-native/ios/Headers/include/cppgc/heap-state.h +82 -0
- package/src-native/ios/Headers/include/cppgc/heap-statistics.h +120 -0
- package/src-native/ios/Headers/include/cppgc/heap.h +206 -0
- package/src-native/ios/Headers/include/cppgc/internal/api-constants.h +55 -0
- package/src-native/ios/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
- package/src-native/ios/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
- package/src-native/ios/Headers/include/cppgc/internal/compiler-specific.h +38 -0
- package/src-native/ios/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
- package/src-native/ios/Headers/include/cppgc/internal/gc-info.h +156 -0
- package/src-native/ios/Headers/include/cppgc/internal/logging.h +50 -0
- package/src-native/ios/Headers/include/cppgc/internal/name-trait.h +122 -0
- package/src-native/ios/Headers/include/cppgc/internal/persistent-node.h +216 -0
- package/src-native/ios/Headers/include/cppgc/internal/pointer-policies.h +186 -0
- package/src-native/ios/Headers/include/cppgc/internal/write-barrier.h +435 -0
- package/src-native/ios/Headers/include/cppgc/liveness-broker.h +77 -0
- package/src-native/ios/Headers/include/cppgc/macros.h +26 -0
- package/src-native/ios/Headers/include/cppgc/member.h +291 -0
- package/src-native/ios/Headers/include/cppgc/name-provider.h +65 -0
- package/src-native/ios/Headers/include/cppgc/object-size-trait.h +58 -0
- package/src-native/ios/Headers/include/cppgc/persistent.h +370 -0
- package/src-native/ios/Headers/include/cppgc/platform.h +156 -0
- package/src-native/ios/Headers/include/cppgc/prefinalizer.h +75 -0
- package/src-native/ios/Headers/include/cppgc/process-heap-statistics.h +36 -0
- package/src-native/ios/Headers/include/cppgc/sentinel-pointer.h +32 -0
- package/src-native/ios/Headers/include/cppgc/source-location.h +92 -0
- package/src-native/ios/Headers/include/cppgc/testing.h +106 -0
- package/src-native/ios/Headers/include/cppgc/trace-trait.h +116 -0
- package/src-native/ios/Headers/include/cppgc/type-traits.h +240 -0
- package/src-native/ios/Headers/include/cppgc/visitor.h +379 -0
- package/src-native/ios/Headers/include/js_protocol-1.2.json +936 -0
- package/src-native/ios/Headers/include/js_protocol-1.3.json +1112 -0
- package/src-native/ios/Headers/include/js_protocol.pdl +1709 -0
- package/src-native/ios/Headers/include/libffi/arm64/ffi.h +524 -0
- package/src-native/ios/Headers/include/libffi/arm64/ffitarget.h +92 -0
- package/src-native/ios/Headers/include/libffi/x86_64/ffi.h +524 -0
- package/src-native/ios/Headers/include/libffi/x86_64/ffitarget.h +147 -0
- package/src-native/ios/Headers/include/libffi.h +12 -0
- package/src-native/ios/Headers/include/libplatform/DEPS +9 -0
- package/src-native/ios/Headers/include/libplatform/libplatform-export.h +29 -0
- package/src-native/ios/Headers/include/libplatform/libplatform.h +106 -0
- package/src-native/ios/Headers/include/libplatform/v8-tracing.h +333 -0
- package/src-native/ios/Headers/include/v8-array-buffer.h +433 -0
- package/src-native/ios/Headers/include/v8-callbacks.h +397 -0
- package/src-native/ios/Headers/include/v8-container.h +129 -0
- package/src-native/ios/Headers/include/v8-context.h +407 -0
- package/src-native/ios/Headers/include/v8-cppgc.h +215 -0
- package/src-native/ios/Headers/include/v8-data.h +80 -0
- package/src-native/ios/Headers/include/v8-date.h +43 -0
- package/src-native/ios/Headers/include/v8-debug.h +168 -0
- package/src-native/ios/Headers/include/v8-embedder-heap.h +218 -0
- package/src-native/ios/Headers/include/v8-embedder-state-scope.h +51 -0
- package/src-native/ios/Headers/include/v8-exception.h +217 -0
- package/src-native/ios/Headers/include/v8-extension.h +62 -0
- package/src-native/ios/Headers/include/v8-external.h +37 -0
- package/src-native/ios/Headers/include/v8-fast-api-calls.h +939 -0
- package/src-native/ios/Headers/include/v8-forward.h +81 -0
- package/src-native/ios/Headers/include/v8-function-callback.h +475 -0
- package/src-native/ios/Headers/include/v8-function.h +125 -0
- package/src-native/ios/Headers/include/v8-initialization.h +315 -0
- package/src-native/ios/Headers/include/v8-inspector-protocol.h +13 -0
- package/src-native/ios/Headers/include/v8-inspector.h +376 -0
- package/src-native/ios/Headers/include/v8-internal.h +661 -0
- package/src-native/ios/Headers/include/v8-isolate.h +1709 -0
- package/src-native/ios/Headers/include/v8-json.h +47 -0
- package/src-native/ios/Headers/include/v8-local-handle.h +455 -0
- package/src-native/ios/Headers/include/v8-locker.h +149 -0
- package/src-native/ios/Headers/include/v8-maybe.h +137 -0
- package/src-native/ios/Headers/include/v8-memory-span.h +43 -0
- package/src-native/ios/Headers/include/v8-message.h +216 -0
- package/src-native/ios/Headers/include/v8-metrics.h +255 -0
- package/src-native/ios/Headers/include/v8-microtask-queue.h +152 -0
- package/src-native/ios/Headers/include/v8-microtask.h +28 -0
- package/src-native/ios/Headers/include/v8-object.h +775 -0
- package/src-native/ios/Headers/include/v8-persistent-handle.h +590 -0
- package/src-native/ios/Headers/include/v8-platform.h +1092 -0
- package/src-native/ios/Headers/include/v8-primitive-object.h +118 -0
- package/src-native/ios/Headers/include/v8-primitive.h +866 -0
- package/src-native/ios/Headers/include/v8-profiler.h +1198 -0
- package/src-native/ios/Headers/include/v8-promise.h +174 -0
- package/src-native/ios/Headers/include/v8-proxy.h +50 -0
- package/src-native/ios/Headers/include/v8-regexp.h +105 -0
- package/src-native/ios/Headers/include/v8-script.h +748 -0
- package/src-native/ios/Headers/include/v8-snapshot.h +196 -0
- package/src-native/ios/Headers/include/v8-statistics.h +217 -0
- package/src-native/ios/Headers/include/v8-template.h +1079 -0
- package/src-native/ios/Headers/include/v8-traced-handle.h +420 -0
- package/src-native/ios/Headers/include/v8-typed-array.h +282 -0
- package/src-native/ios/Headers/include/v8-unwinder-state.h +31 -0
- package/src-native/ios/Headers/include/v8-unwinder.h +132 -0
- package/src-native/ios/Headers/include/v8-util.h +658 -0
- package/src-native/ios/Headers/include/v8-value-serializer-version.h +24 -0
- package/src-native/ios/Headers/include/v8-value-serializer.h +279 -0
- package/src-native/ios/Headers/include/v8-value.h +526 -0
- package/src-native/ios/Headers/include/v8-version-string.h +38 -0
- package/src-native/ios/Headers/include/v8-version.h +20 -0
- package/src-native/ios/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
- package/src-native/ios/Headers/include/v8-wasm-trap-handler-win.h +28 -0
- package/src-native/ios/Headers/include/v8-wasm.h +257 -0
- package/src-native/ios/Headers/include/v8-weak-callback-info.h +86 -0
- package/src-native/ios/Headers/include/v8.h +88 -0
- package/src-native/ios/Headers/include/v8config.h +605 -0
- package/src-native/ios/Headers/inspector/InspectorServer.h +20 -0
- package/src-native/ios/Headers/inspector/JsV8InspectorClient.h +66 -0
- package/src-native/ios/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
- package/src-native/ios/Headers/inspector/base64.h +9 -0
- package/src-native/ios/Headers/inspector/src/base/address-region.h +95 -0
- package/src-native/ios/Headers/inspector/src/base/atomic-utils.h +219 -0
- package/src-native/ios/Headers/inspector/src/base/atomicops.h +332 -0
- package/src-native/ios/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
- package/src-native/ios/Headers/inspector/src/base/base-export.h +31 -0
- package/src-native/ios/Headers/inspector/src/base/bits.h +343 -0
- package/src-native/ios/Headers/inspector/src/base/build_config.h +234 -0
- package/src-native/ios/Headers/inspector/src/base/compiler-specific.h +136 -0
- package/src-native/ios/Headers/inspector/src/base/export-template.h +163 -0
- package/src-native/ios/Headers/inspector/src/base/flags.h +130 -0
- package/src-native/ios/Headers/inspector/src/base/immediate-crash.h +162 -0
- package/src-native/ios/Headers/inspector/src/base/lazy-instance.h +258 -0
- package/src-native/ios/Headers/inspector/src/base/logging.h +417 -0
- package/src-native/ios/Headers/inspector/src/base/macros.h +423 -0
- package/src-native/ios/Headers/inspector/src/base/memory.h +89 -0
- package/src-native/ios/Headers/inspector/src/base/once.h +108 -0
- package/src-native/ios/Headers/inspector/src/base/optional.h +882 -0
- package/src-native/ios/Headers/inspector/src/base/platform/mutex.h +370 -0
- package/src-native/ios/Headers/inspector/src/base/platform/platform.h +476 -0
- package/src-native/ios/Headers/inspector/src/base/platform/semaphore.h +108 -0
- package/src-native/ios/Headers/inspector/src/base/platform/v8-time.h +513 -0
- package/src-native/ios/Headers/inspector/src/base/platform/wrappers.h +73 -0
- package/src-native/ios/Headers/inspector/src/base/safe_conversions.h +389 -0
- package/src-native/ios/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
- package/src-native/ios/Headers/inspector/src/base/template-utils.h +113 -0
- package/src-native/ios/Headers/inspector/src/base/v8-fallthrough.h +21 -0
- package/src-native/ios/Headers/inspector/src/common/checks.h +38 -0
- package/src-native/ios/Headers/inspector/src/common/globals.h +1842 -0
- package/src-native/ios/Headers/inspector/src/debug/debug-interface.h +667 -0
- package/src-native/ios/Headers/inspector/src/debug/interface-types.h +175 -0
- package/src-native/ios/Headers/inspector/src/init/v8.h +52 -0
- package/src-native/ios/Headers/inspector/src/inspector/custom-preview.h +24 -0
- package/src-native/ios/Headers/inspector/src/inspector/injected-script.h +251 -0
- package/src-native/ios/Headers/inspector/src/inspector/inspected-context.h +79 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Console.h +211 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Log.h +342 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
- package/src-native/ios/Headers/inspector/src/inspector/protocol/Security.h +793 -0
- package/src-native/ios/Headers/inspector/src/inspector/remote-object-id.h +54 -0
- package/src-native/ios/Headers/inspector/src/inspector/search-util.h +26 -0
- package/src-native/ios/Headers/inspector/src/inspector/string-16.h +180 -0
- package/src-native/ios/Headers/inspector/src/inspector/string-util.h +128 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-console-message.h +147 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-console.h +173 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-debugger.h +257 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-regex.h +38 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
- package/src-native/ios/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
- package/src-native/ios/Headers/inspector/src/inspector/value-mirror.h +87 -0
- package/src-native/ios/Headers/inspector/src/libplatform/default-platform.h +92 -0
- package/src-native/ios/Headers/inspector/src/logging/tracing-flags.h +50 -0
- package/src-native/ios/Headers/inspector/src/numbers/conversions.h +183 -0
- package/src-native/ios/Headers/inspector/src/tracing/trace-event.h +664 -0
- package/src-native/ios/Headers/inspector/src/utils/allocation.h +367 -0
- package/src-native/ios/Headers/inspector/src/utils/vector.h +324 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
- package/src-native/ios/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
- package/src-native/ios/Headers/inspector/utils.h +32 -0
- package/src-native/ios/Headers/inspector/v8-inspector-platform.h +44 -0
- package/src-native/ios/Headers/runtime/ArgConverter.h +61 -0
- package/src-native/ios/Headers/runtime/ArrayAdapter.h +13 -0
- package/src-native/ios/Headers/runtime/Caches.h +98 -0
- package/src-native/ios/Headers/runtime/ClassBuilder.h +61 -0
- package/src-native/ios/Headers/runtime/Common.h +9 -0
- package/src-native/ios/Headers/runtime/ConcurrentMap.h +55 -0
- package/src-native/ios/Headers/runtime/ConcurrentQueue.h +28 -0
- package/src-native/ios/Headers/runtime/Console.h +27 -0
- package/src-native/ios/Headers/runtime/Constants.h +15 -0
- package/src-native/ios/Headers/runtime/DataWrapper.h +671 -0
- package/src-native/ios/Headers/runtime/DictionaryAdapter.h +13 -0
- package/src-native/ios/Headers/runtime/ExtVector.h +21 -0
- package/src-native/ios/Headers/runtime/FFICall.h +105 -0
- package/src-native/ios/Headers/runtime/FastEnumerationAdapter.h +13 -0
- package/src-native/ios/Headers/runtime/FunctionReference.h +18 -0
- package/src-native/ios/Headers/runtime/Helpers.h +84 -0
- package/src-native/ios/Headers/runtime/InlineFunctions.h +16 -0
- package/src-native/ios/Headers/runtime/Interop.h +202 -0
- package/src-native/ios/Headers/runtime/KnownUnknownClassPair.h +35 -0
- package/src-native/ios/Headers/runtime/Metadata.h +981 -0
- package/src-native/ios/Headers/runtime/MetadataBuilder.h +72 -0
- package/src-native/ios/Headers/runtime/MetadataInlines.h +157 -0
- package/src-native/ios/Headers/runtime/ModuleInternal.h +59 -0
- package/src-native/ios/Headers/runtime/NSDataAdapter.h +13 -0
- package/src-native/ios/Headers/runtime/NativeScriptException.h +27 -0
- package/src-native/ios/Headers/runtime/ObjectManager.h +31 -0
- package/src-native/ios/Headers/runtime/OneByteStringResource.h +21 -0
- package/src-native/ios/Headers/runtime/Pointer.h +26 -0
- package/src-native/ios/Headers/runtime/PromiseProxy.h +15 -0
- package/src-native/ios/Headers/runtime/Reference.h +38 -0
- package/src-native/ios/Headers/runtime/Runtime.h +67 -0
- package/src-native/ios/Headers/runtime/RuntimeConfig.h +17 -0
- package/src-native/ios/Headers/runtime/SetTimeout.h +34 -0
- package/src-native/ios/Headers/runtime/SimpleAllocator.h +23 -0
- package/src-native/ios/Headers/runtime/StringHasher.h +315 -0
- package/src-native/ios/Headers/runtime/SymbolIterator.h +18 -0
- package/src-native/ios/Headers/runtime/SymbolLoader.h +27 -0
- package/src-native/ios/Headers/runtime/TNSDerivedClass.h +8 -0
- package/src-native/ios/Headers/runtime/TSHelpers.h +15 -0
- package/src-native/ios/Headers/runtime/Tasks.h +19 -0
- package/src-native/ios/Headers/runtime/UnmanagedType.h +21 -0
- package/src-native/ios/Headers/runtime/WeakRef.h +15 -0
- package/src-native/ios/Headers/runtime/Worker.h +26 -0
- package/src-native/ios/Headers/runtime/robin_hood.h +2184 -0
- package/src-native/ios/NativeScript.podspec +55 -0
- 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 -51
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.cc +0 -6119
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +0 -2854
- 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 -1954
- 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 -5879
- 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 -4554
- /package/platforms/ios/src/cpp/{OnRafCallback.mm → OnRafCallback.cpp} +0 -0
|
@@ -6,10 +6,7 @@
|
|
|
6
6
|
#pragma process_pending_includes
|
|
7
7
|
|
|
8
8
|
#include <vector>
|
|
9
|
-
#include "
|
|
10
|
-
#include "canvas-cxx/src/lib.rs.h"
|
|
11
|
-
#import "NativeScript/JSIRuntime.h"
|
|
12
|
-
#include "VecMutableBuffer.h"
|
|
9
|
+
#include "Common.h"
|
|
13
10
|
|
|
14
11
|
#include "WebGLRenderingContextBase.h"
|
|
15
12
|
|
|
@@ -20,7 +17,7 @@
|
|
|
20
17
|
#include "ImageBitmapImpl.h"
|
|
21
18
|
#include "RafImpl.h"
|
|
22
19
|
|
|
23
|
-
#include "
|
|
20
|
+
#include "CanvasRenderingContext2DImpl.h"
|
|
24
21
|
|
|
25
22
|
#include "WebGLBuffer.h"
|
|
26
23
|
#include "WebGLFramebuffer.h"
|
|
@@ -56,461 +53,336 @@
|
|
|
56
53
|
#include "extensions/WEBGL_lose_contextImpl.h"
|
|
57
54
|
#include "extensions/ANGLE_instanced_arraysImpl.h"
|
|
58
55
|
#include "extensions/WEBGL_draw_buffersImpl.h"
|
|
56
|
+
#include "extensions/OES_fbo_render_mipmap.h"
|
|
59
57
|
#include "gl.h"
|
|
60
58
|
|
|
61
|
-
|
|
62
|
-
using namespace org::nativescript::canvas;
|
|
63
|
-
|
|
64
|
-
class JSI_EXPORT WebGLRenderingContext : public WebGLRenderingContextBase {
|
|
59
|
+
class WebGLRenderingContext : public WebGLRenderingContextBase {
|
|
65
60
|
public:
|
|
66
61
|
|
|
67
|
-
WebGLRenderingContext(
|
|
62
|
+
WebGLRenderingContext(WebGLState* state);
|
|
68
63
|
|
|
69
|
-
WebGLRenderingContext(
|
|
64
|
+
WebGLRenderingContext(WebGLState* state, WebGLRenderingVersion version);
|
|
70
65
|
|
|
71
|
-
|
|
66
|
+
static v8::Local<v8::FunctionTemplate> GetCtor(v8::Isolate *isolate);
|
|
72
67
|
|
|
73
|
-
|
|
68
|
+
static v8::Local<v8::Object>
|
|
69
|
+
NewInstance(v8::Isolate *isolate, WebGLRenderingContext *renderingContext) {
|
|
70
|
+
auto context = isolate->GetCurrentContext();
|
|
71
|
+
v8::EscapableHandleScope scope(isolate);
|
|
72
|
+
auto object = WebGLRenderingContext::GetCtor(isolate)->GetFunction(
|
|
73
|
+
context).ToLocalChecked()->NewInstance(context).ToLocalChecked();
|
|
74
|
+
SetNativeType(isolate, object, NativeType::WebGLRenderingContextBase);
|
|
75
|
+
auto ext = v8::External::New(isolate, renderingContext);
|
|
76
|
+
object->SetInternalField(0, ext);
|
|
77
|
+
return scope.Escape(object);
|
|
78
|
+
}
|
|
74
79
|
|
|
75
|
-
|
|
76
|
-
rust::Box<WebGLResult> result);
|
|
80
|
+
static WebGLRenderingContext *GetPointer(const v8::Local<v8::Object> &object);
|
|
77
81
|
|
|
78
|
-
static inline jsi::Value GetProperty(const std::string &methodName) {
|
|
79
|
-
if (methodName == "DEPTH_BUFFER_BIT") { return {0x00000100}; }
|
|
80
82
|
|
|
81
|
-
|
|
83
|
+
static void SetConstants(v8::Isolate *isolate, const v8::Local<v8::ObjectTemplate> &tmpl);
|
|
82
84
|
|
|
83
|
-
|
|
85
|
+
static void
|
|
86
|
+
SetProps(v8::Isolate *isolate, const v8::Local<v8::ObjectTemplate> &tmpl);
|
|
84
87
|
|
|
85
|
-
|
|
88
|
+
static void SetMethods(v8::Isolate *isolate,
|
|
89
|
+
const v8::Local<v8::ObjectTemplate> &tmpl);
|
|
86
90
|
|
|
87
|
-
if (methodName == "LINES") { return {0x0001}; }
|
|
88
91
|
|
|
89
|
-
|
|
92
|
+
v8::Local<v8::Value> GetParameterInternal(v8::Isolate *isolate, uint32_t pnameValue,
|
|
93
|
+
WebGLResult* result);
|
|
90
94
|
|
|
91
|
-
|
|
95
|
+
static void GetDrawingBufferWidth(v8::Local<v8::String> name,
|
|
96
|
+
const v8::PropertyCallbackInfo<v8::Value> &info);
|
|
92
97
|
|
|
93
|
-
|
|
98
|
+
static void GetFlipY(v8::Local<v8::String> name,
|
|
99
|
+
const v8::PropertyCallbackInfo<v8::Value> &info);
|
|
94
100
|
|
|
95
|
-
|
|
101
|
+
static void GetDrawingBufferHeight(v8::Local<v8::String> name,
|
|
102
|
+
const v8::PropertyCallbackInfo<v8::Value> &info);
|
|
96
103
|
|
|
97
|
-
|
|
104
|
+
static void __Resized(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
98
105
|
|
|
99
|
-
|
|
106
|
+
static void __StartRaf(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
100
107
|
|
|
101
|
-
|
|
108
|
+
static void __StopRaf(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
102
109
|
|
|
103
|
-
|
|
110
|
+
static void ActiveTexture(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
104
111
|
|
|
105
|
-
|
|
112
|
+
static void AttachShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
106
113
|
|
|
107
|
-
|
|
114
|
+
static void BindAttribLocation(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
108
115
|
|
|
109
|
-
|
|
116
|
+
static void BindBuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
110
117
|
|
|
111
|
-
|
|
118
|
+
static void BindFramebuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
112
119
|
|
|
113
|
-
|
|
120
|
+
static void BindRenderbuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
114
121
|
|
|
115
|
-
|
|
122
|
+
static void BindTexture(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
116
123
|
|
|
117
|
-
|
|
124
|
+
static void BlendColor(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
118
125
|
|
|
119
|
-
|
|
126
|
+
static void BlendEquationSeparate(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
120
127
|
|
|
128
|
+
static void BlendEquation(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
121
129
|
|
|
122
|
-
|
|
123
|
-
if (methodName == "ONE_MINUS_CONSTANT_COLOR") { return {0x8002}; }
|
|
124
|
-
if (methodName == "CONSTANT_ALPHA") { return {0x8003}; }
|
|
125
|
-
if (methodName == "ONE_MINUS_CONSTANT_ALPHA") { return {0x8004}; }
|
|
130
|
+
static void BlendFuncSeparate(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
126
131
|
|
|
132
|
+
static void BlendFunc(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
127
133
|
|
|
128
|
-
|
|
134
|
+
static void BufferData(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
129
135
|
|
|
130
|
-
|
|
131
|
-
if (methodName == "FUNC_SUBTRACT") { return {0x800A}; }
|
|
132
|
-
if (methodName == "FUNC_REVERSE_SUBTRACT") { return {0x800B}; }
|
|
133
|
-
if (methodName == "BLEND_EQUATION") { return {0x8009}; }
|
|
134
|
-
if (methodName == "BLEND_EQUATION_RGB") { return {0x8009}; }
|
|
135
|
-
if (methodName == "BLEND_EQUATION_ALPHA") { return {0x883D}; }
|
|
136
|
+
static void BufferSubData(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
136
137
|
|
|
138
|
+
static void CheckFramebufferStatus(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
137
139
|
|
|
138
|
-
|
|
139
|
-
if (methodName == "BLEND_SRC_RGB") { return {0x80C9}; }
|
|
140
|
-
if (methodName == "BLEND_DST_ALPHA") { return {0x80CA}; }
|
|
140
|
+
static void ClearColor(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
141
141
|
|
|
142
|
+
static void ClearDepth(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
142
143
|
|
|
143
|
-
|
|
144
|
-
if (methodName == "BLEND_COLOR") { return {0x8005}; }
|
|
145
|
-
if (methodName == "ARRAY_BUFFER_BINDING") { return {0x8894}; }
|
|
144
|
+
static void ClearStencil(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
146
145
|
|
|
146
|
+
static void Clear(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
if (methodName == "LINE_WIDTH") { return {0x0B21}; }
|
|
150
|
-
if (methodName == "ALIASED_POINT_SIZE_RANGE") { return {0x846D}; }
|
|
148
|
+
static void ColorMask(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
151
149
|
|
|
152
|
-
|
|
153
|
-
if (methodName == "CULL_FACE_MODE") { return {0x0B45}; }
|
|
154
|
-
if (methodName == "FRONT_FACE") { return {0x0B46}; }
|
|
150
|
+
static void Commit(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
if (methodName == "DEPTH_WRITEMASK") { return {0x0B72}; }
|
|
158
|
-
if (methodName == "DEPTH_CLEAR_VALUE") { return {0x0B73}; }
|
|
152
|
+
static void CompileShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
159
153
|
|
|
160
|
-
|
|
161
|
-
if (methodName == "STENCIL_CLEAR_VALUE") { return {0x0B91}; }
|
|
162
|
-
if (methodName == "STENCIL_FUNC") { return {0x0B92}; }
|
|
154
|
+
static void CompressedTexImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
163
155
|
|
|
164
|
-
|
|
165
|
-
if (methodName == "STENCIL_PASS_DEPTH_FAIL") { return {0x0B95}; }
|
|
166
|
-
if (methodName == "STENCIL_PASS_DEPTH_PASS") { return {0x0B96}; }
|
|
156
|
+
static void CompressedTexSubImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
167
157
|
|
|
168
|
-
|
|
169
|
-
if (methodName == "STENCIL_VALUE_MASK") { return {0x0B93}; }
|
|
170
|
-
if (methodName == "STENCIL_WRITEMASK") { return {0x0B98}; }
|
|
158
|
+
static void CopyTexImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
171
159
|
|
|
172
|
-
|
|
173
|
-
if (methodName == "STENCIL_BACK_FAIL") { return {0x8801}; }
|
|
174
|
-
if (methodName == "STENCIL_BACK_PASS_DEPTH_FAIL") { return {0x8802}; }
|
|
160
|
+
static void CopyTexSubImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
175
161
|
|
|
176
|
-
|
|
177
|
-
if (methodName == "STENCIL_BACK_REF") { return {0x8CA3}; }
|
|
178
|
-
if (methodName == "STENCIL_BACK_VALUE_MASK") { return {0x8CA4}; }
|
|
179
|
-
if (methodName == "STENCIL_BACK_WRITEMASK") { return {0x8CA5}; }
|
|
162
|
+
static void CreateBuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
180
163
|
|
|
181
|
-
|
|
182
|
-
if (methodName == "SCISSOR_BOX") { return {0x0C10}; }
|
|
183
|
-
if (methodName == "COLOR_CLEAR_VALUE") { return {0x0C22}; }
|
|
184
|
-
if (methodName == "COLOR_WRITEMASK") { return {0x0C23}; }
|
|
164
|
+
static void CreateFramebuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
185
165
|
|
|
186
|
-
|
|
187
|
-
if (methodName == "PACK_ALIGNMENT") { return {0x0D05}; }
|
|
188
|
-
if (methodName == "MAX_TEXTURE_SIZE") { return {0x0D33}; }
|
|
166
|
+
static void CreateProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
189
167
|
|
|
168
|
+
static void CreateRenderbuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
190
169
|
|
|
191
|
-
|
|
192
|
-
if (methodName == "SUBPIXEL_BITS") { return {0x0D50}; }
|
|
170
|
+
static void CreateShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
193
171
|
|
|
194
|
-
|
|
195
|
-
if (methodName == "GREEN_BITS") { return {0x0D53}; }
|
|
196
|
-
if (methodName == "BLUE_BITS") { return {0x0D54}; }
|
|
197
|
-
if (methodName == "ALPHA_BITS") { return {0x0D55}; }
|
|
172
|
+
static void CreateTexture(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
198
173
|
|
|
199
|
-
|
|
200
|
-
if (methodName == "POLYGON_OFFSET_UNITS") { return {0x2A00}; }
|
|
201
|
-
if (methodName == "POLYGON_OFFSET_FACTOR") { return {0x8038}; }
|
|
174
|
+
static void CullFace(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
202
175
|
|
|
203
|
-
|
|
204
|
-
if (methodName == "SAMPLE_BUFFERS") { return {0x80A8}; }
|
|
205
|
-
if (methodName == "SAMPLES") { return {0x80A9}; }
|
|
206
|
-
if (methodName == "SAMPLE_COVERAGE_VALUE") { return {0x80AA}; }
|
|
176
|
+
static void DeleteBuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
207
177
|
|
|
208
|
-
|
|
209
|
-
if (methodName == "COMPRESSED_TEXTURE_FORMATS") { return {0x86A3}; }
|
|
210
|
-
if (methodName == "VENDOR") { return {0x1F00}; }
|
|
211
|
-
if (methodName == "RENDERER") { return {0x1F01}; }
|
|
178
|
+
static void DeleteFramebuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
212
179
|
|
|
213
|
-
|
|
214
|
-
if (methodName == "IMPLEMENTATION_COLOR_READ_TYPE") { return {0x8B9A}; }
|
|
215
|
-
if (methodName == "IMPLEMENTATION_COLOR_READ_FORMAT") { return {0x8B9B}; }
|
|
216
|
-
if (methodName == "BROWSER_DEFAULT_WEBGL") { return {0x9244}; }
|
|
180
|
+
static void DeleteProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
217
181
|
|
|
218
|
-
|
|
219
|
-
if (methodName == "STREAM_DRAW") { return {0x88E0}; }
|
|
220
|
-
if (methodName == "DYNAMIC_DRAW") { return {0x88E8}; }
|
|
221
|
-
if (methodName == "ARRAY_BUFFER") { return {0x8892}; }
|
|
182
|
+
static void DeleteRenderbuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
222
183
|
|
|
223
|
-
|
|
224
|
-
if (methodName == "BUFFER_SIZE") { return {0x8764}; }
|
|
225
|
-
if (methodName == "BUFFER_USAGE") { return {0x8765}; }
|
|
226
|
-
if (methodName == "CURRENT_VERTEX_ATTRIB") { return {0x8626}; }
|
|
184
|
+
static void DeleteShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
227
185
|
|
|
186
|
+
static void DeleteTexture(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
228
187
|
|
|
229
|
-
|
|
230
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_SIZE") { return {0x8623}; }
|
|
231
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_STRIDE") { return {0x8624}; }
|
|
232
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_TYPE") { return {0x8625}; }
|
|
233
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_NORMALIZED") { return {0x886A}; }
|
|
234
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_POINTER") { return {0x8645}; }
|
|
235
|
-
if (methodName == "VERTEX_ATTRIB_ARRAY_BUFFER_BINDING") { return {0x889F}; }
|
|
188
|
+
static void DepthFunc(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
236
189
|
|
|
237
|
-
|
|
238
|
-
if (methodName == "FRONT") { return {0x0404}; }
|
|
239
|
-
if (methodName == "BACK") { return {0x0405}; }
|
|
240
|
-
if (methodName == "FRONT_AND_BACK") { return {0x0408}; }
|
|
241
|
-
|
|
242
|
-
if (methodName == "BLEND") { return {0x0BE2}; }
|
|
243
|
-
if (methodName == "DEPTH_TEST") { return {0x0B71}; }
|
|
244
|
-
if (methodName == "DITHER") { return {0x0BD0}; }
|
|
245
|
-
if (methodName == "POLYGON_OFFSET_FILL") { return {0x8037}; }
|
|
246
|
-
|
|
247
|
-
if (methodName == "SAMPLE_ALPHA_TO_COVERAGE") { return {0x809E}; }
|
|
248
|
-
if (methodName == "SAMPLE_COVERAGE") { return {0x80A0}; }
|
|
249
|
-
if (methodName == "SCISSOR_TEST") { return {0x0C11}; }
|
|
250
|
-
if (methodName == "STENCIL_TEST") { return {0x0B90}; }
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
/* Errors */
|
|
254
|
-
|
|
255
|
-
if (methodName == "NO_ERROR") { return {0}; }
|
|
256
|
-
if (methodName == "INVALID_ENUM") { return {0x0500}; }
|
|
257
|
-
if (methodName == "INVALID_VALUE") { return {0x0501}; }
|
|
258
|
-
if (methodName == "INVALID_OPERATION") { return {0x0502}; }
|
|
259
|
-
|
|
260
|
-
if (methodName == "OUT_OF_MEMORY") { return {0x0505}; }
|
|
261
|
-
if (methodName == "CONTEXT_LOST_WEBGL") { return {0x9242}; }
|
|
262
|
-
if (methodName == "CW") { return {0x0900}; }
|
|
263
|
-
if (methodName == "CCW") { return {0x0901}; }
|
|
264
|
-
|
|
265
|
-
if (methodName == "DONT_CARE") { return {0x1100}; }
|
|
266
|
-
if (methodName == "FASTEST") { return {0x1101}; }
|
|
267
|
-
if (methodName == "NICEST") { return {0x1102}; }
|
|
268
|
-
if (methodName == "GENERATE_MIPMAP_HINT") { return {0x8192}; }
|
|
269
|
-
|
|
270
|
-
if (methodName == "BYTE") { return {0x1400}; }
|
|
271
|
-
if (methodName == "UNSIGNED_BYTE") { return {0x1401}; }
|
|
272
|
-
if (methodName == "SHORT") { return {0x1402}; }
|
|
273
|
-
if (methodName == "UNSIGNED_SHORT") { return {0x1403}; }
|
|
274
|
-
|
|
275
|
-
if (methodName == "INT") { return {0x1404}; }
|
|
276
|
-
if (methodName == "UNSIGNED_INT") { return {0x1405}; }
|
|
277
|
-
if (methodName == "FLOAT") { return {0x1406}; }
|
|
278
|
-
if (methodName == "DEPTH_COMPONENT") { return {0x1902}; }
|
|
279
|
-
|
|
280
|
-
if (methodName == "ALPHA") { return {0x1906}; }
|
|
281
|
-
if (methodName == "RGB") { return {0x1907}; }
|
|
282
|
-
|
|
283
|
-
/* Clearing buffers */
|
|
284
|
-
|
|
285
|
-
if (methodName == "RGBA") { return {0x1908}; }
|
|
286
|
-
if (methodName == "LUMINANCE") { return {0x1909}; }
|
|
287
|
-
if (methodName == "LUMINANCE_ALPHA") { return {0x190A}; }
|
|
288
|
-
|
|
289
|
-
/* Clearing buffers */
|
|
290
|
-
|
|
291
|
-
/* Rendering primitives */
|
|
292
|
-
|
|
293
|
-
if (methodName == "UNSIGNED_SHORT_4_4_4_4") { return {0x8033}; }
|
|
294
|
-
if (methodName == "UNSIGNED_SHORT_5_5_5_1") { return {0x8034}; }
|
|
295
|
-
if (methodName == "UNSIGNED_SHORT_5_6_5") { return {0x8363}; }
|
|
296
|
-
if (methodName == "FRAGMENT_SHADER") { return {0x8B30}; }
|
|
297
|
-
if (methodName == "VERTEX_SHADER") { return {0x8B31}; }
|
|
298
|
-
if (methodName == "COMPILE_STATUS") { return {0x8B81}; }
|
|
299
|
-
if (methodName == "DELETE_STATUS") { return {0x8B80}; }
|
|
300
|
-
|
|
301
|
-
/* Rendering primitives */
|
|
302
|
-
|
|
303
|
-
/* Blending modes */
|
|
304
|
-
|
|
305
|
-
if (methodName == "LINK_STATUS") { return {0x8B82}; }
|
|
306
|
-
if (methodName == "VALIDATE_STATUS") { return {0x8B83}; }
|
|
307
|
-
if (methodName == "ATTACHED_SHADERS") { return {0x8B85}; }
|
|
308
|
-
if (methodName == "ACTIVE_ATTRIBUTES") { return {0x8B89}; }
|
|
309
|
-
if (methodName == "ACTIVE_UNIFORMS") { return {0x8B86}; }
|
|
310
|
-
if (methodName == "MAX_VERTEX_ATTRIBS") { return {0x8869}; }
|
|
311
|
-
if (methodName == "MAX_VERTEX_UNIFORM_VECTORS") { return {0x8DFB}; }
|
|
312
|
-
if (methodName == "MAX_VARYING_VECTORS") { return {0x8DFC}; }
|
|
313
|
-
if (methodName == "MAX_COMBINED_TEXTURE_IMAGE_UNITS") { return {0x8B4D}; }
|
|
314
|
-
if (methodName == "MAX_VERTEX_TEXTURE_IMAGE_UNITS") { return {0x8B4C}; }
|
|
315
|
-
if (methodName == "MAX_TEXTURE_IMAGE_UNITS") { return {0x8872}; }
|
|
316
|
-
if (methodName == "MAX_FRAGMENT_UNIFORM_VECTORS") { return {0x8DFD}; }
|
|
317
|
-
if (methodName == "SHADER_TYPE") { return {0x8B4F}; }
|
|
318
|
-
if (methodName == "SHADING_LANGUAGE_VERSION") { return {0x8B8C}; }
|
|
319
|
-
if (methodName == "CURRENT_PROGRAM") { return {0x8B8D}; }
|
|
320
|
-
|
|
321
|
-
/* Blending modes */
|
|
322
|
-
|
|
323
|
-
if (methodName == "NEVER") { return {0x0200}; }
|
|
324
|
-
if (methodName == "LESS") { return {0x0201}; }
|
|
325
|
-
if (methodName == "EQUAL") { return {0x0202}; }
|
|
326
|
-
|
|
327
|
-
/* Blending equations */
|
|
328
|
-
|
|
329
|
-
/* Getting GL parameter information */
|
|
330
|
-
|
|
331
|
-
if (methodName == "LEQUAL") { return {0x0203}; }
|
|
332
|
-
if (methodName == "GREATER") { return {0x0204}; }
|
|
333
|
-
if (methodName == "NOTEQUAL") { return {0x0205}; }
|
|
334
|
-
if (methodName == "GEQUAL") { return {0x0206}; }
|
|
335
|
-
if (methodName == "ALWAYS") { return {0x0207}; }
|
|
336
|
-
if (methodName == "KEEP") { return {0x1E00}; }
|
|
337
|
-
if (methodName == "REPLACE") { return {0x1E01}; }
|
|
338
|
-
if (methodName == "INCR") { return {0x1E02}; }
|
|
339
|
-
if (methodName == "DECR") { return {0x1E03}; }
|
|
340
|
-
if (methodName == "INVERT") { return {0x150A}; }
|
|
341
|
-
if (methodName == "INCR_WRAP") { return {0x8507}; }
|
|
342
|
-
if (methodName == "DECR_WRAP") { return {0x8508}; }
|
|
343
|
-
if (methodName == "NEAREST") { return {0x2600}; }
|
|
344
|
-
if (methodName == "LINEAR") { return {0x2601}; }
|
|
345
|
-
if (methodName == "NEAREST_MIPMAP_NEAREST") { return {0x2700}; }
|
|
346
|
-
if (methodName == "LINEAR_MIPMAP_NEAREST") { return {0x2701}; }
|
|
347
|
-
if (methodName == "NEAREST_MIPMAP_LINEAR") { return {0x2702}; }
|
|
348
|
-
if (methodName == "LINEAR_MIPMAP_LINEAR") { return {0x2703}; }
|
|
349
|
-
if (methodName == "TEXTURE_MAG_FILTER") { return {0x2800}; }
|
|
350
|
-
if (methodName == "TEXTURE_MIN_FILTER") { return {0x2801}; }
|
|
351
|
-
if (methodName == "TEXTURE_WRAP_S") { return {0x2802}; }
|
|
352
|
-
if (methodName == "TEXTURE_WRAP_T") { return {0x2803}; }
|
|
353
|
-
if (methodName == "TEXTURE_2D") { return {0x0DE1}; }
|
|
354
|
-
if (methodName == "TEXTURE") { return {0x1702}; }
|
|
355
|
-
if (methodName == "TEXTURE_CUBE_MAP") { return {0x8513}; }
|
|
356
|
-
if (methodName == "TEXTURE_BINDING_CUBE_MAP") { return {0x8514}; }
|
|
357
|
-
if (methodName == "TEXTURE_CUBE_MAP_POSITIVE_X") { return {0x8515}; }
|
|
358
|
-
if (methodName == "TEXTURE_CUBE_MAP_NEGATIVE_X") { return {0x8516}; }
|
|
359
|
-
if (methodName == "TEXTURE_CUBE_MAP_POSITIVE_Y") { return {0x8517}; }
|
|
360
|
-
if (methodName == "TEXTURE_CUBE_MAP_NEGATIVE_Y") { return {0x8518}; }
|
|
361
|
-
if (methodName == "TEXTURE_CUBE_MAP_POSITIVE_Z") { return {0x8519}; }
|
|
362
|
-
if (methodName == "TEXTURE_CUBE_MAP_NEGATIVE_Z") { return {0x851A}; }
|
|
363
|
-
if (methodName == "MAX_CUBE_MAP_TEXTURE_SIZE") { return {0x851C}; }
|
|
364
|
-
if (methodName == "TEXTURE0") { return {0x84C0}; }
|
|
365
|
-
if (methodName == "TEXTURE1") { return {0x84C1}; }
|
|
366
|
-
if (methodName == "TEXTURE2") { return {0x84C2}; }
|
|
367
|
-
if (methodName == "TEXTURE3") { return {0x84C3}; }
|
|
368
|
-
if (methodName == "TEXTURE4") { return {0x84C4}; }
|
|
369
|
-
if (methodName == "TEXTURE5") { return {0x84C5}; }
|
|
370
|
-
if (methodName == "TEXTURE6") { return {0x84C6}; }
|
|
371
|
-
if (methodName == "TEXTURE7") { return {0x84C7}; }
|
|
372
|
-
if (methodName == "TEXTURE8") { return {0x84C8}; }
|
|
373
|
-
if (methodName == "TEXTURE9") { return {0x84C9}; }
|
|
374
|
-
if (methodName == "TEXTURE10") { return {0x84CA}; }
|
|
375
|
-
if (methodName == "TEXTURE11") { return {0x84CB}; }
|
|
376
|
-
if (methodName == "TEXTURE12") { return {0x84CC}; }
|
|
377
|
-
if (methodName == "TEXTURE13") { return {0x84CD}; }
|
|
378
|
-
if (methodName == "TEXTURE14") { return {0x84CE}; }
|
|
379
|
-
if (methodName == "TEXTURE15") { return {0x84CF}; }
|
|
380
|
-
if (methodName == "TEXTURE16") { return {0x84D0}; }
|
|
381
|
-
if (methodName == "TEXTURE17") { return {0x84D1}; }
|
|
382
|
-
if (methodName == "TEXTURE18") { return {0x84D2}; }
|
|
383
|
-
if (methodName == "TEXTURE19") { return {0x84D3}; }
|
|
384
|
-
if (methodName == "TEXTURE20") { return {0x84D4}; }
|
|
385
|
-
if (methodName == "TEXTURE21") { return {0x84D5}; }
|
|
386
|
-
if (methodName == "TEXTURE22") { return {0x84D6}; }
|
|
387
|
-
if (methodName == "TEXTURE23") { return {0x84D7}; }
|
|
388
|
-
if (methodName == "TEXTURE24") { return {0x84D8}; }
|
|
389
|
-
if (methodName == "TEXTURE25") { return {0x84D9}; }
|
|
390
|
-
if (methodName == "TEXTURE26") { return {0x84DA}; }
|
|
391
|
-
if (methodName == "TEXTURE27") { return {0x84DB}; }
|
|
392
|
-
if (methodName == "TEXTURE28") { return {0x84DC}; }
|
|
393
|
-
if (methodName == "TEXTURE29") { return {0x84DD}; }
|
|
394
|
-
|
|
395
|
-
/* Getting GL parameter information */
|
|
396
|
-
|
|
397
|
-
/* Buffers */
|
|
398
|
-
|
|
399
|
-
if (methodName == "TEXTURE30") { return {0x84DE}; }
|
|
400
|
-
if (methodName == "TEXTURE31") { return {0x84DF}; }
|
|
401
|
-
if (methodName == "ACTIVE_TEXTURE") { return {0x84E0}; }
|
|
402
|
-
if (methodName == "REPEAT") { return {0x2901}; }
|
|
403
|
-
if (methodName == "CLAMP_TO_EDGE") { return {0x812F}; }
|
|
404
|
-
if (methodName == "MIRRORED_REPEAT") { return {0x8370}; }
|
|
405
|
-
if (methodName == "FLOAT_VEC2") { return {0x8B50}; }
|
|
406
|
-
|
|
407
|
-
/* Buffers */
|
|
408
|
-
|
|
409
|
-
/* Vertex attributes */
|
|
410
|
-
|
|
411
|
-
if (methodName == "FLOAT_VEC3") { return {0x8B51}; }
|
|
412
|
-
if (methodName == "FLOAT_VEC4") { return {0x8B52}; }
|
|
413
|
-
if (methodName == "INT_VEC2") { return {0x8B53}; }
|
|
414
|
-
if (methodName == "INT_VEC3") { return {0x8B54}; }
|
|
415
|
-
if (methodName == "INT_VEC4") { return {0x8B55}; }
|
|
416
|
-
if (methodName == "BOOL") { return {0x8B56}; }
|
|
417
|
-
if (methodName == "BOOL_VEC2") { return {0x8B57}; }
|
|
418
|
-
if (methodName == "BOOL_VEC3") { return {0x8B58}; }
|
|
419
|
-
|
|
420
|
-
/* Vertex attributes */
|
|
421
|
-
|
|
422
|
-
/* Culling */
|
|
423
|
-
|
|
424
|
-
if (methodName == "BOOL_VEC4") { return {0x8B59}; }
|
|
425
|
-
if (methodName == "FLOAT_MAT2") { return {0x8B5A}; }
|
|
426
|
-
if (methodName == "FLOAT_MAT3") { return {0x8B5B}; }
|
|
427
|
-
if (methodName == "FLOAT_MAT4") { return {0x8B5C}; }
|
|
428
|
-
|
|
429
|
-
/* Culling */
|
|
430
|
-
|
|
431
|
-
/* Enabling and disabling */
|
|
432
|
-
|
|
433
|
-
if (methodName == "SAMPLER_2D") { return {0x8B5E}; }
|
|
434
|
-
if (methodName == "SAMPLER_CUBE") { return {0x8B60}; }
|
|
435
|
-
if (methodName == "LOW_FLOAT") { return {0x8DF0}; }
|
|
436
|
-
if (methodName == "MEDIUM_FLOAT") { return {0x8DF1}; }
|
|
437
|
-
if (methodName == "HIGH_FLOAT") { return {0x8DF2}; }
|
|
438
|
-
if (methodName == "LOW_INT") { return {0x8DF3}; }
|
|
439
|
-
if (methodName == "MEDIUM_INT") { return {0x8DF4}; }
|
|
440
|
-
if (methodName == "HIGH_INT") { return {0x8DF5}; }
|
|
441
|
-
|
|
442
|
-
/* Enabling and disabling */
|
|
443
|
-
|
|
444
|
-
if (methodName == "FRAMEBUFFER") { return {0x8D40}; }
|
|
445
|
-
if (methodName == "RENDERBUFFER") { return {0x8D41}; }
|
|
446
|
-
if (methodName == "RGBA4") { return {0x8056}; }
|
|
447
|
-
if (methodName == "RGB5_A1") { return {0x8057}; }
|
|
448
|
-
if (methodName == "RGB565") { return {0x8D62}; }
|
|
449
|
-
if (methodName == "DEPTH_COMPONENT16") { return {0x81A5}; }
|
|
450
|
-
if (methodName == "STENCIL_INDEX8") { return {0x8D48}; }
|
|
451
|
-
|
|
452
|
-
/* Errors */
|
|
453
|
-
|
|
454
|
-
/* Front face directions */
|
|
455
|
-
|
|
456
|
-
if (methodName == "DEPTH_STENCIL") { return {0x84F9}; }
|
|
457
|
-
if (methodName == "RENDERBUFFER_WIDTH") { return {0x8D42}; }
|
|
458
|
-
|
|
459
|
-
/* Front face directions */
|
|
460
|
-
|
|
461
|
-
/* Hints */
|
|
462
|
-
|
|
463
|
-
if (methodName == "RENDERBUFFER_HEIGHT") { return {0x8D43}; }
|
|
464
|
-
if (methodName == "RENDERBUFFER_INTERNAL_FORMAT") { return {0x8D44}; }
|
|
465
|
-
if (methodName == "RENDERBUFFER_RED_SIZE") { return {0x8D50}; }
|
|
466
|
-
if (methodName == "RENDERBUFFER_GREEN_SIZE") { return {0x8D51}; }
|
|
467
|
-
|
|
468
|
-
/* Hints */
|
|
469
|
-
|
|
470
|
-
/* Data types */
|
|
471
|
-
|
|
472
|
-
if (methodName == "RENDERBUFFER_BLUE_SIZE") { return {0x8D52}; }
|
|
473
|
-
if (methodName == "RENDERBUFFER_ALPHA_SIZE") { return {0x8D53}; }
|
|
474
|
-
if (methodName == "RENDERBUFFER_DEPTH_SIZE") { return {0x8D54}; }
|
|
475
|
-
if (methodName == "RENDERBUFFER_STENCIL_SIZE") { return {0x8D55}; }
|
|
476
|
-
if (methodName == "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE") { return {0x8CD0}; }
|
|
477
|
-
if (methodName == "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME") { return {0x8CD1}; }
|
|
478
|
-
if (methodName == "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL") { return {0x8CD2}; }
|
|
190
|
+
static void DepthMask(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
479
191
|
|
|
480
|
-
|
|
192
|
+
static void DepthRange(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
481
193
|
|
|
482
|
-
|
|
194
|
+
static void DetachShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
483
195
|
|
|
484
|
-
|
|
485
|
-
if (methodName == "COLOR_ATTACHMENT0") { return {0x8CE0}; }
|
|
486
|
-
if (methodName == "DEPTH_ATTACHMENT") { return {0x8D00}; }
|
|
487
|
-
if (methodName == "STENCIL_ATTACHMENT") { return {0x8D20}; }
|
|
488
|
-
if (methodName == "DEPTH_STENCIL_ATTACHMENT") { return {0x821A}; }
|
|
489
|
-
if (methodName == "NONE") { return {}; }
|
|
196
|
+
static void DisableVertexAttribArray(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
490
197
|
|
|
491
|
-
|
|
198
|
+
static void Disable(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
492
199
|
|
|
493
|
-
|
|
200
|
+
static void DrawArrays(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
494
201
|
|
|
495
|
-
|
|
496
|
-
if (methodName == "FRAMEBUFFER_INCOMPLETE_ATTACHMENT") { return {0x8CD6}; }
|
|
497
|
-
if (methodName == "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT") { return {0x8CD7}; }
|
|
202
|
+
static void DrawElements(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
498
203
|
|
|
499
|
-
|
|
204
|
+
static void EnableVertexAttribArray(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
500
205
|
|
|
501
|
-
|
|
206
|
+
static void Enable(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
502
207
|
|
|
503
|
-
|
|
504
|
-
if (methodName == "FRAMEBUFFER_UNSUPPORTED") { return {0x8CDD}; }
|
|
505
|
-
if (methodName == "FRAMEBUFFER_BINDING") { return {0x8CA6}; }
|
|
506
|
-
if (methodName == "RENDERBUFFER_BINDING") { return {0x8CA7}; }
|
|
507
|
-
if (methodName == "MAX_RENDERBUFFER_SIZE") { return {0x84E8}; }
|
|
508
|
-
if (methodName == "INVALID_FRAMEBUFFER_OPERATION") { return {0x0506}; }
|
|
509
|
-
if (methodName == "UNPACK_FLIP_Y_WEBGL") { return {0x9240}; }
|
|
510
|
-
if (methodName == "UNPACK_PREMULTIPLY_ALPHA_WEBGL") { return {0x9241}; }
|
|
511
|
-
if (methodName == "UNPACK_COLORSPACE_CONVERSION_WEBGL") { return {0x9243}; }
|
|
208
|
+
static void Finish(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
512
209
|
|
|
513
|
-
|
|
514
|
-
|
|
210
|
+
static void Flush(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
211
|
+
|
|
212
|
+
static void FramebufferRenderbuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
213
|
+
|
|
214
|
+
static void FramebufferTexture2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
215
|
+
|
|
216
|
+
static void FrontFace(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
217
|
+
|
|
218
|
+
static void GenerateMipmap(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
219
|
+
|
|
220
|
+
static void GetActiveAttrib(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
221
|
+
|
|
222
|
+
static void GetActiveUniform(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
223
|
+
|
|
224
|
+
static void GetAttachedShaders(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
225
|
+
|
|
226
|
+
static void GetAttribLocation(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
227
|
+
|
|
228
|
+
static void GetBufferParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
229
|
+
|
|
230
|
+
static void GetContextAttributes(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
231
|
+
|
|
232
|
+
static void GetError(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
233
|
+
|
|
234
|
+
static void GetExtension(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
235
|
+
|
|
236
|
+
static void GetFramebufferAttachmentParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
237
|
+
|
|
238
|
+
static void GetParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
239
|
+
|
|
240
|
+
static void GetProgramInfoLog(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
241
|
+
|
|
242
|
+
static void GetProgramParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
243
|
+
|
|
244
|
+
static void GetRenderbufferParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
245
|
+
|
|
246
|
+
static void GetShaderInfoLog(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
247
|
+
|
|
248
|
+
static void GetShaderParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
249
|
+
|
|
250
|
+
static void GetShaderPrecisionFormat(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
251
|
+
|
|
252
|
+
static void GetShaderSource(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
253
|
+
|
|
254
|
+
static void GetSupportedExtensions(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
255
|
+
|
|
256
|
+
static void GetTexParameter(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
257
|
+
|
|
258
|
+
static void GetUniformLocation(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
259
|
+
|
|
260
|
+
static void GetUniform(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
261
|
+
|
|
262
|
+
static void GetVertexAttribOffset(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
263
|
+
|
|
264
|
+
static void GetVertexAttrib(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
265
|
+
|
|
266
|
+
static void Hint(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
267
|
+
|
|
268
|
+
static void IsBuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
269
|
+
|
|
270
|
+
static void IsContextLost(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
271
|
+
|
|
272
|
+
static void IsEnabled(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
273
|
+
|
|
274
|
+
static void IsFramebuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
275
|
+
|
|
276
|
+
static void IsProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
277
|
+
|
|
278
|
+
static void IsRenderbuffer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
279
|
+
|
|
280
|
+
static void IsShader(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
281
|
+
|
|
282
|
+
static void IsTexture(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
283
|
+
|
|
284
|
+
static void LineWidth(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
285
|
+
|
|
286
|
+
static void LinkProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
287
|
+
|
|
288
|
+
static void PixelStorei(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
289
|
+
|
|
290
|
+
static void PolygonOffset(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
291
|
+
|
|
292
|
+
static void ReadPixels(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
293
|
+
|
|
294
|
+
static void RenderbufferStorage(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
295
|
+
|
|
296
|
+
static void SampleCoverage(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
297
|
+
|
|
298
|
+
static void Scissor(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
299
|
+
|
|
300
|
+
static void ShaderSource(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
301
|
+
|
|
302
|
+
static void StencilFuncSeparate(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
303
|
+
|
|
304
|
+
static void StencilFunc(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
305
|
+
|
|
306
|
+
static void StencilMaskSeparate(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
307
|
+
|
|
308
|
+
static void StencilMask(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
309
|
+
|
|
310
|
+
static void StencilOpSeparate(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
311
|
+
|
|
312
|
+
static void StencilOp(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
313
|
+
|
|
314
|
+
static void TexImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
315
|
+
|
|
316
|
+
static void TexParameterf(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
317
|
+
|
|
318
|
+
static void TexParameteri(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
319
|
+
|
|
320
|
+
static void TexSubImage2D(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
321
|
+
|
|
322
|
+
static void Uniform1f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
323
|
+
|
|
324
|
+
static void Uniform1iv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
325
|
+
|
|
326
|
+
static void Uniform1fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
327
|
+
|
|
328
|
+
static void Uniform1i(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
329
|
+
|
|
330
|
+
static void Uniform2f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
331
|
+
|
|
332
|
+
static void Uniform2iv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
333
|
+
|
|
334
|
+
static void Uniform2fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
335
|
+
|
|
336
|
+
static void Uniform2i(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
337
|
+
|
|
338
|
+
static void Uniform3f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
339
|
+
|
|
340
|
+
static void Uniform3iv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
341
|
+
|
|
342
|
+
static void Uniform3fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
343
|
+
|
|
344
|
+
static void Uniform3i(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
345
|
+
|
|
346
|
+
static void Uniform4f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
347
|
+
|
|
348
|
+
static void Uniform4iv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
349
|
+
|
|
350
|
+
static void Uniform4fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
351
|
+
|
|
352
|
+
static void Uniform4i(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
353
|
+
|
|
354
|
+
static void UniformMatrix2fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
355
|
+
|
|
356
|
+
static void UniformMatrix3fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
357
|
+
|
|
358
|
+
static void UniformMatrix4fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
359
|
+
|
|
360
|
+
static void UseProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
361
|
+
|
|
362
|
+
static void ValidateProgram(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
363
|
+
|
|
364
|
+
static void VertexAttrib1f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
365
|
+
|
|
366
|
+
static void VertexAttrib1fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
367
|
+
|
|
368
|
+
static void VertexAttrib2f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
369
|
+
|
|
370
|
+
static void VertexAttrib2fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
371
|
+
|
|
372
|
+
static void VertexAttrib3f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
373
|
+
|
|
374
|
+
static void VertexAttrib3fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
375
|
+
|
|
376
|
+
static void VertexAttrib4f(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
377
|
+
|
|
378
|
+
static void VertexAttrib4fv(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
379
|
+
|
|
380
|
+
static void VertexAttribPointer(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
381
|
+
|
|
382
|
+
static void Viewport(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
383
|
+
|
|
384
|
+
static void __ToDataURL(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
385
|
+
|
|
386
|
+
static void __GetSupportedExtensions(const v8::FunctionCallbackInfo<v8::Value> &args);
|
|
515
387
|
|
|
516
388
|
};
|