@nativescript/canvas 2.0.0-alpha.5 → 2.0.0-alpha.50
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 +702 -452
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +12 -1
- package/Canvas/index.android.js +162 -49
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +13 -0
- package/Canvas/index.ios.d.ts +9 -4
- package/Canvas/index.ios.js +166 -103
- 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 +7 -3
- package/Canvas2D/CanvasRenderingContext2D/index.js +132 -233
- 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 +32 -42
- 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 -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/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 +135 -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 +2774 -70
- 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 +5851 -2555
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +44 -24
- 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 +44 -24
- 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 +270 -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 +2774 -70
- 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 +5851 -2555
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +44 -24
- 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 +44 -24
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +5851 -2555
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +44 -24
- 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 +44 -24
- 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 +31 -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 +2841 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1331 -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 +126 -0
- package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +26 -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 +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 +131 -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 +4533 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1427 -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 -6132
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +0 -2859
- 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 -1975
- 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 -4556
- 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,2859 +0,0 @@
|
|
|
1
|
-
#pragma once
|
|
2
|
-
#include "OnRafCallback.h"
|
|
3
|
-
#include <algorithm>
|
|
4
|
-
#include <array>
|
|
5
|
-
#include <cassert>
|
|
6
|
-
#include <cstddef>
|
|
7
|
-
#include <cstdint>
|
|
8
|
-
#include <initializer_list>
|
|
9
|
-
#include <iterator>
|
|
10
|
-
#include <new>
|
|
11
|
-
#include <stdexcept>
|
|
12
|
-
#include <string>
|
|
13
|
-
#include <type_traits>
|
|
14
|
-
#include <utility>
|
|
15
|
-
#if defined(_WIN32)
|
|
16
|
-
#include <basetsd.h>
|
|
17
|
-
#else
|
|
18
|
-
#include <sys/types.h>
|
|
19
|
-
#endif
|
|
20
|
-
|
|
21
|
-
namespace rust {
|
|
22
|
-
inline namespace cxxbridge1 {
|
|
23
|
-
// #include "rust/cxx.h"
|
|
24
|
-
|
|
25
|
-
#ifndef CXXBRIDGE1_PANIC
|
|
26
|
-
#define CXXBRIDGE1_PANIC
|
|
27
|
-
template <typename Exception>
|
|
28
|
-
void panic [[noreturn]] (const char *msg);
|
|
29
|
-
#endif // CXXBRIDGE1_PANIC
|
|
30
|
-
|
|
31
|
-
struct unsafe_bitcopy_t;
|
|
32
|
-
|
|
33
|
-
namespace {
|
|
34
|
-
template <typename T>
|
|
35
|
-
class impl;
|
|
36
|
-
} // namespace
|
|
37
|
-
|
|
38
|
-
template <typename T>
|
|
39
|
-
::std::size_t size_of();
|
|
40
|
-
template <typename T>
|
|
41
|
-
::std::size_t align_of();
|
|
42
|
-
|
|
43
|
-
#ifndef CXXBRIDGE1_RUST_STRING
|
|
44
|
-
#define CXXBRIDGE1_RUST_STRING
|
|
45
|
-
class String final {
|
|
46
|
-
public:
|
|
47
|
-
String() noexcept;
|
|
48
|
-
String(const String &) noexcept;
|
|
49
|
-
String(String &&) noexcept;
|
|
50
|
-
~String() noexcept;
|
|
51
|
-
|
|
52
|
-
String(const std::string &);
|
|
53
|
-
String(const char *);
|
|
54
|
-
String(const char *, std::size_t);
|
|
55
|
-
String(const char16_t *);
|
|
56
|
-
String(const char16_t *, std::size_t);
|
|
57
|
-
|
|
58
|
-
static String lossy(const std::string &) noexcept;
|
|
59
|
-
static String lossy(const char *) noexcept;
|
|
60
|
-
static String lossy(const char *, std::size_t) noexcept;
|
|
61
|
-
static String lossy(const char16_t *) noexcept;
|
|
62
|
-
static String lossy(const char16_t *, std::size_t) noexcept;
|
|
63
|
-
|
|
64
|
-
String &operator=(const String &) &noexcept;
|
|
65
|
-
String &operator=(String &&) &noexcept;
|
|
66
|
-
|
|
67
|
-
explicit operator std::string() const;
|
|
68
|
-
|
|
69
|
-
const char *data() const noexcept;
|
|
70
|
-
std::size_t size() const noexcept;
|
|
71
|
-
std::size_t length() const noexcept;
|
|
72
|
-
bool empty() const noexcept;
|
|
73
|
-
|
|
74
|
-
const char *c_str() noexcept;
|
|
75
|
-
|
|
76
|
-
std::size_t capacity() const noexcept;
|
|
77
|
-
void reserve(size_t new_cap) noexcept;
|
|
78
|
-
|
|
79
|
-
using iterator = char *;
|
|
80
|
-
iterator begin() noexcept;
|
|
81
|
-
iterator end() noexcept;
|
|
82
|
-
|
|
83
|
-
using const_iterator = const char *;
|
|
84
|
-
const_iterator begin() const noexcept;
|
|
85
|
-
const_iterator end() const noexcept;
|
|
86
|
-
const_iterator cbegin() const noexcept;
|
|
87
|
-
const_iterator cend() const noexcept;
|
|
88
|
-
|
|
89
|
-
bool operator==(const String &) const noexcept;
|
|
90
|
-
bool operator!=(const String &) const noexcept;
|
|
91
|
-
bool operator<(const String &) const noexcept;
|
|
92
|
-
bool operator<=(const String &) const noexcept;
|
|
93
|
-
bool operator>(const String &) const noexcept;
|
|
94
|
-
bool operator>=(const String &) const noexcept;
|
|
95
|
-
|
|
96
|
-
void swap(String &) noexcept;
|
|
97
|
-
|
|
98
|
-
String(unsafe_bitcopy_t, const String &) noexcept;
|
|
99
|
-
|
|
100
|
-
private:
|
|
101
|
-
struct lossy_t;
|
|
102
|
-
String(lossy_t, const char *, std::size_t) noexcept;
|
|
103
|
-
String(lossy_t, const char16_t *, std::size_t) noexcept;
|
|
104
|
-
friend void swap(String &lhs, String &rhs) noexcept { lhs.swap(rhs); }
|
|
105
|
-
|
|
106
|
-
std::array<std::uintptr_t, 3> repr;
|
|
107
|
-
};
|
|
108
|
-
#endif // CXXBRIDGE1_RUST_STRING
|
|
109
|
-
|
|
110
|
-
#ifndef CXXBRIDGE1_RUST_STR
|
|
111
|
-
#define CXXBRIDGE1_RUST_STR
|
|
112
|
-
class Str final {
|
|
113
|
-
public:
|
|
114
|
-
Str() noexcept;
|
|
115
|
-
Str(const String &) noexcept;
|
|
116
|
-
Str(const std::string &);
|
|
117
|
-
Str(const char *);
|
|
118
|
-
Str(const char *, std::size_t);
|
|
119
|
-
|
|
120
|
-
Str &operator=(const Str &) &noexcept = default;
|
|
121
|
-
|
|
122
|
-
explicit operator std::string() const;
|
|
123
|
-
|
|
124
|
-
const char *data() const noexcept;
|
|
125
|
-
std::size_t size() const noexcept;
|
|
126
|
-
std::size_t length() const noexcept;
|
|
127
|
-
bool empty() const noexcept;
|
|
128
|
-
|
|
129
|
-
Str(const Str &) noexcept = default;
|
|
130
|
-
~Str() noexcept = default;
|
|
131
|
-
|
|
132
|
-
using iterator = const char *;
|
|
133
|
-
using const_iterator = const char *;
|
|
134
|
-
const_iterator begin() const noexcept;
|
|
135
|
-
const_iterator end() const noexcept;
|
|
136
|
-
const_iterator cbegin() const noexcept;
|
|
137
|
-
const_iterator cend() const noexcept;
|
|
138
|
-
|
|
139
|
-
bool operator==(const Str &) const noexcept;
|
|
140
|
-
bool operator!=(const Str &) const noexcept;
|
|
141
|
-
bool operator<(const Str &) const noexcept;
|
|
142
|
-
bool operator<=(const Str &) const noexcept;
|
|
143
|
-
bool operator>(const Str &) const noexcept;
|
|
144
|
-
bool operator>=(const Str &) const noexcept;
|
|
145
|
-
|
|
146
|
-
void swap(Str &) noexcept;
|
|
147
|
-
|
|
148
|
-
private:
|
|
149
|
-
class uninit;
|
|
150
|
-
Str(uninit) noexcept;
|
|
151
|
-
friend impl<Str>;
|
|
152
|
-
|
|
153
|
-
std::array<std::uintptr_t, 2> repr;
|
|
154
|
-
};
|
|
155
|
-
#endif // CXXBRIDGE1_RUST_STR
|
|
156
|
-
|
|
157
|
-
#ifndef CXXBRIDGE1_RUST_SLICE
|
|
158
|
-
#define CXXBRIDGE1_RUST_SLICE
|
|
159
|
-
namespace detail {
|
|
160
|
-
template <bool>
|
|
161
|
-
struct copy_assignable_if {};
|
|
162
|
-
|
|
163
|
-
template <>
|
|
164
|
-
struct copy_assignable_if<false> {
|
|
165
|
-
copy_assignable_if() noexcept = default;
|
|
166
|
-
copy_assignable_if(const copy_assignable_if &) noexcept = default;
|
|
167
|
-
copy_assignable_if &operator=(const copy_assignable_if &) &noexcept = delete;
|
|
168
|
-
copy_assignable_if &operator=(copy_assignable_if &&) &noexcept = default;
|
|
169
|
-
};
|
|
170
|
-
} // namespace detail
|
|
171
|
-
|
|
172
|
-
template <typename T>
|
|
173
|
-
class Slice final
|
|
174
|
-
: private detail::copy_assignable_if<std::is_const<T>::value> {
|
|
175
|
-
public:
|
|
176
|
-
using value_type = T;
|
|
177
|
-
|
|
178
|
-
Slice() noexcept;
|
|
179
|
-
Slice(T *, std::size_t count) noexcept;
|
|
180
|
-
|
|
181
|
-
Slice &operator=(const Slice<T> &) &noexcept = default;
|
|
182
|
-
Slice &operator=(Slice<T> &&) &noexcept = default;
|
|
183
|
-
|
|
184
|
-
T *data() const noexcept;
|
|
185
|
-
std::size_t size() const noexcept;
|
|
186
|
-
std::size_t length() const noexcept;
|
|
187
|
-
bool empty() const noexcept;
|
|
188
|
-
|
|
189
|
-
T &operator[](std::size_t n) const noexcept;
|
|
190
|
-
T &at(std::size_t n) const;
|
|
191
|
-
T &front() const noexcept;
|
|
192
|
-
T &back() const noexcept;
|
|
193
|
-
|
|
194
|
-
Slice(const Slice<T> &) noexcept = default;
|
|
195
|
-
~Slice() noexcept = default;
|
|
196
|
-
|
|
197
|
-
class iterator;
|
|
198
|
-
iterator begin() const noexcept;
|
|
199
|
-
iterator end() const noexcept;
|
|
200
|
-
|
|
201
|
-
void swap(Slice &) noexcept;
|
|
202
|
-
|
|
203
|
-
private:
|
|
204
|
-
class uninit;
|
|
205
|
-
Slice(uninit) noexcept;
|
|
206
|
-
friend impl<Slice>;
|
|
207
|
-
friend void sliceInit(void *, const void *, std::size_t) noexcept;
|
|
208
|
-
friend void *slicePtr(const void *) noexcept;
|
|
209
|
-
friend std::size_t sliceLen(const void *) noexcept;
|
|
210
|
-
|
|
211
|
-
std::array<std::uintptr_t, 2> repr;
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
template <typename T>
|
|
215
|
-
class Slice<T>::iterator final {
|
|
216
|
-
public:
|
|
217
|
-
using iterator_category = std::random_access_iterator_tag;
|
|
218
|
-
using value_type = T;
|
|
219
|
-
using difference_type = std::ptrdiff_t;
|
|
220
|
-
using pointer = typename std::add_pointer<T>::type;
|
|
221
|
-
using reference = typename std::add_lvalue_reference<T>::type;
|
|
222
|
-
|
|
223
|
-
reference operator*() const noexcept;
|
|
224
|
-
pointer operator->() const noexcept;
|
|
225
|
-
reference operator[](difference_type) const noexcept;
|
|
226
|
-
|
|
227
|
-
iterator &operator++() noexcept;
|
|
228
|
-
iterator operator++(int) noexcept;
|
|
229
|
-
iterator &operator--() noexcept;
|
|
230
|
-
iterator operator--(int) noexcept;
|
|
231
|
-
|
|
232
|
-
iterator &operator+=(difference_type) noexcept;
|
|
233
|
-
iterator &operator-=(difference_type) noexcept;
|
|
234
|
-
iterator operator+(difference_type) const noexcept;
|
|
235
|
-
iterator operator-(difference_type) const noexcept;
|
|
236
|
-
difference_type operator-(const iterator &) const noexcept;
|
|
237
|
-
|
|
238
|
-
bool operator==(const iterator &) const noexcept;
|
|
239
|
-
bool operator!=(const iterator &) const noexcept;
|
|
240
|
-
bool operator<(const iterator &) const noexcept;
|
|
241
|
-
bool operator<=(const iterator &) const noexcept;
|
|
242
|
-
bool operator>(const iterator &) const noexcept;
|
|
243
|
-
bool operator>=(const iterator &) const noexcept;
|
|
244
|
-
|
|
245
|
-
private:
|
|
246
|
-
friend class Slice;
|
|
247
|
-
void *pos;
|
|
248
|
-
std::size_t stride;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
template <typename T>
|
|
252
|
-
Slice<T>::Slice() noexcept {
|
|
253
|
-
sliceInit(this, reinterpret_cast<void *>(align_of<T>()), 0);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
template <typename T>
|
|
257
|
-
Slice<T>::Slice(T *s, std::size_t count) noexcept {
|
|
258
|
-
assert(s != nullptr || count == 0);
|
|
259
|
-
sliceInit(this,
|
|
260
|
-
s == nullptr && count == 0
|
|
261
|
-
? reinterpret_cast<void *>(align_of<T>())
|
|
262
|
-
: const_cast<typename std::remove_const<T>::type *>(s),
|
|
263
|
-
count);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
template <typename T>
|
|
267
|
-
T *Slice<T>::data() const noexcept {
|
|
268
|
-
return reinterpret_cast<T *>(slicePtr(this));
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
template <typename T>
|
|
272
|
-
std::size_t Slice<T>::size() const noexcept {
|
|
273
|
-
return sliceLen(this);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
template <typename T>
|
|
277
|
-
std::size_t Slice<T>::length() const noexcept {
|
|
278
|
-
return this->size();
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
template <typename T>
|
|
282
|
-
bool Slice<T>::empty() const noexcept {
|
|
283
|
-
return this->size() == 0;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
template <typename T>
|
|
287
|
-
T &Slice<T>::operator[](std::size_t n) const noexcept {
|
|
288
|
-
assert(n < this->size());
|
|
289
|
-
auto ptr = static_cast<char *>(slicePtr(this)) + size_of<T>() * n;
|
|
290
|
-
return *reinterpret_cast<T *>(ptr);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
template <typename T>
|
|
294
|
-
T &Slice<T>::at(std::size_t n) const {
|
|
295
|
-
if (n >= this->size()) {
|
|
296
|
-
panic<std::out_of_range>("rust::Slice index out of range");
|
|
297
|
-
}
|
|
298
|
-
return (*this)[n];
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
template <typename T>
|
|
302
|
-
T &Slice<T>::front() const noexcept {
|
|
303
|
-
assert(!this->empty());
|
|
304
|
-
return (*this)[0];
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
template <typename T>
|
|
308
|
-
T &Slice<T>::back() const noexcept {
|
|
309
|
-
assert(!this->empty());
|
|
310
|
-
return (*this)[this->size() - 1];
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
template <typename T>
|
|
314
|
-
typename Slice<T>::iterator::reference
|
|
315
|
-
Slice<T>::iterator::operator*() const noexcept {
|
|
316
|
-
return *static_cast<T *>(this->pos);
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
template <typename T>
|
|
320
|
-
typename Slice<T>::iterator::pointer
|
|
321
|
-
Slice<T>::iterator::operator->() const noexcept {
|
|
322
|
-
return static_cast<T *>(this->pos);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
template <typename T>
|
|
326
|
-
typename Slice<T>::iterator::reference Slice<T>::iterator::operator[](
|
|
327
|
-
typename Slice<T>::iterator::difference_type n) const noexcept {
|
|
328
|
-
auto ptr = static_cast<char *>(this->pos) + this->stride * n;
|
|
329
|
-
return *reinterpret_cast<T *>(ptr);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
template <typename T>
|
|
333
|
-
typename Slice<T>::iterator &Slice<T>::iterator::operator++() noexcept {
|
|
334
|
-
this->pos = static_cast<char *>(this->pos) + this->stride;
|
|
335
|
-
return *this;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
template <typename T>
|
|
339
|
-
typename Slice<T>::iterator Slice<T>::iterator::operator++(int) noexcept {
|
|
340
|
-
auto ret = iterator(*this);
|
|
341
|
-
this->pos = static_cast<char *>(this->pos) + this->stride;
|
|
342
|
-
return ret;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
template <typename T>
|
|
346
|
-
typename Slice<T>::iterator &Slice<T>::iterator::operator--() noexcept {
|
|
347
|
-
this->pos = static_cast<char *>(this->pos) - this->stride;
|
|
348
|
-
return *this;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
template <typename T>
|
|
352
|
-
typename Slice<T>::iterator Slice<T>::iterator::operator--(int) noexcept {
|
|
353
|
-
auto ret = iterator(*this);
|
|
354
|
-
this->pos = static_cast<char *>(this->pos) - this->stride;
|
|
355
|
-
return ret;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
template <typename T>
|
|
359
|
-
typename Slice<T>::iterator &Slice<T>::iterator::operator+=(
|
|
360
|
-
typename Slice<T>::iterator::difference_type n) noexcept {
|
|
361
|
-
this->pos = static_cast<char *>(this->pos) + this->stride * n;
|
|
362
|
-
return *this;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
template <typename T>
|
|
366
|
-
typename Slice<T>::iterator &Slice<T>::iterator::operator-=(
|
|
367
|
-
typename Slice<T>::iterator::difference_type n) noexcept {
|
|
368
|
-
this->pos = static_cast<char *>(this->pos) - this->stride * n;
|
|
369
|
-
return *this;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
template <typename T>
|
|
373
|
-
typename Slice<T>::iterator Slice<T>::iterator::operator+(
|
|
374
|
-
typename Slice<T>::iterator::difference_type n) const noexcept {
|
|
375
|
-
auto ret = iterator(*this);
|
|
376
|
-
ret.pos = static_cast<char *>(this->pos) + this->stride * n;
|
|
377
|
-
return ret;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
template <typename T>
|
|
381
|
-
typename Slice<T>::iterator Slice<T>::iterator::operator-(
|
|
382
|
-
typename Slice<T>::iterator::difference_type n) const noexcept {
|
|
383
|
-
auto ret = iterator(*this);
|
|
384
|
-
ret.pos = static_cast<char *>(this->pos) - this->stride * n;
|
|
385
|
-
return ret;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
template <typename T>
|
|
389
|
-
typename Slice<T>::iterator::difference_type
|
|
390
|
-
Slice<T>::iterator::operator-(const iterator &other) const noexcept {
|
|
391
|
-
auto diff = std::distance(static_cast<char *>(other.pos),
|
|
392
|
-
static_cast<char *>(this->pos));
|
|
393
|
-
return diff / this->stride;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
template <typename T>
|
|
397
|
-
bool Slice<T>::iterator::operator==(const iterator &other) const noexcept {
|
|
398
|
-
return this->pos == other.pos;
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
template <typename T>
|
|
402
|
-
bool Slice<T>::iterator::operator!=(const iterator &other) const noexcept {
|
|
403
|
-
return this->pos != other.pos;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
template <typename T>
|
|
407
|
-
bool Slice<T>::iterator::operator<(const iterator &other) const noexcept {
|
|
408
|
-
return this->pos < other.pos;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
template <typename T>
|
|
412
|
-
bool Slice<T>::iterator::operator<=(const iterator &other) const noexcept {
|
|
413
|
-
return this->pos <= other.pos;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
template <typename T>
|
|
417
|
-
bool Slice<T>::iterator::operator>(const iterator &other) const noexcept {
|
|
418
|
-
return this->pos > other.pos;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
template <typename T>
|
|
422
|
-
bool Slice<T>::iterator::operator>=(const iterator &other) const noexcept {
|
|
423
|
-
return this->pos >= other.pos;
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
template <typename T>
|
|
427
|
-
typename Slice<T>::iterator Slice<T>::begin() const noexcept {
|
|
428
|
-
iterator it;
|
|
429
|
-
it.pos = slicePtr(this);
|
|
430
|
-
it.stride = size_of<T>();
|
|
431
|
-
return it;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
template <typename T>
|
|
435
|
-
typename Slice<T>::iterator Slice<T>::end() const noexcept {
|
|
436
|
-
iterator it = this->begin();
|
|
437
|
-
it.pos = static_cast<char *>(it.pos) + it.stride * this->size();
|
|
438
|
-
return it;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
template <typename T>
|
|
442
|
-
void Slice<T>::swap(Slice &rhs) noexcept {
|
|
443
|
-
std::swap(*this, rhs);
|
|
444
|
-
}
|
|
445
|
-
#endif // CXXBRIDGE1_RUST_SLICE
|
|
446
|
-
|
|
447
|
-
#ifndef CXXBRIDGE1_RUST_BOX
|
|
448
|
-
#define CXXBRIDGE1_RUST_BOX
|
|
449
|
-
template <typename T>
|
|
450
|
-
class Box final {
|
|
451
|
-
public:
|
|
452
|
-
using element_type = T;
|
|
453
|
-
using const_pointer =
|
|
454
|
-
typename std::add_pointer<typename std::add_const<T>::type>::type;
|
|
455
|
-
using pointer = typename std::add_pointer<T>::type;
|
|
456
|
-
|
|
457
|
-
Box() = delete;
|
|
458
|
-
Box(Box &&) noexcept;
|
|
459
|
-
~Box() noexcept;
|
|
460
|
-
|
|
461
|
-
explicit Box(const T &);
|
|
462
|
-
explicit Box(T &&);
|
|
463
|
-
|
|
464
|
-
Box &operator=(Box &&) &noexcept;
|
|
465
|
-
|
|
466
|
-
const T *operator->() const noexcept;
|
|
467
|
-
const T &operator*() const noexcept;
|
|
468
|
-
T *operator->() noexcept;
|
|
469
|
-
T &operator*() noexcept;
|
|
470
|
-
|
|
471
|
-
template <typename... Fields>
|
|
472
|
-
static Box in_place(Fields &&...);
|
|
473
|
-
|
|
474
|
-
void swap(Box &) noexcept;
|
|
475
|
-
|
|
476
|
-
static Box from_raw(T *) noexcept;
|
|
477
|
-
|
|
478
|
-
T *into_raw() noexcept;
|
|
479
|
-
|
|
480
|
-
/* Deprecated */ using value_type = element_type;
|
|
481
|
-
|
|
482
|
-
private:
|
|
483
|
-
class uninit;
|
|
484
|
-
class allocation;
|
|
485
|
-
Box(uninit) noexcept;
|
|
486
|
-
void drop() noexcept;
|
|
487
|
-
|
|
488
|
-
friend void swap(Box &lhs, Box &rhs) noexcept { lhs.swap(rhs); }
|
|
489
|
-
|
|
490
|
-
T *ptr;
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
template <typename T>
|
|
494
|
-
class Box<T>::uninit {};
|
|
495
|
-
|
|
496
|
-
template <typename T>
|
|
497
|
-
class Box<T>::allocation {
|
|
498
|
-
static T *alloc() noexcept;
|
|
499
|
-
static void dealloc(T *) noexcept;
|
|
500
|
-
|
|
501
|
-
public:
|
|
502
|
-
allocation() noexcept : ptr(alloc()) {}
|
|
503
|
-
~allocation() noexcept {
|
|
504
|
-
if (this->ptr) {
|
|
505
|
-
dealloc(this->ptr);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
T *ptr;
|
|
509
|
-
};
|
|
510
|
-
|
|
511
|
-
template <typename T>
|
|
512
|
-
Box<T>::Box(Box &&other) noexcept : ptr(other.ptr) {
|
|
513
|
-
other.ptr = nullptr;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
template <typename T>
|
|
517
|
-
Box<T>::Box(const T &val) {
|
|
518
|
-
allocation alloc;
|
|
519
|
-
::new (alloc.ptr) T(val);
|
|
520
|
-
this->ptr = alloc.ptr;
|
|
521
|
-
alloc.ptr = nullptr;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
template <typename T>
|
|
525
|
-
Box<T>::Box(T &&val) {
|
|
526
|
-
allocation alloc;
|
|
527
|
-
::new (alloc.ptr) T(std::move(val));
|
|
528
|
-
this->ptr = alloc.ptr;
|
|
529
|
-
alloc.ptr = nullptr;
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
template <typename T>
|
|
533
|
-
Box<T>::~Box() noexcept {
|
|
534
|
-
if (this->ptr) {
|
|
535
|
-
this->drop();
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
template <typename T>
|
|
540
|
-
Box<T> &Box<T>::operator=(Box &&other) &noexcept {
|
|
541
|
-
if (this->ptr) {
|
|
542
|
-
this->drop();
|
|
543
|
-
}
|
|
544
|
-
this->ptr = other.ptr;
|
|
545
|
-
other.ptr = nullptr;
|
|
546
|
-
return *this;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
template <typename T>
|
|
550
|
-
const T *Box<T>::operator->() const noexcept {
|
|
551
|
-
return this->ptr;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
template <typename T>
|
|
555
|
-
const T &Box<T>::operator*() const noexcept {
|
|
556
|
-
return *this->ptr;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
template <typename T>
|
|
560
|
-
T *Box<T>::operator->() noexcept {
|
|
561
|
-
return this->ptr;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
template <typename T>
|
|
565
|
-
T &Box<T>::operator*() noexcept {
|
|
566
|
-
return *this->ptr;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
template <typename T>
|
|
570
|
-
template <typename... Fields>
|
|
571
|
-
Box<T> Box<T>::in_place(Fields &&...fields) {
|
|
572
|
-
allocation alloc;
|
|
573
|
-
auto ptr = alloc.ptr;
|
|
574
|
-
::new (ptr) T{std::forward<Fields>(fields)...};
|
|
575
|
-
alloc.ptr = nullptr;
|
|
576
|
-
return from_raw(ptr);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
template <typename T>
|
|
580
|
-
void Box<T>::swap(Box &rhs) noexcept {
|
|
581
|
-
using std::swap;
|
|
582
|
-
swap(this->ptr, rhs.ptr);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
template <typename T>
|
|
586
|
-
Box<T> Box<T>::from_raw(T *raw) noexcept {
|
|
587
|
-
Box box = uninit{};
|
|
588
|
-
box.ptr = raw;
|
|
589
|
-
return box;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
template <typename T>
|
|
593
|
-
T *Box<T>::into_raw() noexcept {
|
|
594
|
-
T *raw = this->ptr;
|
|
595
|
-
this->ptr = nullptr;
|
|
596
|
-
return raw;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
template <typename T>
|
|
600
|
-
Box<T>::Box(uninit) noexcept {}
|
|
601
|
-
#endif // CXXBRIDGE1_RUST_BOX
|
|
602
|
-
|
|
603
|
-
#ifndef CXXBRIDGE1_RUST_BITCOPY_T
|
|
604
|
-
#define CXXBRIDGE1_RUST_BITCOPY_T
|
|
605
|
-
struct unsafe_bitcopy_t final {
|
|
606
|
-
explicit unsafe_bitcopy_t() = default;
|
|
607
|
-
};
|
|
608
|
-
#endif // CXXBRIDGE1_RUST_BITCOPY_T
|
|
609
|
-
|
|
610
|
-
#ifndef CXXBRIDGE1_RUST_VEC
|
|
611
|
-
#define CXXBRIDGE1_RUST_VEC
|
|
612
|
-
template <typename T>
|
|
613
|
-
class Vec final {
|
|
614
|
-
public:
|
|
615
|
-
using value_type = T;
|
|
616
|
-
|
|
617
|
-
Vec() noexcept;
|
|
618
|
-
Vec(std::initializer_list<T>);
|
|
619
|
-
Vec(const Vec &);
|
|
620
|
-
Vec(Vec &&) noexcept;
|
|
621
|
-
~Vec() noexcept;
|
|
622
|
-
|
|
623
|
-
Vec &operator=(Vec &&) &noexcept;
|
|
624
|
-
Vec &operator=(const Vec &) &;
|
|
625
|
-
|
|
626
|
-
std::size_t size() const noexcept;
|
|
627
|
-
bool empty() const noexcept;
|
|
628
|
-
const T *data() const noexcept;
|
|
629
|
-
T *data() noexcept;
|
|
630
|
-
std::size_t capacity() const noexcept;
|
|
631
|
-
|
|
632
|
-
const T &operator[](std::size_t n) const noexcept;
|
|
633
|
-
const T &at(std::size_t n) const;
|
|
634
|
-
const T &front() const noexcept;
|
|
635
|
-
const T &back() const noexcept;
|
|
636
|
-
|
|
637
|
-
T &operator[](std::size_t n) noexcept;
|
|
638
|
-
T &at(std::size_t n);
|
|
639
|
-
T &front() noexcept;
|
|
640
|
-
T &back() noexcept;
|
|
641
|
-
|
|
642
|
-
void reserve(std::size_t new_cap);
|
|
643
|
-
void push_back(const T &value);
|
|
644
|
-
void push_back(T &&value);
|
|
645
|
-
template <typename... Args>
|
|
646
|
-
void emplace_back(Args &&...args);
|
|
647
|
-
void truncate(std::size_t len);
|
|
648
|
-
void clear();
|
|
649
|
-
|
|
650
|
-
using iterator = typename Slice<T>::iterator;
|
|
651
|
-
iterator begin() noexcept;
|
|
652
|
-
iterator end() noexcept;
|
|
653
|
-
|
|
654
|
-
using const_iterator = typename Slice<const T>::iterator;
|
|
655
|
-
const_iterator begin() const noexcept;
|
|
656
|
-
const_iterator end() const noexcept;
|
|
657
|
-
const_iterator cbegin() const noexcept;
|
|
658
|
-
const_iterator cend() const noexcept;
|
|
659
|
-
|
|
660
|
-
void swap(Vec &) noexcept;
|
|
661
|
-
|
|
662
|
-
Vec(unsafe_bitcopy_t, const Vec &) noexcept;
|
|
663
|
-
|
|
664
|
-
private:
|
|
665
|
-
void reserve_total(std::size_t new_cap) noexcept;
|
|
666
|
-
void set_len(std::size_t len) noexcept;
|
|
667
|
-
void drop() noexcept;
|
|
668
|
-
|
|
669
|
-
friend void swap(Vec &lhs, Vec &rhs) noexcept { lhs.swap(rhs); }
|
|
670
|
-
|
|
671
|
-
std::array<std::uintptr_t, 3> repr;
|
|
672
|
-
};
|
|
673
|
-
|
|
674
|
-
template <typename T>
|
|
675
|
-
Vec<T>::Vec(std::initializer_list<T> init) : Vec{} {
|
|
676
|
-
this->reserve_total(init.size());
|
|
677
|
-
std::move(init.begin(), init.end(), std::back_inserter(*this));
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
template <typename T>
|
|
681
|
-
Vec<T>::Vec(const Vec &other) : Vec() {
|
|
682
|
-
this->reserve_total(other.size());
|
|
683
|
-
std::copy(other.begin(), other.end(), std::back_inserter(*this));
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
template <typename T>
|
|
687
|
-
Vec<T>::Vec(Vec &&other) noexcept : repr(other.repr) {
|
|
688
|
-
new (&other) Vec();
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
template <typename T>
|
|
692
|
-
Vec<T>::~Vec() noexcept {
|
|
693
|
-
this->drop();
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
template <typename T>
|
|
697
|
-
Vec<T> &Vec<T>::operator=(Vec &&other) &noexcept {
|
|
698
|
-
this->drop();
|
|
699
|
-
this->repr = other.repr;
|
|
700
|
-
new (&other) Vec();
|
|
701
|
-
return *this;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
template <typename T>
|
|
705
|
-
Vec<T> &Vec<T>::operator=(const Vec &other) & {
|
|
706
|
-
if (this != &other) {
|
|
707
|
-
this->drop();
|
|
708
|
-
new (this) Vec(other);
|
|
709
|
-
}
|
|
710
|
-
return *this;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
template <typename T>
|
|
714
|
-
bool Vec<T>::empty() const noexcept {
|
|
715
|
-
return this->size() == 0;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
template <typename T>
|
|
719
|
-
T *Vec<T>::data() noexcept {
|
|
720
|
-
return const_cast<T *>(const_cast<const Vec<T> *>(this)->data());
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
template <typename T>
|
|
724
|
-
const T &Vec<T>::operator[](std::size_t n) const noexcept {
|
|
725
|
-
assert(n < this->size());
|
|
726
|
-
auto data = reinterpret_cast<const char *>(this->data());
|
|
727
|
-
return *reinterpret_cast<const T *>(data + n * size_of<T>());
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
template <typename T>
|
|
731
|
-
const T &Vec<T>::at(std::size_t n) const {
|
|
732
|
-
if (n >= this->size()) {
|
|
733
|
-
panic<std::out_of_range>("rust::Vec index out of range");
|
|
734
|
-
}
|
|
735
|
-
return (*this)[n];
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
template <typename T>
|
|
739
|
-
const T &Vec<T>::front() const noexcept {
|
|
740
|
-
assert(!this->empty());
|
|
741
|
-
return (*this)[0];
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
template <typename T>
|
|
745
|
-
const T &Vec<T>::back() const noexcept {
|
|
746
|
-
assert(!this->empty());
|
|
747
|
-
return (*this)[this->size() - 1];
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
template <typename T>
|
|
751
|
-
T &Vec<T>::operator[](std::size_t n) noexcept {
|
|
752
|
-
assert(n < this->size());
|
|
753
|
-
auto data = reinterpret_cast<char *>(this->data());
|
|
754
|
-
return *reinterpret_cast<T *>(data + n * size_of<T>());
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
template <typename T>
|
|
758
|
-
T &Vec<T>::at(std::size_t n) {
|
|
759
|
-
if (n >= this->size()) {
|
|
760
|
-
panic<std::out_of_range>("rust::Vec index out of range");
|
|
761
|
-
}
|
|
762
|
-
return (*this)[n];
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
template <typename T>
|
|
766
|
-
T &Vec<T>::front() noexcept {
|
|
767
|
-
assert(!this->empty());
|
|
768
|
-
return (*this)[0];
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
template <typename T>
|
|
772
|
-
T &Vec<T>::back() noexcept {
|
|
773
|
-
assert(!this->empty());
|
|
774
|
-
return (*this)[this->size() - 1];
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
template <typename T>
|
|
778
|
-
void Vec<T>::reserve(std::size_t new_cap) {
|
|
779
|
-
this->reserve_total(new_cap);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
template <typename T>
|
|
783
|
-
void Vec<T>::push_back(const T &value) {
|
|
784
|
-
this->emplace_back(value);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
template <typename T>
|
|
788
|
-
void Vec<T>::push_back(T &&value) {
|
|
789
|
-
this->emplace_back(std::move(value));
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
template <typename T>
|
|
793
|
-
template <typename... Args>
|
|
794
|
-
void Vec<T>::emplace_back(Args &&...args) {
|
|
795
|
-
auto size = this->size();
|
|
796
|
-
this->reserve_total(size + 1);
|
|
797
|
-
::new (reinterpret_cast<T *>(reinterpret_cast<char *>(this->data()) +
|
|
798
|
-
size * size_of<T>()))
|
|
799
|
-
T(std::forward<Args>(args)...);
|
|
800
|
-
this->set_len(size + 1);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
template <typename T>
|
|
804
|
-
void Vec<T>::clear() {
|
|
805
|
-
this->truncate(0);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
template <typename T>
|
|
809
|
-
typename Vec<T>::iterator Vec<T>::begin() noexcept {
|
|
810
|
-
return Slice<T>(this->data(), this->size()).begin();
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
template <typename T>
|
|
814
|
-
typename Vec<T>::iterator Vec<T>::end() noexcept {
|
|
815
|
-
return Slice<T>(this->data(), this->size()).end();
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
template <typename T>
|
|
819
|
-
typename Vec<T>::const_iterator Vec<T>::begin() const noexcept {
|
|
820
|
-
return this->cbegin();
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
template <typename T>
|
|
824
|
-
typename Vec<T>::const_iterator Vec<T>::end() const noexcept {
|
|
825
|
-
return this->cend();
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
template <typename T>
|
|
829
|
-
typename Vec<T>::const_iterator Vec<T>::cbegin() const noexcept {
|
|
830
|
-
return Slice<const T>(this->data(), this->size()).begin();
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
template <typename T>
|
|
834
|
-
typename Vec<T>::const_iterator Vec<T>::cend() const noexcept {
|
|
835
|
-
return Slice<const T>(this->data(), this->size()).end();
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
template <typename T>
|
|
839
|
-
void Vec<T>::swap(Vec &rhs) noexcept {
|
|
840
|
-
using std::swap;
|
|
841
|
-
swap(this->repr, rhs.repr);
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
template <typename T>
|
|
845
|
-
Vec<T>::Vec(unsafe_bitcopy_t, const Vec &bits) noexcept : repr(bits.repr) {}
|
|
846
|
-
#endif // CXXBRIDGE1_RUST_VEC
|
|
847
|
-
|
|
848
|
-
#ifndef CXXBRIDGE1_RUST_ISIZE
|
|
849
|
-
#define CXXBRIDGE1_RUST_ISIZE
|
|
850
|
-
#if defined(_WIN32)
|
|
851
|
-
using isize = SSIZE_T;
|
|
852
|
-
#else
|
|
853
|
-
using isize = ssize_t;
|
|
854
|
-
#endif
|
|
855
|
-
#endif // CXXBRIDGE1_RUST_ISIZE
|
|
856
|
-
|
|
857
|
-
#ifndef CXXBRIDGE1_RUST_OPAQUE
|
|
858
|
-
#define CXXBRIDGE1_RUST_OPAQUE
|
|
859
|
-
class Opaque {
|
|
860
|
-
public:
|
|
861
|
-
Opaque() = delete;
|
|
862
|
-
Opaque(const Opaque &) = delete;
|
|
863
|
-
~Opaque() = delete;
|
|
864
|
-
};
|
|
865
|
-
#endif // CXXBRIDGE1_RUST_OPAQUE
|
|
866
|
-
|
|
867
|
-
#ifndef CXXBRIDGE1_IS_COMPLETE
|
|
868
|
-
#define CXXBRIDGE1_IS_COMPLETE
|
|
869
|
-
namespace detail {
|
|
870
|
-
namespace {
|
|
871
|
-
template <typename T, typename = std::size_t>
|
|
872
|
-
struct is_complete : std::false_type {};
|
|
873
|
-
template <typename T>
|
|
874
|
-
struct is_complete<T, decltype(sizeof(T))> : std::true_type {};
|
|
875
|
-
} // namespace
|
|
876
|
-
} // namespace detail
|
|
877
|
-
#endif // CXXBRIDGE1_IS_COMPLETE
|
|
878
|
-
|
|
879
|
-
#ifndef CXXBRIDGE1_LAYOUT
|
|
880
|
-
#define CXXBRIDGE1_LAYOUT
|
|
881
|
-
class layout {
|
|
882
|
-
template <typename T>
|
|
883
|
-
friend std::size_t size_of();
|
|
884
|
-
template <typename T>
|
|
885
|
-
friend std::size_t align_of();
|
|
886
|
-
template <typename T>
|
|
887
|
-
static typename std::enable_if<std::is_base_of<Opaque, T>::value,
|
|
888
|
-
std::size_t>::type
|
|
889
|
-
do_size_of() {
|
|
890
|
-
return T::layout::size();
|
|
891
|
-
}
|
|
892
|
-
template <typename T>
|
|
893
|
-
static typename std::enable_if<!std::is_base_of<Opaque, T>::value,
|
|
894
|
-
std::size_t>::type
|
|
895
|
-
do_size_of() {
|
|
896
|
-
return sizeof(T);
|
|
897
|
-
}
|
|
898
|
-
template <typename T>
|
|
899
|
-
static
|
|
900
|
-
typename std::enable_if<detail::is_complete<T>::value, std::size_t>::type
|
|
901
|
-
size_of() {
|
|
902
|
-
return do_size_of<T>();
|
|
903
|
-
}
|
|
904
|
-
template <typename T>
|
|
905
|
-
static typename std::enable_if<std::is_base_of<Opaque, T>::value,
|
|
906
|
-
std::size_t>::type
|
|
907
|
-
do_align_of() {
|
|
908
|
-
return T::layout::align();
|
|
909
|
-
}
|
|
910
|
-
template <typename T>
|
|
911
|
-
static typename std::enable_if<!std::is_base_of<Opaque, T>::value,
|
|
912
|
-
std::size_t>::type
|
|
913
|
-
do_align_of() {
|
|
914
|
-
return alignof(T);
|
|
915
|
-
}
|
|
916
|
-
template <typename T>
|
|
917
|
-
static
|
|
918
|
-
typename std::enable_if<detail::is_complete<T>::value, std::size_t>::type
|
|
919
|
-
align_of() {
|
|
920
|
-
return do_align_of<T>();
|
|
921
|
-
}
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
template <typename T>
|
|
925
|
-
std::size_t size_of() {
|
|
926
|
-
return layout::size_of<T>();
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
template <typename T>
|
|
930
|
-
std::size_t align_of() {
|
|
931
|
-
return layout::align_of<T>();
|
|
932
|
-
}
|
|
933
|
-
#endif // CXXBRIDGE1_LAYOUT
|
|
934
|
-
} // namespace cxxbridge1
|
|
935
|
-
} // namespace rust
|
|
936
|
-
|
|
937
|
-
namespace org {
|
|
938
|
-
namespace nativescript {
|
|
939
|
-
namespace canvas {
|
|
940
|
-
struct FileHelper;
|
|
941
|
-
struct Raf;
|
|
942
|
-
enum class GLConstants : ::std::uint32_t;
|
|
943
|
-
enum class InvalidateState : ::std::uint8_t;
|
|
944
|
-
enum class PaintStyleType : ::std::uint8_t;
|
|
945
|
-
enum class ImageBitmapPremultiplyAlpha : ::std::uint8_t;
|
|
946
|
-
enum class ImageBitmapColorSpaceConversion : ::std::uint8_t;
|
|
947
|
-
enum class ImageBitmapResizeQuality : ::std::uint8_t;
|
|
948
|
-
struct CanvasRenderingContext2D;
|
|
949
|
-
struct PaintStyle;
|
|
950
|
-
struct TextMetrics;
|
|
951
|
-
struct Path;
|
|
952
|
-
struct Matrix;
|
|
953
|
-
struct ImageData;
|
|
954
|
-
struct ImageAsset;
|
|
955
|
-
struct TextDecoder;
|
|
956
|
-
struct TextEncoder;
|
|
957
|
-
enum class WebGLExtensionType : ::std::uint8_t;
|
|
958
|
-
enum class WebGLResultType : ::std::uint8_t;
|
|
959
|
-
struct WebGLState;
|
|
960
|
-
struct WebGLActiveInfo;
|
|
961
|
-
struct WebGLResult;
|
|
962
|
-
struct ContextAttributes;
|
|
963
|
-
struct WebGLExtension;
|
|
964
|
-
struct WebGLFramebufferAttachmentParameter;
|
|
965
|
-
struct WebGLShaderPrecisionFormat;
|
|
966
|
-
struct EXT_blend_minmax;
|
|
967
|
-
struct EXT_color_buffer_half_float;
|
|
968
|
-
struct EXT_disjoint_timer_query;
|
|
969
|
-
struct EXT_sRGB;
|
|
970
|
-
struct EXT_shader_texture_lod;
|
|
971
|
-
struct EXT_texture_filter_anisotropic;
|
|
972
|
-
struct OES_element_index_uint;
|
|
973
|
-
struct OES_standard_derivatives;
|
|
974
|
-
struct OES_texture_float;
|
|
975
|
-
struct OES_texture_float_linear;
|
|
976
|
-
struct OES_texture_half_float;
|
|
977
|
-
struct OES_texture_half_float_linear;
|
|
978
|
-
struct OES_vertex_array_object;
|
|
979
|
-
struct WEBGL_color_buffer_float;
|
|
980
|
-
struct WEBGL_compressed_texture_atc;
|
|
981
|
-
struct WEBGL_compressed_texture_etc1;
|
|
982
|
-
struct WEBGL_compressed_texture_s3tc;
|
|
983
|
-
struct WEBGL_compressed_texture_s3tc_srgb;
|
|
984
|
-
struct WEBGL_compressed_texture_etc;
|
|
985
|
-
struct WEBGL_compressed_texture_pvrtc;
|
|
986
|
-
struct WEBGL_lose_context;
|
|
987
|
-
struct ANGLE_instanced_arrays;
|
|
988
|
-
struct WEBGL_depth_texture;
|
|
989
|
-
struct WEBGL_draw_buffers;
|
|
990
|
-
struct WebGLSync;
|
|
991
|
-
struct WebGLIndexedParameter;
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
namespace org {
|
|
997
|
-
namespace nativescript {
|
|
998
|
-
namespace canvas {
|
|
999
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$FileHelper
|
|
1000
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$FileHelper
|
|
1001
|
-
struct FileHelper final : public ::rust::Opaque {
|
|
1002
|
-
~FileHelper() = delete;
|
|
1003
|
-
|
|
1004
|
-
private:
|
|
1005
|
-
friend ::rust::layout;
|
|
1006
|
-
struct layout {
|
|
1007
|
-
static ::std::size_t size() noexcept;
|
|
1008
|
-
static ::std::size_t align() noexcept;
|
|
1009
|
-
};
|
|
1010
|
-
};
|
|
1011
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$FileHelper
|
|
1012
|
-
|
|
1013
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$Raf
|
|
1014
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$Raf
|
|
1015
|
-
struct Raf final : public ::rust::Opaque {
|
|
1016
|
-
~Raf() = delete;
|
|
1017
|
-
|
|
1018
|
-
private:
|
|
1019
|
-
friend ::rust::layout;
|
|
1020
|
-
struct layout {
|
|
1021
|
-
static ::std::size_t size() noexcept;
|
|
1022
|
-
static ::std::size_t align() noexcept;
|
|
1023
|
-
};
|
|
1024
|
-
};
|
|
1025
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$Raf
|
|
1026
|
-
|
|
1027
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$GLConstants
|
|
1028
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$GLConstants
|
|
1029
|
-
enum class GLConstants : ::std::uint32_t {
|
|
1030
|
-
UNPACK_FLIP_Y_WEBGL = 37440,
|
|
1031
|
-
UNPACK_PREMULTIPLY_ALPHA_WEBGL = 37441,
|
|
1032
|
-
UNPACK_COLORSPACE_CONVERSION_WEBGL = 37443,
|
|
1033
|
-
};
|
|
1034
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$GLConstants
|
|
1035
|
-
|
|
1036
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$InvalidateState
|
|
1037
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$InvalidateState
|
|
1038
|
-
enum class InvalidateState : ::std::uint8_t {
|
|
1039
|
-
NONE = 0,
|
|
1040
|
-
PENDING = 1,
|
|
1041
|
-
INVALIDATING = 2,
|
|
1042
|
-
};
|
|
1043
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$InvalidateState
|
|
1044
|
-
|
|
1045
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$PaintStyleType
|
|
1046
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$PaintStyleType
|
|
1047
|
-
enum class PaintStyleType : ::std::uint8_t {
|
|
1048
|
-
None = 0,
|
|
1049
|
-
Color = 1,
|
|
1050
|
-
Gradient = 2,
|
|
1051
|
-
Pattern = 3,
|
|
1052
|
-
};
|
|
1053
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$PaintStyleType
|
|
1054
|
-
|
|
1055
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapPremultiplyAlpha
|
|
1056
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapPremultiplyAlpha
|
|
1057
|
-
enum class ImageBitmapPremultiplyAlpha : ::std::uint8_t {
|
|
1058
|
-
Default = 0,
|
|
1059
|
-
Premultiply = 1,
|
|
1060
|
-
None = 2,
|
|
1061
|
-
};
|
|
1062
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapPremultiplyAlpha
|
|
1063
|
-
|
|
1064
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapColorSpaceConversion
|
|
1065
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapColorSpaceConversion
|
|
1066
|
-
enum class ImageBitmapColorSpaceConversion : ::std::uint8_t {
|
|
1067
|
-
Default = 0,
|
|
1068
|
-
None = 1,
|
|
1069
|
-
};
|
|
1070
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapColorSpaceConversion
|
|
1071
|
-
|
|
1072
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapResizeQuality
|
|
1073
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapResizeQuality
|
|
1074
|
-
enum class ImageBitmapResizeQuality : ::std::uint8_t {
|
|
1075
|
-
Low = 0,
|
|
1076
|
-
Medium = 1,
|
|
1077
|
-
High = 2,
|
|
1078
|
-
Pixelated = 3,
|
|
1079
|
-
};
|
|
1080
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$ImageBitmapResizeQuality
|
|
1081
|
-
|
|
1082
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$CanvasRenderingContext2D
|
|
1083
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$CanvasRenderingContext2D
|
|
1084
|
-
struct CanvasRenderingContext2D final : public ::rust::Opaque {
|
|
1085
|
-
~CanvasRenderingContext2D() = delete;
|
|
1086
|
-
|
|
1087
|
-
private:
|
|
1088
|
-
friend ::rust::layout;
|
|
1089
|
-
struct layout {
|
|
1090
|
-
static ::std::size_t size() noexcept;
|
|
1091
|
-
static ::std::size_t align() noexcept;
|
|
1092
|
-
};
|
|
1093
|
-
};
|
|
1094
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$CanvasRenderingContext2D
|
|
1095
|
-
|
|
1096
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$PaintStyle
|
|
1097
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$PaintStyle
|
|
1098
|
-
struct PaintStyle final : public ::rust::Opaque {
|
|
1099
|
-
~PaintStyle() = delete;
|
|
1100
|
-
|
|
1101
|
-
private:
|
|
1102
|
-
friend ::rust::layout;
|
|
1103
|
-
struct layout {
|
|
1104
|
-
static ::std::size_t size() noexcept;
|
|
1105
|
-
static ::std::size_t align() noexcept;
|
|
1106
|
-
};
|
|
1107
|
-
};
|
|
1108
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$PaintStyle
|
|
1109
|
-
|
|
1110
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextMetrics
|
|
1111
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextMetrics
|
|
1112
|
-
struct TextMetrics final : public ::rust::Opaque {
|
|
1113
|
-
~TextMetrics() = delete;
|
|
1114
|
-
|
|
1115
|
-
private:
|
|
1116
|
-
friend ::rust::layout;
|
|
1117
|
-
struct layout {
|
|
1118
|
-
static ::std::size_t size() noexcept;
|
|
1119
|
-
static ::std::size_t align() noexcept;
|
|
1120
|
-
};
|
|
1121
|
-
};
|
|
1122
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextMetrics
|
|
1123
|
-
|
|
1124
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$Path
|
|
1125
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$Path
|
|
1126
|
-
struct Path final : public ::rust::Opaque {
|
|
1127
|
-
~Path() = delete;
|
|
1128
|
-
|
|
1129
|
-
private:
|
|
1130
|
-
friend ::rust::layout;
|
|
1131
|
-
struct layout {
|
|
1132
|
-
static ::std::size_t size() noexcept;
|
|
1133
|
-
static ::std::size_t align() noexcept;
|
|
1134
|
-
};
|
|
1135
|
-
};
|
|
1136
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$Path
|
|
1137
|
-
|
|
1138
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$Matrix
|
|
1139
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$Matrix
|
|
1140
|
-
struct Matrix final : public ::rust::Opaque {
|
|
1141
|
-
~Matrix() = delete;
|
|
1142
|
-
|
|
1143
|
-
private:
|
|
1144
|
-
friend ::rust::layout;
|
|
1145
|
-
struct layout {
|
|
1146
|
-
static ::std::size_t size() noexcept;
|
|
1147
|
-
static ::std::size_t align() noexcept;
|
|
1148
|
-
};
|
|
1149
|
-
};
|
|
1150
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$Matrix
|
|
1151
|
-
|
|
1152
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageData
|
|
1153
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageData
|
|
1154
|
-
struct ImageData final : public ::rust::Opaque {
|
|
1155
|
-
~ImageData() = delete;
|
|
1156
|
-
|
|
1157
|
-
private:
|
|
1158
|
-
friend ::rust::layout;
|
|
1159
|
-
struct layout {
|
|
1160
|
-
static ::std::size_t size() noexcept;
|
|
1161
|
-
static ::std::size_t align() noexcept;
|
|
1162
|
-
};
|
|
1163
|
-
};
|
|
1164
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageData
|
|
1165
|
-
|
|
1166
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageAsset
|
|
1167
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageAsset
|
|
1168
|
-
struct ImageAsset final : public ::rust::Opaque {
|
|
1169
|
-
~ImageAsset() = delete;
|
|
1170
|
-
|
|
1171
|
-
private:
|
|
1172
|
-
friend ::rust::layout;
|
|
1173
|
-
struct layout {
|
|
1174
|
-
static ::std::size_t size() noexcept;
|
|
1175
|
-
static ::std::size_t align() noexcept;
|
|
1176
|
-
};
|
|
1177
|
-
};
|
|
1178
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$ImageAsset
|
|
1179
|
-
|
|
1180
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextDecoder
|
|
1181
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextDecoder
|
|
1182
|
-
struct TextDecoder final : public ::rust::Opaque {
|
|
1183
|
-
~TextDecoder() = delete;
|
|
1184
|
-
|
|
1185
|
-
private:
|
|
1186
|
-
friend ::rust::layout;
|
|
1187
|
-
struct layout {
|
|
1188
|
-
static ::std::size_t size() noexcept;
|
|
1189
|
-
static ::std::size_t align() noexcept;
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
1192
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextDecoder
|
|
1193
|
-
|
|
1194
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextEncoder
|
|
1195
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextEncoder
|
|
1196
|
-
struct TextEncoder final : public ::rust::Opaque {
|
|
1197
|
-
~TextEncoder() = delete;
|
|
1198
|
-
|
|
1199
|
-
private:
|
|
1200
|
-
friend ::rust::layout;
|
|
1201
|
-
struct layout {
|
|
1202
|
-
static ::std::size_t size() noexcept;
|
|
1203
|
-
static ::std::size_t align() noexcept;
|
|
1204
|
-
};
|
|
1205
|
-
};
|
|
1206
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$TextEncoder
|
|
1207
|
-
|
|
1208
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLExtensionType
|
|
1209
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLExtensionType
|
|
1210
|
-
enum class WebGLExtensionType : ::std::uint8_t {
|
|
1211
|
-
EXT_blend_minmax = 0,
|
|
1212
|
-
EXT_color_buffer_half_float = 1,
|
|
1213
|
-
EXT_disjoint_timer_query = 2,
|
|
1214
|
-
EXT_sRGB = 3,
|
|
1215
|
-
EXT_shader_texture_lod = 4,
|
|
1216
|
-
EXT_texture_filter_anisotropic = 5,
|
|
1217
|
-
OES_element_index_uint = 6,
|
|
1218
|
-
OES_standard_derivatives = 7,
|
|
1219
|
-
OES_texture_float = 8,
|
|
1220
|
-
OES_texture_float_linear = 9,
|
|
1221
|
-
OES_texture_half_float = 10,
|
|
1222
|
-
OES_texture_half_float_linear = 11,
|
|
1223
|
-
OES_vertex_array_object = 12,
|
|
1224
|
-
WEBGL_color_buffer_float = 13,
|
|
1225
|
-
WEBGL_compressed_texture_atc = 14,
|
|
1226
|
-
WEBGL_compressed_texture_etc1 = 15,
|
|
1227
|
-
WEBGL_compressed_texture_s3tc = 16,
|
|
1228
|
-
WEBGL_compressed_texture_s3tc_srgb = 17,
|
|
1229
|
-
WEBGL_compressed_texture_etc = 18,
|
|
1230
|
-
WEBGL_compressed_texture_pvrtc = 19,
|
|
1231
|
-
WEBGL_lose_context = 20,
|
|
1232
|
-
ANGLE_instanced_arrays = 21,
|
|
1233
|
-
WEBGL_depth_texture = 22,
|
|
1234
|
-
WEBGL_draw_buffers = 23,
|
|
1235
|
-
OES_fbo_render_mipmap = 24,
|
|
1236
|
-
None = 25,
|
|
1237
|
-
};
|
|
1238
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLExtensionType
|
|
1239
|
-
|
|
1240
|
-
#ifndef CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLResultType
|
|
1241
|
-
#define CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLResultType
|
|
1242
|
-
enum class WebGLResultType : ::std::uint8_t {
|
|
1243
|
-
Boolean = 0,
|
|
1244
|
-
I32Array = 1,
|
|
1245
|
-
U32Array = 2,
|
|
1246
|
-
F32Array = 3,
|
|
1247
|
-
BooleanArray = 4,
|
|
1248
|
-
U32 = 5,
|
|
1249
|
-
I32 = 6,
|
|
1250
|
-
F32 = 7,
|
|
1251
|
-
String = 8,
|
|
1252
|
-
None = 9,
|
|
1253
|
-
};
|
|
1254
|
-
#endif // CXXBRIDGE1_ENUM_org$nativescript$canvas$WebGLResultType
|
|
1255
|
-
|
|
1256
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLState
|
|
1257
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLState
|
|
1258
|
-
struct WebGLState final : public ::rust::Opaque {
|
|
1259
|
-
~WebGLState() = delete;
|
|
1260
|
-
|
|
1261
|
-
private:
|
|
1262
|
-
friend ::rust::layout;
|
|
1263
|
-
struct layout {
|
|
1264
|
-
static ::std::size_t size() noexcept;
|
|
1265
|
-
static ::std::size_t align() noexcept;
|
|
1266
|
-
};
|
|
1267
|
-
};
|
|
1268
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLState
|
|
1269
|
-
|
|
1270
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLActiveInfo
|
|
1271
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLActiveInfo
|
|
1272
|
-
struct WebGLActiveInfo final : public ::rust::Opaque {
|
|
1273
|
-
~WebGLActiveInfo() = delete;
|
|
1274
|
-
|
|
1275
|
-
private:
|
|
1276
|
-
friend ::rust::layout;
|
|
1277
|
-
struct layout {
|
|
1278
|
-
static ::std::size_t size() noexcept;
|
|
1279
|
-
static ::std::size_t align() noexcept;
|
|
1280
|
-
};
|
|
1281
|
-
};
|
|
1282
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLActiveInfo
|
|
1283
|
-
|
|
1284
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLResult
|
|
1285
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLResult
|
|
1286
|
-
struct WebGLResult final : public ::rust::Opaque {
|
|
1287
|
-
~WebGLResult() = delete;
|
|
1288
|
-
|
|
1289
|
-
private:
|
|
1290
|
-
friend ::rust::layout;
|
|
1291
|
-
struct layout {
|
|
1292
|
-
static ::std::size_t size() noexcept;
|
|
1293
|
-
static ::std::size_t align() noexcept;
|
|
1294
|
-
};
|
|
1295
|
-
};
|
|
1296
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLResult
|
|
1297
|
-
|
|
1298
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$ContextAttributes
|
|
1299
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$ContextAttributes
|
|
1300
|
-
struct ContextAttributes final : public ::rust::Opaque {
|
|
1301
|
-
~ContextAttributes() = delete;
|
|
1302
|
-
|
|
1303
|
-
private:
|
|
1304
|
-
friend ::rust::layout;
|
|
1305
|
-
struct layout {
|
|
1306
|
-
static ::std::size_t size() noexcept;
|
|
1307
|
-
static ::std::size_t align() noexcept;
|
|
1308
|
-
};
|
|
1309
|
-
};
|
|
1310
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$ContextAttributes
|
|
1311
|
-
|
|
1312
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLExtension
|
|
1313
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLExtension
|
|
1314
|
-
struct WebGLExtension final : public ::rust::Opaque {
|
|
1315
|
-
~WebGLExtension() = delete;
|
|
1316
|
-
|
|
1317
|
-
private:
|
|
1318
|
-
friend ::rust::layout;
|
|
1319
|
-
struct layout {
|
|
1320
|
-
static ::std::size_t size() noexcept;
|
|
1321
|
-
static ::std::size_t align() noexcept;
|
|
1322
|
-
};
|
|
1323
|
-
};
|
|
1324
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLExtension
|
|
1325
|
-
|
|
1326
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLFramebufferAttachmentParameter
|
|
1327
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLFramebufferAttachmentParameter
|
|
1328
|
-
struct WebGLFramebufferAttachmentParameter final : public ::rust::Opaque {
|
|
1329
|
-
~WebGLFramebufferAttachmentParameter() = delete;
|
|
1330
|
-
|
|
1331
|
-
private:
|
|
1332
|
-
friend ::rust::layout;
|
|
1333
|
-
struct layout {
|
|
1334
|
-
static ::std::size_t size() noexcept;
|
|
1335
|
-
static ::std::size_t align() noexcept;
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLFramebufferAttachmentParameter
|
|
1339
|
-
|
|
1340
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLShaderPrecisionFormat
|
|
1341
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLShaderPrecisionFormat
|
|
1342
|
-
struct WebGLShaderPrecisionFormat final : public ::rust::Opaque {
|
|
1343
|
-
~WebGLShaderPrecisionFormat() = delete;
|
|
1344
|
-
|
|
1345
|
-
private:
|
|
1346
|
-
friend ::rust::layout;
|
|
1347
|
-
struct layout {
|
|
1348
|
-
static ::std::size_t size() noexcept;
|
|
1349
|
-
static ::std::size_t align() noexcept;
|
|
1350
|
-
};
|
|
1351
|
-
};
|
|
1352
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLShaderPrecisionFormat
|
|
1353
|
-
|
|
1354
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_blend_minmax
|
|
1355
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_blend_minmax
|
|
1356
|
-
struct EXT_blend_minmax final : public ::rust::Opaque {
|
|
1357
|
-
~EXT_blend_minmax() = delete;
|
|
1358
|
-
|
|
1359
|
-
private:
|
|
1360
|
-
friend ::rust::layout;
|
|
1361
|
-
struct layout {
|
|
1362
|
-
static ::std::size_t size() noexcept;
|
|
1363
|
-
static ::std::size_t align() noexcept;
|
|
1364
|
-
};
|
|
1365
|
-
};
|
|
1366
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_blend_minmax
|
|
1367
|
-
|
|
1368
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_color_buffer_half_float
|
|
1369
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_color_buffer_half_float
|
|
1370
|
-
struct EXT_color_buffer_half_float final : public ::rust::Opaque {
|
|
1371
|
-
~EXT_color_buffer_half_float() = delete;
|
|
1372
|
-
|
|
1373
|
-
private:
|
|
1374
|
-
friend ::rust::layout;
|
|
1375
|
-
struct layout {
|
|
1376
|
-
static ::std::size_t size() noexcept;
|
|
1377
|
-
static ::std::size_t align() noexcept;
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_color_buffer_half_float
|
|
1381
|
-
|
|
1382
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_disjoint_timer_query
|
|
1383
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_disjoint_timer_query
|
|
1384
|
-
struct EXT_disjoint_timer_query final : public ::rust::Opaque {
|
|
1385
|
-
~EXT_disjoint_timer_query() = delete;
|
|
1386
|
-
|
|
1387
|
-
private:
|
|
1388
|
-
friend ::rust::layout;
|
|
1389
|
-
struct layout {
|
|
1390
|
-
static ::std::size_t size() noexcept;
|
|
1391
|
-
static ::std::size_t align() noexcept;
|
|
1392
|
-
};
|
|
1393
|
-
};
|
|
1394
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_disjoint_timer_query
|
|
1395
|
-
|
|
1396
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_sRGB
|
|
1397
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_sRGB
|
|
1398
|
-
struct EXT_sRGB final : public ::rust::Opaque {
|
|
1399
|
-
~EXT_sRGB() = delete;
|
|
1400
|
-
|
|
1401
|
-
private:
|
|
1402
|
-
friend ::rust::layout;
|
|
1403
|
-
struct layout {
|
|
1404
|
-
static ::std::size_t size() noexcept;
|
|
1405
|
-
static ::std::size_t align() noexcept;
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_sRGB
|
|
1409
|
-
|
|
1410
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_shader_texture_lod
|
|
1411
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_shader_texture_lod
|
|
1412
|
-
struct EXT_shader_texture_lod final : public ::rust::Opaque {
|
|
1413
|
-
~EXT_shader_texture_lod() = delete;
|
|
1414
|
-
|
|
1415
|
-
private:
|
|
1416
|
-
friend ::rust::layout;
|
|
1417
|
-
struct layout {
|
|
1418
|
-
static ::std::size_t size() noexcept;
|
|
1419
|
-
static ::std::size_t align() noexcept;
|
|
1420
|
-
};
|
|
1421
|
-
};
|
|
1422
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_shader_texture_lod
|
|
1423
|
-
|
|
1424
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_texture_filter_anisotropic
|
|
1425
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_texture_filter_anisotropic
|
|
1426
|
-
struct EXT_texture_filter_anisotropic final : public ::rust::Opaque {
|
|
1427
|
-
~EXT_texture_filter_anisotropic() = delete;
|
|
1428
|
-
|
|
1429
|
-
private:
|
|
1430
|
-
friend ::rust::layout;
|
|
1431
|
-
struct layout {
|
|
1432
|
-
static ::std::size_t size() noexcept;
|
|
1433
|
-
static ::std::size_t align() noexcept;
|
|
1434
|
-
};
|
|
1435
|
-
};
|
|
1436
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$EXT_texture_filter_anisotropic
|
|
1437
|
-
|
|
1438
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_element_index_uint
|
|
1439
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_element_index_uint
|
|
1440
|
-
struct OES_element_index_uint final : public ::rust::Opaque {
|
|
1441
|
-
~OES_element_index_uint() = delete;
|
|
1442
|
-
|
|
1443
|
-
private:
|
|
1444
|
-
friend ::rust::layout;
|
|
1445
|
-
struct layout {
|
|
1446
|
-
static ::std::size_t size() noexcept;
|
|
1447
|
-
static ::std::size_t align() noexcept;
|
|
1448
|
-
};
|
|
1449
|
-
};
|
|
1450
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_element_index_uint
|
|
1451
|
-
|
|
1452
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_standard_derivatives
|
|
1453
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_standard_derivatives
|
|
1454
|
-
struct OES_standard_derivatives final : public ::rust::Opaque {
|
|
1455
|
-
~OES_standard_derivatives() = delete;
|
|
1456
|
-
|
|
1457
|
-
private:
|
|
1458
|
-
friend ::rust::layout;
|
|
1459
|
-
struct layout {
|
|
1460
|
-
static ::std::size_t size() noexcept;
|
|
1461
|
-
static ::std::size_t align() noexcept;
|
|
1462
|
-
};
|
|
1463
|
-
};
|
|
1464
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_standard_derivatives
|
|
1465
|
-
|
|
1466
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float
|
|
1467
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float
|
|
1468
|
-
struct OES_texture_float final : public ::rust::Opaque {
|
|
1469
|
-
~OES_texture_float() = delete;
|
|
1470
|
-
|
|
1471
|
-
private:
|
|
1472
|
-
friend ::rust::layout;
|
|
1473
|
-
struct layout {
|
|
1474
|
-
static ::std::size_t size() noexcept;
|
|
1475
|
-
static ::std::size_t align() noexcept;
|
|
1476
|
-
};
|
|
1477
|
-
};
|
|
1478
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float
|
|
1479
|
-
|
|
1480
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float_linear
|
|
1481
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float_linear
|
|
1482
|
-
struct OES_texture_float_linear final : public ::rust::Opaque {
|
|
1483
|
-
~OES_texture_float_linear() = delete;
|
|
1484
|
-
|
|
1485
|
-
private:
|
|
1486
|
-
friend ::rust::layout;
|
|
1487
|
-
struct layout {
|
|
1488
|
-
static ::std::size_t size() noexcept;
|
|
1489
|
-
static ::std::size_t align() noexcept;
|
|
1490
|
-
};
|
|
1491
|
-
};
|
|
1492
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_float_linear
|
|
1493
|
-
|
|
1494
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float
|
|
1495
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float
|
|
1496
|
-
struct OES_texture_half_float final : public ::rust::Opaque {
|
|
1497
|
-
~OES_texture_half_float() = delete;
|
|
1498
|
-
|
|
1499
|
-
private:
|
|
1500
|
-
friend ::rust::layout;
|
|
1501
|
-
struct layout {
|
|
1502
|
-
static ::std::size_t size() noexcept;
|
|
1503
|
-
static ::std::size_t align() noexcept;
|
|
1504
|
-
};
|
|
1505
|
-
};
|
|
1506
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float
|
|
1507
|
-
|
|
1508
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float_linear
|
|
1509
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float_linear
|
|
1510
|
-
struct OES_texture_half_float_linear final : public ::rust::Opaque {
|
|
1511
|
-
~OES_texture_half_float_linear() = delete;
|
|
1512
|
-
|
|
1513
|
-
private:
|
|
1514
|
-
friend ::rust::layout;
|
|
1515
|
-
struct layout {
|
|
1516
|
-
static ::std::size_t size() noexcept;
|
|
1517
|
-
static ::std::size_t align() noexcept;
|
|
1518
|
-
};
|
|
1519
|
-
};
|
|
1520
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_texture_half_float_linear
|
|
1521
|
-
|
|
1522
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_vertex_array_object
|
|
1523
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_vertex_array_object
|
|
1524
|
-
struct OES_vertex_array_object final : public ::rust::Opaque {
|
|
1525
|
-
~OES_vertex_array_object() = delete;
|
|
1526
|
-
|
|
1527
|
-
private:
|
|
1528
|
-
friend ::rust::layout;
|
|
1529
|
-
struct layout {
|
|
1530
|
-
static ::std::size_t size() noexcept;
|
|
1531
|
-
static ::std::size_t align() noexcept;
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$OES_vertex_array_object
|
|
1535
|
-
|
|
1536
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_color_buffer_float
|
|
1537
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_color_buffer_float
|
|
1538
|
-
struct WEBGL_color_buffer_float final : public ::rust::Opaque {
|
|
1539
|
-
~WEBGL_color_buffer_float() = delete;
|
|
1540
|
-
|
|
1541
|
-
private:
|
|
1542
|
-
friend ::rust::layout;
|
|
1543
|
-
struct layout {
|
|
1544
|
-
static ::std::size_t size() noexcept;
|
|
1545
|
-
static ::std::size_t align() noexcept;
|
|
1546
|
-
};
|
|
1547
|
-
};
|
|
1548
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_color_buffer_float
|
|
1549
|
-
|
|
1550
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_atc
|
|
1551
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_atc
|
|
1552
|
-
struct WEBGL_compressed_texture_atc final : public ::rust::Opaque {
|
|
1553
|
-
~WEBGL_compressed_texture_atc() = delete;
|
|
1554
|
-
|
|
1555
|
-
private:
|
|
1556
|
-
friend ::rust::layout;
|
|
1557
|
-
struct layout {
|
|
1558
|
-
static ::std::size_t size() noexcept;
|
|
1559
|
-
static ::std::size_t align() noexcept;
|
|
1560
|
-
};
|
|
1561
|
-
};
|
|
1562
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_atc
|
|
1563
|
-
|
|
1564
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc1
|
|
1565
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc1
|
|
1566
|
-
struct WEBGL_compressed_texture_etc1 final : public ::rust::Opaque {
|
|
1567
|
-
~WEBGL_compressed_texture_etc1() = delete;
|
|
1568
|
-
|
|
1569
|
-
private:
|
|
1570
|
-
friend ::rust::layout;
|
|
1571
|
-
struct layout {
|
|
1572
|
-
static ::std::size_t size() noexcept;
|
|
1573
|
-
static ::std::size_t align() noexcept;
|
|
1574
|
-
};
|
|
1575
|
-
};
|
|
1576
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc1
|
|
1577
|
-
|
|
1578
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc
|
|
1579
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc
|
|
1580
|
-
struct WEBGL_compressed_texture_s3tc final : public ::rust::Opaque {
|
|
1581
|
-
~WEBGL_compressed_texture_s3tc() = delete;
|
|
1582
|
-
|
|
1583
|
-
private:
|
|
1584
|
-
friend ::rust::layout;
|
|
1585
|
-
struct layout {
|
|
1586
|
-
static ::std::size_t size() noexcept;
|
|
1587
|
-
static ::std::size_t align() noexcept;
|
|
1588
|
-
};
|
|
1589
|
-
};
|
|
1590
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc
|
|
1591
|
-
|
|
1592
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc_srgb
|
|
1593
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc_srgb
|
|
1594
|
-
struct WEBGL_compressed_texture_s3tc_srgb final : public ::rust::Opaque {
|
|
1595
|
-
~WEBGL_compressed_texture_s3tc_srgb() = delete;
|
|
1596
|
-
|
|
1597
|
-
private:
|
|
1598
|
-
friend ::rust::layout;
|
|
1599
|
-
struct layout {
|
|
1600
|
-
static ::std::size_t size() noexcept;
|
|
1601
|
-
static ::std::size_t align() noexcept;
|
|
1602
|
-
};
|
|
1603
|
-
};
|
|
1604
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_s3tc_srgb
|
|
1605
|
-
|
|
1606
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc
|
|
1607
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc
|
|
1608
|
-
struct WEBGL_compressed_texture_etc final : public ::rust::Opaque {
|
|
1609
|
-
~WEBGL_compressed_texture_etc() = delete;
|
|
1610
|
-
|
|
1611
|
-
private:
|
|
1612
|
-
friend ::rust::layout;
|
|
1613
|
-
struct layout {
|
|
1614
|
-
static ::std::size_t size() noexcept;
|
|
1615
|
-
static ::std::size_t align() noexcept;
|
|
1616
|
-
};
|
|
1617
|
-
};
|
|
1618
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_etc
|
|
1619
|
-
|
|
1620
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_pvrtc
|
|
1621
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_pvrtc
|
|
1622
|
-
struct WEBGL_compressed_texture_pvrtc final : public ::rust::Opaque {
|
|
1623
|
-
~WEBGL_compressed_texture_pvrtc() = delete;
|
|
1624
|
-
|
|
1625
|
-
private:
|
|
1626
|
-
friend ::rust::layout;
|
|
1627
|
-
struct layout {
|
|
1628
|
-
static ::std::size_t size() noexcept;
|
|
1629
|
-
static ::std::size_t align() noexcept;
|
|
1630
|
-
};
|
|
1631
|
-
};
|
|
1632
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_compressed_texture_pvrtc
|
|
1633
|
-
|
|
1634
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_lose_context
|
|
1635
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_lose_context
|
|
1636
|
-
struct WEBGL_lose_context final : public ::rust::Opaque {
|
|
1637
|
-
~WEBGL_lose_context() = delete;
|
|
1638
|
-
|
|
1639
|
-
private:
|
|
1640
|
-
friend ::rust::layout;
|
|
1641
|
-
struct layout {
|
|
1642
|
-
static ::std::size_t size() noexcept;
|
|
1643
|
-
static ::std::size_t align() noexcept;
|
|
1644
|
-
};
|
|
1645
|
-
};
|
|
1646
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_lose_context
|
|
1647
|
-
|
|
1648
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$ANGLE_instanced_arrays
|
|
1649
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$ANGLE_instanced_arrays
|
|
1650
|
-
struct ANGLE_instanced_arrays final : public ::rust::Opaque {
|
|
1651
|
-
~ANGLE_instanced_arrays() = delete;
|
|
1652
|
-
|
|
1653
|
-
private:
|
|
1654
|
-
friend ::rust::layout;
|
|
1655
|
-
struct layout {
|
|
1656
|
-
static ::std::size_t size() noexcept;
|
|
1657
|
-
static ::std::size_t align() noexcept;
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$ANGLE_instanced_arrays
|
|
1661
|
-
|
|
1662
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_depth_texture
|
|
1663
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_depth_texture
|
|
1664
|
-
struct WEBGL_depth_texture final : public ::rust::Opaque {
|
|
1665
|
-
~WEBGL_depth_texture() = delete;
|
|
1666
|
-
|
|
1667
|
-
private:
|
|
1668
|
-
friend ::rust::layout;
|
|
1669
|
-
struct layout {
|
|
1670
|
-
static ::std::size_t size() noexcept;
|
|
1671
|
-
static ::std::size_t align() noexcept;
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_depth_texture
|
|
1675
|
-
|
|
1676
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_draw_buffers
|
|
1677
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_draw_buffers
|
|
1678
|
-
struct WEBGL_draw_buffers final : public ::rust::Opaque {
|
|
1679
|
-
~WEBGL_draw_buffers() = delete;
|
|
1680
|
-
|
|
1681
|
-
private:
|
|
1682
|
-
friend ::rust::layout;
|
|
1683
|
-
struct layout {
|
|
1684
|
-
static ::std::size_t size() noexcept;
|
|
1685
|
-
static ::std::size_t align() noexcept;
|
|
1686
|
-
};
|
|
1687
|
-
};
|
|
1688
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WEBGL_draw_buffers
|
|
1689
|
-
|
|
1690
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLSync
|
|
1691
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLSync
|
|
1692
|
-
struct WebGLSync final : public ::rust::Opaque {
|
|
1693
|
-
~WebGLSync() = delete;
|
|
1694
|
-
|
|
1695
|
-
private:
|
|
1696
|
-
friend ::rust::layout;
|
|
1697
|
-
struct layout {
|
|
1698
|
-
static ::std::size_t size() noexcept;
|
|
1699
|
-
static ::std::size_t align() noexcept;
|
|
1700
|
-
};
|
|
1701
|
-
};
|
|
1702
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLSync
|
|
1703
|
-
|
|
1704
|
-
#ifndef CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLIndexedParameter
|
|
1705
|
-
#define CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLIndexedParameter
|
|
1706
|
-
struct WebGLIndexedParameter final : public ::rust::Opaque {
|
|
1707
|
-
~WebGLIndexedParameter() = delete;
|
|
1708
|
-
|
|
1709
|
-
private:
|
|
1710
|
-
friend ::rust::layout;
|
|
1711
|
-
struct layout {
|
|
1712
|
-
static ::std::size_t size() noexcept;
|
|
1713
|
-
static ::std::size_t align() noexcept;
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
|
-
#endif // CXXBRIDGE1_STRUCT_org$nativescript$canvas$WebGLIndexedParameter
|
|
1717
|
-
|
|
1718
|
-
::rust::Box<::org::nativescript::canvas::FileHelper> canvas_native_helper_read_file(::rust::Str path) noexcept;
|
|
1719
|
-
|
|
1720
|
-
bool canvas_native_helper_read_file_has_error(::org::nativescript::canvas::FileHelper const &file) noexcept;
|
|
1721
|
-
|
|
1722
|
-
::rust::Vec<::std::uint8_t> canvas_native_helper_read_file_get_data(::rust::Box<::org::nativescript::canvas::FileHelper> file) noexcept;
|
|
1723
|
-
|
|
1724
|
-
::rust::String canvas_native_helper_read_file_get_error(::org::nativescript::canvas::FileHelper const &file) noexcept;
|
|
1725
|
-
|
|
1726
|
-
::rust::Box<::org::nativescript::canvas::Raf> canvas_native_raf_create(::rust::isize callback) noexcept;
|
|
1727
|
-
|
|
1728
|
-
void canvas_native_raf_start(::org::nativescript::canvas::Raf &raf) noexcept;
|
|
1729
|
-
|
|
1730
|
-
void canvas_native_raf_stop(::org::nativescript::canvas::Raf &raf) noexcept;
|
|
1731
|
-
|
|
1732
|
-
bool canvas_native_raf_get_started(::org::nativescript::canvas::Raf const &raf) noexcept;
|
|
1733
|
-
|
|
1734
|
-
void console_log(::rust::Str text) noexcept;
|
|
1735
|
-
|
|
1736
|
-
::rust::Vec<::std::uint8_t> str_to_buf(::rust::Str value) noexcept;
|
|
1737
|
-
|
|
1738
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_bitmap_create_from_asset(::org::nativescript::canvas::ImageAsset &asset, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height) noexcept;
|
|
1739
|
-
|
|
1740
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_bitmap_create_from_asset_src_rect(::org::nativescript::canvas::ImageAsset &asset, float sx, float sy, float s_width, float s_height, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height) noexcept;
|
|
1741
|
-
|
|
1742
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_bitmap_create_from_encoded_bytes(::rust::Slice<::std::uint8_t const> bytes, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height) noexcept;
|
|
1743
|
-
|
|
1744
|
-
bool canvas_native_image_bitmap_create_from_encoded_bytes_with_output(::rust::Slice<::std::uint8_t const> bytes, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height, ::org::nativescript::canvas::ImageAsset &output) noexcept;
|
|
1745
|
-
|
|
1746
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_bitmap_create_from_encoded_bytes_src_rect(::rust::Slice<::std::uint8_t const> bytes, float sx, float sy, float s_width, float s_height, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height) noexcept;
|
|
1747
|
-
|
|
1748
|
-
bool canvas_native_image_bitmap_create_from_encoded_bytes_src_rect_with_output(::rust::Slice<::std::uint8_t const> bytes, float sx, float sy, float s_width, float s_height, bool flip_y, ::org::nativescript::canvas::ImageBitmapPremultiplyAlpha premultiply_alpha, ::org::nativescript::canvas::ImageBitmapColorSpaceConversion color_space_conversion, ::org::nativescript::canvas::ImageBitmapResizeQuality resize_quality, float resize_width, float resize_height, ::org::nativescript::canvas::ImageAsset &output) noexcept;
|
|
1749
|
-
|
|
1750
|
-
void canvas_native_path_add_path(::org::nativescript::canvas::Path &path, ::org::nativescript::canvas::Path const &path_to_add) noexcept;
|
|
1751
|
-
|
|
1752
|
-
::rust::Box<::org::nativescript::canvas::Path> canvas_native_path_create() noexcept;
|
|
1753
|
-
|
|
1754
|
-
::rust::Box<::org::nativescript::canvas::Path> canvas_native_path_create_with_path(::org::nativescript::canvas::Path const &path) noexcept;
|
|
1755
|
-
|
|
1756
|
-
::rust::Box<::org::nativescript::canvas::Path> canvas_native_path_create_with_string(::rust::String string) noexcept;
|
|
1757
|
-
|
|
1758
|
-
::rust::Box<::org::nativescript::canvas::Path> canvas_native_path_create_with_str(::rust::Str string) noexcept;
|
|
1759
|
-
|
|
1760
|
-
void canvas_native_path_close_path(::org::nativescript::canvas::Path &path) noexcept;
|
|
1761
|
-
|
|
1762
|
-
void canvas_native_path_move_to(::org::nativescript::canvas::Path &path, float x, float y) noexcept;
|
|
1763
|
-
|
|
1764
|
-
void canvas_native_path_line_to(::org::nativescript::canvas::Path &path, float x, float y) noexcept;
|
|
1765
|
-
|
|
1766
|
-
void canvas_native_path_bezier_curve_to(::org::nativescript::canvas::Path &path, float cp1x, float cp1y, float cp2x, float cp2y, float x, float y) noexcept;
|
|
1767
|
-
|
|
1768
|
-
void canvas_native_path_quadratic_curve_to(::org::nativescript::canvas::Path &path, float cpx, float cpy, float x, float y) noexcept;
|
|
1769
|
-
|
|
1770
|
-
void canvas_native_path_arc(::org::nativescript::canvas::Path &path, float x, float y, float radius, float start_angle, float end_angle, bool anti_clockwise) noexcept;
|
|
1771
|
-
|
|
1772
|
-
void canvas_native_path_arc_to(::org::nativescript::canvas::Path &path, float x1, float y1, float x2, float y2, float radius) noexcept;
|
|
1773
|
-
|
|
1774
|
-
void canvas_native_path_ellipse(::org::nativescript::canvas::Path &path, float x, float y, float radius_x, float radius_y, float rotation, float start_angle, float end_angle, bool anticlockwise) noexcept;
|
|
1775
|
-
|
|
1776
|
-
void canvas_native_path_rect(::org::nativescript::canvas::Path &path, float x, float y, float width, float height) noexcept;
|
|
1777
|
-
|
|
1778
|
-
void canvas_native_path_round_rect(::org::nativescript::canvas::Path &path, float x, float y, float width, float height, ::rust::Slice<float const> radii) noexcept;
|
|
1779
|
-
|
|
1780
|
-
void canvas_native_path_round_rect_tl_tr_br_bl(::org::nativescript::canvas::Path &path, float x, float y, float width, float height, float top_left, float top_right, float bottom_right, float bottom_left) noexcept;
|
|
1781
|
-
|
|
1782
|
-
::rust::String canvas_native_path_to_string(::org::nativescript::canvas::Path const &path) noexcept;
|
|
1783
|
-
|
|
1784
|
-
::rust::Box<::org::nativescript::canvas::Matrix> canvas_native_matrix_create() noexcept;
|
|
1785
|
-
|
|
1786
|
-
void canvas_native_matrix_update(::org::nativescript::canvas::Matrix &matrix, ::rust::Slice<float const> slice) noexcept;
|
|
1787
|
-
|
|
1788
|
-
void canvas_native_matrix_update_3d(::org::nativescript::canvas::Matrix &matrix, ::std::array<float, 16> const &slice) noexcept;
|
|
1789
|
-
|
|
1790
|
-
float canvas_native_matrix_get_a(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1791
|
-
|
|
1792
|
-
void canvas_native_matrix_set_a(::org::nativescript::canvas::Matrix &matrix, float a) noexcept;
|
|
1793
|
-
|
|
1794
|
-
float canvas_native_matrix_get_b(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1795
|
-
|
|
1796
|
-
void canvas_native_matrix_set_b(::org::nativescript::canvas::Matrix &matrix, float b) noexcept;
|
|
1797
|
-
|
|
1798
|
-
float canvas_native_matrix_get_c(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1799
|
-
|
|
1800
|
-
void canvas_native_matrix_set_c(::org::nativescript::canvas::Matrix &matrix, float c) noexcept;
|
|
1801
|
-
|
|
1802
|
-
float canvas_native_matrix_get_d(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1803
|
-
|
|
1804
|
-
void canvas_native_matrix_set_d(::org::nativescript::canvas::Matrix &matrix, float d) noexcept;
|
|
1805
|
-
|
|
1806
|
-
float canvas_native_matrix_get_e(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1807
|
-
|
|
1808
|
-
void canvas_native_matrix_set_e(::org::nativescript::canvas::Matrix &matrix, float e) noexcept;
|
|
1809
|
-
|
|
1810
|
-
float canvas_native_matrix_get_f(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1811
|
-
|
|
1812
|
-
void canvas_native_matrix_set_f(::org::nativescript::canvas::Matrix &matrix, float f) noexcept;
|
|
1813
|
-
|
|
1814
|
-
float canvas_native_matrix_get_m11(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1815
|
-
|
|
1816
|
-
void canvas_native_matrix_set_m11(::org::nativescript::canvas::Matrix &matrix, float m11) noexcept;
|
|
1817
|
-
|
|
1818
|
-
float canvas_native_matrix_get_m12(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1819
|
-
|
|
1820
|
-
void canvas_native_matrix_set_m12(::org::nativescript::canvas::Matrix &matrix, float m12) noexcept;
|
|
1821
|
-
|
|
1822
|
-
float canvas_native_matrix_get_m13(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1823
|
-
|
|
1824
|
-
void canvas_native_matrix_set_m13(::org::nativescript::canvas::Matrix &matrix, float m13) noexcept;
|
|
1825
|
-
|
|
1826
|
-
float canvas_native_matrix_get_m14(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1827
|
-
|
|
1828
|
-
void canvas_native_matrix_set_m14(::org::nativescript::canvas::Matrix &matrix, float m14) noexcept;
|
|
1829
|
-
|
|
1830
|
-
float canvas_native_matrix_get_m21(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1831
|
-
|
|
1832
|
-
void canvas_native_matrix_set_m21(::org::nativescript::canvas::Matrix &matrix, float m21) noexcept;
|
|
1833
|
-
|
|
1834
|
-
float canvas_native_matrix_get_m22(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1835
|
-
|
|
1836
|
-
void canvas_native_matrix_set_m22(::org::nativescript::canvas::Matrix &matrix, float m22) noexcept;
|
|
1837
|
-
|
|
1838
|
-
float canvas_native_matrix_get_m23(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1839
|
-
|
|
1840
|
-
void canvas_native_matrix_set_m23(::org::nativescript::canvas::Matrix &matrix, float m23) noexcept;
|
|
1841
|
-
|
|
1842
|
-
float canvas_native_matrix_get_m24(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1843
|
-
|
|
1844
|
-
void canvas_native_matrix_set_m24(::org::nativescript::canvas::Matrix &matrix, float m24) noexcept;
|
|
1845
|
-
|
|
1846
|
-
float canvas_native_matrix_get_m31(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1847
|
-
|
|
1848
|
-
void canvas_native_matrix_set_m31(::org::nativescript::canvas::Matrix &matrix, float m31) noexcept;
|
|
1849
|
-
|
|
1850
|
-
float canvas_native_matrix_get_m32(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1851
|
-
|
|
1852
|
-
void canvas_native_matrix_set_m32(::org::nativescript::canvas::Matrix &matrix, float m32) noexcept;
|
|
1853
|
-
|
|
1854
|
-
float canvas_native_matrix_get_m33(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1855
|
-
|
|
1856
|
-
void canvas_native_matrix_set_m33(::org::nativescript::canvas::Matrix &matrix, float m33) noexcept;
|
|
1857
|
-
|
|
1858
|
-
float canvas_native_matrix_get_m34(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1859
|
-
|
|
1860
|
-
void canvas_native_matrix_set_m34(::org::nativescript::canvas::Matrix &matrix, float m34) noexcept;
|
|
1861
|
-
|
|
1862
|
-
float canvas_native_matrix_get_m41(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1863
|
-
|
|
1864
|
-
void canvas_native_matrix_set_m41(::org::nativescript::canvas::Matrix &matrix, float m41) noexcept;
|
|
1865
|
-
|
|
1866
|
-
float canvas_native_matrix_get_m42(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1867
|
-
|
|
1868
|
-
void canvas_native_matrix_set_m42(::org::nativescript::canvas::Matrix &matrix, float m42) noexcept;
|
|
1869
|
-
|
|
1870
|
-
float canvas_native_matrix_get_m43(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1871
|
-
|
|
1872
|
-
void canvas_native_matrix_set_m43(::org::nativescript::canvas::Matrix &matrix, float m43) noexcept;
|
|
1873
|
-
|
|
1874
|
-
float canvas_native_matrix_get_m44(::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1875
|
-
|
|
1876
|
-
void canvas_native_matrix_set_m44(::org::nativescript::canvas::Matrix &matrix, float m44) noexcept;
|
|
1877
|
-
|
|
1878
|
-
::rust::Box<::org::nativescript::canvas::ImageData> canvas_native_image_data_create(::std::int32_t width, ::std::int32_t height) noexcept;
|
|
1879
|
-
|
|
1880
|
-
::std::int32_t canvas_native_image_data_get_width(::org::nativescript::canvas::ImageData const &image_data) noexcept;
|
|
1881
|
-
|
|
1882
|
-
::std::int32_t canvas_native_image_data_get_height(::org::nativescript::canvas::ImageData const &image_data) noexcept;
|
|
1883
|
-
|
|
1884
|
-
::rust::Slice<::std::uint8_t > canvas_native_image_data_get_data(::org::nativescript::canvas::ImageData &image_data) noexcept;
|
|
1885
|
-
|
|
1886
|
-
::rust::Box<::org::nativescript::canvas::ImageData> canvas_native_image_data_get_shared_instance(::org::nativescript::canvas::ImageData &image_data) noexcept;
|
|
1887
|
-
|
|
1888
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_asset_create() noexcept;
|
|
1889
|
-
|
|
1890
|
-
::rust::Box<::org::nativescript::canvas::ImageAsset> canvas_native_image_asset_shared_clone(::org::nativescript::canvas::ImageAsset const &asset) noexcept;
|
|
1891
|
-
|
|
1892
|
-
bool canvas_native_image_asset_load_from_fd(::org::nativescript::canvas::ImageAsset &asset, ::std::int32_t fd) noexcept;
|
|
1893
|
-
|
|
1894
|
-
bool canvas_native_image_asset_load_from_path(::org::nativescript::canvas::ImageAsset &asset, ::rust::Str path) noexcept;
|
|
1895
|
-
|
|
1896
|
-
bool canvas_native_image_asset_load_from_url(::org::nativescript::canvas::ImageAsset &asset, ::rust::Str url) noexcept;
|
|
1897
|
-
|
|
1898
|
-
bool canvas_native_image_asset_load_from_raw(::org::nativescript::canvas::ImageAsset &asset, ::rust::Slice<::std::uint8_t const> array) noexcept;
|
|
1899
|
-
|
|
1900
|
-
::std::int64_t canvas_native_image_asset_addr(::org::nativescript::canvas::ImageAsset &asset) noexcept;
|
|
1901
|
-
|
|
1902
|
-
::std::uint32_t canvas_native_image_asset_width(::org::nativescript::canvas::ImageAsset &asset) noexcept;
|
|
1903
|
-
|
|
1904
|
-
::std::uint32_t canvas_native_image_asset_height(::org::nativescript::canvas::ImageAsset &asset) noexcept;
|
|
1905
|
-
|
|
1906
|
-
::rust::String canvas_native_image_asset_get_error(::org::nativescript::canvas::ImageAsset &asset) noexcept;
|
|
1907
|
-
|
|
1908
|
-
bool canvas_native_image_asset_has_error(::org::nativescript::canvas::ImageAsset &asset) noexcept;
|
|
1909
|
-
|
|
1910
|
-
bool canvas_native_image_asset_scale(::org::nativescript::canvas::ImageAsset &asset, ::std::uint32_t x, ::std::uint32_t y) noexcept;
|
|
1911
|
-
|
|
1912
|
-
bool canvas_native_image_asset_save_path(::org::nativescript::canvas::ImageAsset &asset, ::rust::Str path, ::std::uint32_t format) noexcept;
|
|
1913
|
-
|
|
1914
|
-
float canvas_native_text_metrics_get_width(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1915
|
-
|
|
1916
|
-
float canvas_native_text_metrics_get_actual_bounding_box_left(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1917
|
-
|
|
1918
|
-
float canvas_native_text_metrics_get_actual_bounding_box_right(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1919
|
-
|
|
1920
|
-
float canvas_native_text_metrics_get_actual_bounding_box_ascent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1921
|
-
|
|
1922
|
-
float canvas_native_text_metrics_get_actual_bounding_box_descent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1923
|
-
|
|
1924
|
-
float canvas_native_text_metrics_get_font_bounding_box_ascent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1925
|
-
|
|
1926
|
-
float canvas_native_text_metrics_get_font_bounding_box_descent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1927
|
-
|
|
1928
|
-
float canvas_native_text_metrics_get_em_height_ascent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1929
|
-
|
|
1930
|
-
float canvas_native_text_metrics_get_em_height_descent(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1931
|
-
|
|
1932
|
-
float canvas_native_text_metrics_get_hanging_baseline(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1933
|
-
|
|
1934
|
-
float canvas_native_text_metrics_get_alphabetic_baseline(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1935
|
-
|
|
1936
|
-
float canvas_native_text_metrics_get_ideographic_baseline(::org::nativescript::canvas::TextMetrics const &metrics) noexcept;
|
|
1937
|
-
|
|
1938
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_paint_style_from_bytes(::org::nativescript::canvas::CanvasRenderingContext2D const &context, ::std::int32_t repetition, ::std::int32_t width, ::std::int32_t height, ::rust::Slice<::std::uint8_t const> bytes) noexcept;
|
|
1939
|
-
|
|
1940
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_pattern_from_ptr(::std::int64_t ptr) noexcept;
|
|
1941
|
-
|
|
1942
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_paint_style_empty() noexcept;
|
|
1943
|
-
|
|
1944
|
-
void canvas_native_gradient_add_color_stop(::org::nativescript::canvas::PaintStyle &style, float stop, ::rust::Str color) noexcept;
|
|
1945
|
-
|
|
1946
|
-
void canvas_native_pattern_set_transform(::org::nativescript::canvas::PaintStyle &pattern, ::org::nativescript::canvas::Matrix const &matrix) noexcept;
|
|
1947
|
-
|
|
1948
|
-
::rust::Box<::org::nativescript::canvas::TextDecoder> canvas_native_text_decoder_create(::rust::Str decoding) noexcept;
|
|
1949
|
-
|
|
1950
|
-
::rust::String canvas_native_text_decoder_get_encoding(::org::nativescript::canvas::TextDecoder &decoder) noexcept;
|
|
1951
|
-
|
|
1952
|
-
::rust::String canvas_native_text_decoder_decode(::org::nativescript::canvas::TextDecoder &decoder, ::rust::Slice<::std::uint8_t const> data) noexcept;
|
|
1953
|
-
|
|
1954
|
-
::rust::Box<::org::nativescript::canvas::TextEncoder> canvas_native_text_encoder_create(::rust::Str encoding) noexcept;
|
|
1955
|
-
|
|
1956
|
-
::rust::String canvas_native_text_encoder_get_encoding(::org::nativescript::canvas::TextEncoder &decoder) noexcept;
|
|
1957
|
-
|
|
1958
|
-
::rust::Vec<::std::uint8_t> canvas_native_text_encoder_encode(::org::nativescript::canvas::TextEncoder &encoder, ::rust::Str text) noexcept;
|
|
1959
|
-
|
|
1960
|
-
bool canvas_native_context_gl_make_current(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1961
|
-
|
|
1962
|
-
bool canvas_native_context_gl_swap_buffers(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1963
|
-
|
|
1964
|
-
::rust::Box<::org::nativescript::canvas::CanvasRenderingContext2D> canvas_native_context_create_with_wrapper(::std::int64_t context, ::std::int64_t gl_context) noexcept;
|
|
1965
|
-
|
|
1966
|
-
void canvas_native_context_resize(::org::nativescript::canvas::CanvasRenderingContext2D &context, float width, float height) noexcept;
|
|
1967
|
-
|
|
1968
|
-
::rust::Box<::org::nativescript::canvas::CanvasRenderingContext2D> canvas_native_context_create(float width, float height, float density, bool alpha, ::std::int32_t font_color, float ppi, ::std::uint32_t direction) noexcept;
|
|
1969
|
-
|
|
1970
|
-
::rust::Box<::org::nativescript::canvas::CanvasRenderingContext2D> canvas_native_context_create_gl(float width, float height, float density, ::std::int64_t gl_context, ::std::int32_t samples, bool alpha, ::std::int32_t font_color, float ppi, ::std::uint32_t direction) noexcept;
|
|
1971
|
-
|
|
1972
|
-
::rust::Box<::org::nativescript::canvas::CanvasRenderingContext2D> canvas_native_context_create_with_pointer(::std::int64_t pointer) noexcept;
|
|
1973
|
-
|
|
1974
|
-
::rust::Box<::org::nativescript::canvas::CanvasRenderingContext2D> canvas_native_context_create_gl_no_window(float width, float height, float density, ::std::int32_t font_color, float ppi, ::std::uint32_t direction, bool alpha) noexcept;
|
|
1975
|
-
|
|
1976
|
-
void canvas_native_context_flush(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1977
|
-
|
|
1978
|
-
void canvas_native_context_render(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1979
|
-
|
|
1980
|
-
::rust::String canvas_native_to_data_url(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str format, ::std::int32_t quality) noexcept;
|
|
1981
|
-
|
|
1982
|
-
::rust::String canvas_native_to_data_url_string(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::String format, ::std::int32_t quality) noexcept;
|
|
1983
|
-
|
|
1984
|
-
::rust::String canvas_native_to_data_url_c_string(::org::nativescript::canvas::CanvasRenderingContext2D &context, char const *format, ::std::int32_t quality) noexcept;
|
|
1985
|
-
|
|
1986
|
-
::rust::String canvas_native_context_get_filter(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1987
|
-
|
|
1988
|
-
void canvas_native_context_set_filter(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str font) noexcept;
|
|
1989
|
-
|
|
1990
|
-
::rust::String canvas_native_context_get_font(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1991
|
-
|
|
1992
|
-
void canvas_native_context_set_font(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str font) noexcept;
|
|
1993
|
-
|
|
1994
|
-
float canvas_native_context_get_global_alpha(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1995
|
-
|
|
1996
|
-
void canvas_native_context_set_global_alpha(::org::nativescript::canvas::CanvasRenderingContext2D &context, float alpha) noexcept;
|
|
1997
|
-
|
|
1998
|
-
bool canvas_native_context_get_image_smoothing_enabled(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
1999
|
-
|
|
2000
|
-
void canvas_native_context_set_image_smoothing_enabled(::org::nativescript::canvas::CanvasRenderingContext2D &context, bool enabled) noexcept;
|
|
2001
|
-
|
|
2002
|
-
::rust::Str canvas_native_context_get_image_smoothing_quality(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2003
|
-
|
|
2004
|
-
void canvas_native_context_set_image_smoothing_quality(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str quality) noexcept;
|
|
2005
|
-
|
|
2006
|
-
::rust::Str canvas_native_context_get_line_join(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2007
|
-
|
|
2008
|
-
void canvas_native_context_set_line_join(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str join) noexcept;
|
|
2009
|
-
|
|
2010
|
-
::rust::Str canvas_native_context_get_line_cap(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2011
|
-
|
|
2012
|
-
void canvas_native_context_set_line_cap(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str cap) noexcept;
|
|
2013
|
-
|
|
2014
|
-
float canvas_native_context_get_miter_limit(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2015
|
-
|
|
2016
|
-
void canvas_native_context_set_miter_limit(::org::nativescript::canvas::CanvasRenderingContext2D &context, float limit) noexcept;
|
|
2017
|
-
|
|
2018
|
-
::rust::String canvas_native_context_get_shadow_color(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2019
|
-
|
|
2020
|
-
::rust::Vec<::std::uint8_t> canvas_native_context_get_shadow_color_buf(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2021
|
-
|
|
2022
|
-
void canvas_native_context_get_shadow_color_rgba(::org::nativescript::canvas::CanvasRenderingContext2D const &context, ::std::uint8_t &r, ::std::uint8_t &g, ::std::uint8_t &b, ::std::uint8_t &a) noexcept;
|
|
2023
|
-
|
|
2024
|
-
void canvas_native_context_set_shadow_color(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str color) noexcept;
|
|
2025
|
-
|
|
2026
|
-
void canvas_native_context_set_shadow_color_rgba(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::uint8_t r, ::std::uint8_t g, ::std::uint8_t b, ::std::uint8_t a) noexcept;
|
|
2027
|
-
|
|
2028
|
-
float canvas_native_context_get_shadow_blur(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2029
|
-
|
|
2030
|
-
void canvas_native_context_set_shadow_blur(::org::nativescript::canvas::CanvasRenderingContext2D &context, float blur) noexcept;
|
|
2031
|
-
|
|
2032
|
-
float canvas_native_context_get_shadow_offset_x(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2033
|
-
|
|
2034
|
-
void canvas_native_context_set_shadow_offset_x(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x) noexcept;
|
|
2035
|
-
|
|
2036
|
-
float canvas_native_context_get_shadow_offset_y(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2037
|
-
|
|
2038
|
-
void canvas_native_context_set_shadow_offset_y(::org::nativescript::canvas::CanvasRenderingContext2D &context, float y) noexcept;
|
|
2039
|
-
|
|
2040
|
-
::rust::Str canvas_native_context_get_text_align(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2041
|
-
|
|
2042
|
-
void canvas_native_context_set_text_align(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str alignment) noexcept;
|
|
2043
|
-
|
|
2044
|
-
::rust::Str canvas_native_context_get_global_composition(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2045
|
-
|
|
2046
|
-
void canvas_native_context_set_global_composition(::org::nativescript::canvas::CanvasRenderingContext2D const &context, ::rust::Str composition) noexcept;
|
|
2047
|
-
|
|
2048
|
-
void canvas_native_paint_style_set_fill_color_with_string(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str color) noexcept;
|
|
2049
|
-
|
|
2050
|
-
bool canvas_native_parse_css_color_rgba(::rust::Str value, ::std::uint8_t &r, ::std::uint8_t &g, ::std::uint8_t &b, ::std::uint8_t &a) noexcept;
|
|
2051
|
-
|
|
2052
|
-
void canvas_native_paint_style_set_stroke_color_with_rgba(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::uint8_t r, ::std::uint8_t g, ::std::uint8_t b, ::std::uint8_t a) noexcept;
|
|
2053
|
-
|
|
2054
|
-
void canvas_native_paint_style_set_fill_color_with_rgba(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::uint8_t r, ::std::uint8_t g, ::std::uint8_t b, ::std::uint8_t a) noexcept;
|
|
2055
|
-
|
|
2056
|
-
void canvas_native_paint_style_set_stroke_color_with_string(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str color) noexcept;
|
|
2057
|
-
|
|
2058
|
-
::rust::String canvas_native_paint_style_get_color_string(::org::nativescript::canvas::PaintStyle &color) noexcept;
|
|
2059
|
-
|
|
2060
|
-
::rust::String canvas_native_paint_style_get_current_stroke_color_string(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2061
|
-
|
|
2062
|
-
::rust::Vec<::std::uint8_t> canvas_native_paint_style_get_current_stroke_color_buf(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2063
|
-
|
|
2064
|
-
void canvas_native_paint_style_get_current_stroke_color_r_g_b_a(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::uint8_t &r, ::std::uint8_t &g, ::std::uint8_t &b, ::std::uint8_t &a) noexcept;
|
|
2065
|
-
|
|
2066
|
-
::rust::String canvas_native_paint_style_get_current_fill_color_string(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2067
|
-
|
|
2068
|
-
::rust::Vec<::std::uint8_t> canvas_native_paint_style_get_current_fill_color_buf(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2069
|
-
|
|
2070
|
-
void canvas_native_paint_style_get_current_fill_color_r_g_b_a(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::uint8_t &r, ::std::uint8_t &g, ::std::uint8_t &b, ::std::uint8_t &a) noexcept;
|
|
2071
|
-
|
|
2072
|
-
::org::nativescript::canvas::PaintStyleType canvas_native_context_get_style_type(::org::nativescript::canvas::PaintStyle const &style) noexcept;
|
|
2073
|
-
|
|
2074
|
-
::org::nativescript::canvas::PaintStyleType canvas_native_context_get_current_fill_style_type(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2075
|
-
|
|
2076
|
-
::org::nativescript::canvas::PaintStyleType canvas_native_context_get_current_stroke_style_type(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2077
|
-
|
|
2078
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_get_fill_style(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2079
|
-
|
|
2080
|
-
void canvas_native_context_set_fill_style(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::PaintStyle const &style) noexcept;
|
|
2081
|
-
|
|
2082
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_get_stroke_style(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2083
|
-
|
|
2084
|
-
void canvas_native_context_set_stroke_style(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::PaintStyle const &style) noexcept;
|
|
2085
|
-
|
|
2086
|
-
float canvas_native_context_get_line_width(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2087
|
-
|
|
2088
|
-
void canvas_native_context_set_line_width(::org::nativescript::canvas::CanvasRenderingContext2D &context, float width) noexcept;
|
|
2089
|
-
|
|
2090
|
-
float canvas_native_context_get_line_dash_offset(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2091
|
-
|
|
2092
|
-
void canvas_native_context_set_line_dash_offset(::org::nativescript::canvas::CanvasRenderingContext2D &context, float offset) noexcept;
|
|
2093
|
-
|
|
2094
|
-
::rust::Vec<float> canvas_native_context_get_line_dash(::org::nativescript::canvas::CanvasRenderingContext2D const &context) noexcept;
|
|
2095
|
-
|
|
2096
|
-
void canvas_native_context_set_line_dash(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<float const> dash) noexcept;
|
|
2097
|
-
|
|
2098
|
-
void canvas_native_context_arc(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float radius, float start_angle, float end_angle, bool anticlockwise) noexcept;
|
|
2099
|
-
|
|
2100
|
-
void canvas_native_context_arc_to(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x1, float y1, float x2, float y2, float radius) noexcept;
|
|
2101
|
-
|
|
2102
|
-
void canvas_native_context_begin_path(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2103
|
-
|
|
2104
|
-
void canvas_native_context_bezier_curve_to(::org::nativescript::canvas::CanvasRenderingContext2D &context, float cp1x, float cp1y, float cp2x, float cp2y, float x, float y) noexcept;
|
|
2105
|
-
|
|
2106
|
-
void canvas_native_context_clear_rect(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height) noexcept;
|
|
2107
|
-
|
|
2108
|
-
void canvas_native_context_clip(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Path &path, ::rust::Str rule) noexcept;
|
|
2109
|
-
|
|
2110
|
-
void canvas_native_context_clip_rule(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str rule) noexcept;
|
|
2111
|
-
|
|
2112
|
-
void canvas_native_context_close_path(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2113
|
-
|
|
2114
|
-
::rust::Box<::org::nativescript::canvas::ImageData> canvas_native_context_create_image_data(::std::int32_t width, ::std::int32_t height) noexcept;
|
|
2115
|
-
|
|
2116
|
-
::rust::Box<::org::nativescript::canvas::ImageData> canvas_native_context_create_image_data_with_data(::std::int32_t width, ::std::int32_t height, ::rust::Slice<::std::uint8_t const> data) noexcept;
|
|
2117
|
-
|
|
2118
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_linear_gradient(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x0, float y0, float x1, float y1) noexcept;
|
|
2119
|
-
|
|
2120
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_pattern(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, ::std::int32_t width, ::std::int32_t height, ::rust::Str repetition) noexcept;
|
|
2121
|
-
|
|
2122
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_pattern_asset(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::ImageAsset &asset, ::rust::Str repetition) noexcept;
|
|
2123
|
-
|
|
2124
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_pattern_canvas2d(::org::nativescript::canvas::CanvasRenderingContext2D &source, ::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str repetition) noexcept;
|
|
2125
|
-
|
|
2126
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_pattern_encoded(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, ::rust::Str repetition) noexcept;
|
|
2127
|
-
|
|
2128
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_radial_gradient(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x0, float y0, float r0, float x1, float y1, float r1) noexcept;
|
|
2129
|
-
|
|
2130
|
-
void canvas_native_context_draw_paint(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str color) noexcept;
|
|
2131
|
-
|
|
2132
|
-
void canvas_native_context_draw_point(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2133
|
-
|
|
2134
|
-
void canvas_native_context_draw_points(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::std::int32_t mode, ::rust::Slice<float const> points) noexcept;
|
|
2135
|
-
|
|
2136
|
-
void canvas_native_context_draw_image_dx_dy(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float width, float height, float dx, float dy) noexcept;
|
|
2137
|
-
|
|
2138
|
-
void canvas_native_context_draw_image_dx_dy_dw_dh(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float width, float height, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2139
|
-
|
|
2140
|
-
void canvas_native_context_draw_image(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float width, float height, float sx, float sy, float s_width, float s_height, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2141
|
-
|
|
2142
|
-
void canvas_native_context_draw_image_encoded_dx_dy(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float dx, float dy) noexcept;
|
|
2143
|
-
|
|
2144
|
-
void canvas_native_context_draw_image_encoded_dx_dy_dw_dh(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2145
|
-
|
|
2146
|
-
void canvas_native_context_draw_image_encoded(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Slice<::std::uint8_t const> data, float sx, float sy, float s_width, float s_height, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2147
|
-
|
|
2148
|
-
void canvas_native_context_draw_image_dx_dy_context(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::CanvasRenderingContext2D &source, float dx, float dy) noexcept;
|
|
2149
|
-
|
|
2150
|
-
void canvas_native_context_draw_image_dx_dy_dw_dh_context(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::CanvasRenderingContext2D &source, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2151
|
-
|
|
2152
|
-
void canvas_native_context_draw_image_context(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::CanvasRenderingContext2D &source, float sx, float sy, float s_width, float s_height, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2153
|
-
|
|
2154
|
-
void canvas_native_context_draw_image_dx_dy_asset(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::ImageAsset &asset, float dx, float dy) noexcept;
|
|
2155
|
-
|
|
2156
|
-
void canvas_native_context_draw_image_dx_dy_dw_dh_asset(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::ImageAsset &asset, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2157
|
-
|
|
2158
|
-
void canvas_native_context_draw_image_asset(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::ImageAsset &asset, float sx, float sy, float s_width, float s_height, float dx, float dy, float d_width, float d_height) noexcept;
|
|
2159
|
-
|
|
2160
|
-
void canvas_native_context_ellipse(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float radius_x, float radius_y, float rotation, float start_angle, float end_angle, bool anticlockwise) noexcept;
|
|
2161
|
-
|
|
2162
|
-
void canvas_native_context_fill(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str rule) noexcept;
|
|
2163
|
-
|
|
2164
|
-
void canvas_native_context_fill_with_path(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Path &path, ::rust::Str rule) noexcept;
|
|
2165
|
-
|
|
2166
|
-
void canvas_native_context_fill_rect(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height) noexcept;
|
|
2167
|
-
|
|
2168
|
-
void canvas_native_context_fill_text(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str text, float x, float y, float width) noexcept;
|
|
2169
|
-
|
|
2170
|
-
::rust::Box<::org::nativescript::canvas::ImageData> canvas_native_context_get_image_data(::org::nativescript::canvas::CanvasRenderingContext2D &context, float sx, float sy, float sw, float sh) noexcept;
|
|
2171
|
-
|
|
2172
|
-
::rust::Box<::org::nativescript::canvas::Matrix> canvas_native_context_get_transform(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2173
|
-
|
|
2174
|
-
bool canvas_native_context_is_point_in_path(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, ::rust::Str rule) noexcept;
|
|
2175
|
-
|
|
2176
|
-
bool canvas_native_context_is_point_in_path_with_path(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Path &path, float x, float y, ::rust::Str rule) noexcept;
|
|
2177
|
-
|
|
2178
|
-
bool canvas_native_context_is_point_in_stroke(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2179
|
-
|
|
2180
|
-
bool canvas_native_context_is_point_in_stroke_with_path(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Path &path, float x, float y) noexcept;
|
|
2181
|
-
|
|
2182
|
-
void canvas_native_context_line_to(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2183
|
-
|
|
2184
|
-
::rust::Box<::org::nativescript::canvas::TextMetrics> canvas_native_context_measure_text(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str text) noexcept;
|
|
2185
|
-
|
|
2186
|
-
void canvas_native_context_move_to(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2187
|
-
|
|
2188
|
-
void canvas_native_context_put_image_data(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::ImageData &image_data, float dx, float dy, float dirty_x, float dirty_y, float dirty_width, float dirty_height) noexcept;
|
|
2189
|
-
|
|
2190
|
-
void canvas_native_context_quadratic_curve_to(::org::nativescript::canvas::CanvasRenderingContext2D &context, float cpx, float cpy, float x, float y) noexcept;
|
|
2191
|
-
|
|
2192
|
-
void canvas_native_context_rect(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height) noexcept;
|
|
2193
|
-
|
|
2194
|
-
void canvas_native_context_round_rect(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height, ::rust::Slice<float const> radii) noexcept;
|
|
2195
|
-
|
|
2196
|
-
void canvas_native_context_round_rect_tl_tr_br_bl(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height, float top_left, float top_right, float bottom_right, float bottom_left) noexcept;
|
|
2197
|
-
|
|
2198
|
-
void canvas_native_context_reset_transform(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2199
|
-
|
|
2200
|
-
void canvas_native_context_restore(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2201
|
-
|
|
2202
|
-
void canvas_native_context_rotate(::org::nativescript::canvas::CanvasRenderingContext2D &context, float angle) noexcept;
|
|
2203
|
-
|
|
2204
|
-
void canvas_native_context_save(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2205
|
-
|
|
2206
|
-
void canvas_native_context_scale(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2207
|
-
|
|
2208
|
-
void canvas_native_context_set_transform(::org::nativescript::canvas::CanvasRenderingContext2D &context, float a, float b, float c, float d, float e, float f) noexcept;
|
|
2209
|
-
|
|
2210
|
-
void canvas_native_context_set_transform_matrix(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Matrix &matrix) noexcept;
|
|
2211
|
-
|
|
2212
|
-
void canvas_native_context_stroke(::org::nativescript::canvas::CanvasRenderingContext2D &context) noexcept;
|
|
2213
|
-
|
|
2214
|
-
void canvas_native_context_stroke_with_path(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::org::nativescript::canvas::Path &path) noexcept;
|
|
2215
|
-
|
|
2216
|
-
void canvas_native_context_stroke_rect(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y, float width, float height) noexcept;
|
|
2217
|
-
|
|
2218
|
-
void canvas_native_context_stroke_text(::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str text, float x, float y, float width) noexcept;
|
|
2219
|
-
|
|
2220
|
-
void canvas_native_context_transform(::org::nativescript::canvas::CanvasRenderingContext2D &context, float a, float b, float c, float d, float e, float f) noexcept;
|
|
2221
|
-
|
|
2222
|
-
void canvas_native_context_translate(::org::nativescript::canvas::CanvasRenderingContext2D &context, float x, float y) noexcept;
|
|
2223
|
-
|
|
2224
|
-
::rust::Box<::org::nativescript::canvas::PaintStyle> canvas_native_context_create_pattern_webgl(::org::nativescript::canvas::WebGLState &source, ::org::nativescript::canvas::CanvasRenderingContext2D &context, ::rust::Str repetition) noexcept;
|
|
2225
|
-
|
|
2226
|
-
bool canvas_native_webgl_make_current(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2227
|
-
|
|
2228
|
-
bool canvas_native_webgl_swap_buffers(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2229
|
-
|
|
2230
|
-
::rust::String canvas_native_webgl_to_data_url(::org::nativescript::canvas::WebGLState &state, ::rust::Str format, ::std::int32_t quality) noexcept;
|
|
2231
|
-
|
|
2232
|
-
void canvas_native_webgl_resized(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2233
|
-
|
|
2234
|
-
::rust::Str canvas_native_webgl_active_info_get_name(::org::nativescript::canvas::WebGLActiveInfo const &info) noexcept;
|
|
2235
|
-
|
|
2236
|
-
::std::int32_t canvas_native_webgl_active_info_get_size(::org::nativescript::canvas::WebGLActiveInfo const &info) noexcept;
|
|
2237
|
-
|
|
2238
|
-
::std::uint32_t canvas_native_webgl_active_info_get_type(::org::nativescript::canvas::WebGLActiveInfo const &info) noexcept;
|
|
2239
|
-
|
|
2240
|
-
bool canvas_native_webgl_active_info_get_is_empty(::org::nativescript::canvas::WebGLActiveInfo const &info) noexcept;
|
|
2241
|
-
|
|
2242
|
-
::std::int32_t canvas_native_webgl_shader_precision_format_get_range_min(::org::nativescript::canvas::WebGLShaderPrecisionFormat const &shader) noexcept;
|
|
2243
|
-
|
|
2244
|
-
::std::int32_t canvas_native_webgl_shader_precision_format_get_range_max(::org::nativescript::canvas::WebGLShaderPrecisionFormat const &shader) noexcept;
|
|
2245
|
-
|
|
2246
|
-
::std::int32_t canvas_native_webgl_shader_precision_format_get_precision(::org::nativescript::canvas::WebGLShaderPrecisionFormat const &shader) noexcept;
|
|
2247
|
-
|
|
2248
|
-
bool canvas_native_webgl_context_attribute_get_get_alpha(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2249
|
-
|
|
2250
|
-
bool canvas_native_webgl_context_attribute_get_get_antialias(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2251
|
-
|
|
2252
|
-
bool canvas_native_webgl_context_attribute_get_get_depth(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2253
|
-
|
|
2254
|
-
bool canvas_native_webgl_context_attribute_get_get_fail_if_major_performance_caveat(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2255
|
-
|
|
2256
|
-
::rust::String canvas_native_webgl_context_attribute_get_get_power_preference(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2257
|
-
|
|
2258
|
-
bool canvas_native_webgl_context_attribute_get_get_premultiplied_alpha(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2259
|
-
|
|
2260
|
-
bool canvas_native_webgl_context_attribute_get_get_preserve_drawing_buffer(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2261
|
-
|
|
2262
|
-
bool canvas_native_webgl_context_attribute_get_get_stencil(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2263
|
-
|
|
2264
|
-
bool canvas_native_webgl_context_attribute_get_get_desynchronized(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2265
|
-
|
|
2266
|
-
bool canvas_native_webgl_context_attribute_get_get_xr_compatible(::org::nativescript::canvas::ContextAttributes const &attr) noexcept;
|
|
2267
|
-
|
|
2268
|
-
bool canvas_native_webgl_context_extension_is_none(::org::nativescript::canvas::WebGLExtension const &extension) noexcept;
|
|
2269
|
-
|
|
2270
|
-
::org::nativescript::canvas::WebGLExtensionType canvas_native_webgl_context_extension_get_type(::org::nativescript::canvas::WebGLExtension const &extension) noexcept;
|
|
2271
|
-
|
|
2272
|
-
::rust::Box<::org::nativescript::canvas::EXT_disjoint_timer_query> canvas_native_webgl_context_extension_to_ext_disjoint_timer_query(::rust::Box<::org::nativescript::canvas::WebGLExtension> extension) noexcept;
|
|
2273
|
-
|
|
2274
|
-
::rust::Box<::org::nativescript::canvas::ANGLE_instanced_arrays> canvas_native_webgl_context_extension_to_angle_instanced_arrays(::rust::Box<::org::nativescript::canvas::WebGLExtension> extension) noexcept;
|
|
2275
|
-
|
|
2276
|
-
::rust::Box<::org::nativescript::canvas::WEBGL_lose_context> canvas_native_webgl_context_extension_to_lose_context(::rust::Box<::org::nativescript::canvas::WebGLExtension> extension) noexcept;
|
|
2277
|
-
|
|
2278
|
-
::rust::Box<::org::nativescript::canvas::WEBGL_draw_buffers> canvas_native_webgl_context_extension_to_draw_buffers(::rust::Box<::org::nativescript::canvas::WebGLExtension> extension) noexcept;
|
|
2279
|
-
|
|
2280
|
-
::rust::Box<::org::nativescript::canvas::OES_vertex_array_object> canvas_native_webgl_context_extension_to_oes_vertex_array_object(::rust::Box<::org::nativescript::canvas::WebGLExtension> extension) noexcept;
|
|
2281
|
-
|
|
2282
|
-
void canvas_native_webgl_lose_context_lose_context(::org::nativescript::canvas::WEBGL_lose_context const &context) noexcept;
|
|
2283
|
-
|
|
2284
|
-
void canvas_native_webgl_lose_context_restore_context(::org::nativescript::canvas::WEBGL_lose_context const &context) noexcept;
|
|
2285
|
-
|
|
2286
|
-
void canvas_native_webgl_draw_buffers_draw_buffers_webgl(::rust::Slice<::std::uint32_t const> buffers, ::org::nativescript::canvas::WEBGL_draw_buffers const &context) noexcept;
|
|
2287
|
-
|
|
2288
|
-
::std::uint32_t canvas_native_webgl_oes_vertex_array_object_create_vertex_array_oes(::org::nativescript::canvas::OES_vertex_array_object const &object) noexcept;
|
|
2289
|
-
|
|
2290
|
-
void canvas_native_webgl_oes_vertex_array_object_delete_vertex_array_oes(::std::uint32_t array_object, ::org::nativescript::canvas::OES_vertex_array_object const &object) noexcept;
|
|
2291
|
-
|
|
2292
|
-
bool canvas_native_webgl_oes_vertex_array_object_is_vertex_array_oes(::std::uint32_t array_object, ::org::nativescript::canvas::OES_vertex_array_object const &object) noexcept;
|
|
2293
|
-
|
|
2294
|
-
void canvas_native_webgl_oes_vertex_array_object_bind_vertex_array_oes(::std::uint32_t array_object, ::org::nativescript::canvas::OES_vertex_array_object const &object) noexcept;
|
|
2295
|
-
|
|
2296
|
-
bool canvas_native_webgl_framebuffer_attachment_parameter_get_is_texture(::org::nativescript::canvas::WebGLFramebufferAttachmentParameter const ¶m) noexcept;
|
|
2297
|
-
|
|
2298
|
-
bool canvas_native_webgl_framebuffer_attachment_parameter_get_is_renderbuffer(::org::nativescript::canvas::WebGLFramebufferAttachmentParameter const ¶m) noexcept;
|
|
2299
|
-
|
|
2300
|
-
::std::int32_t canvas_native_webgl_framebuffer_attachment_parameter_get_value(::org::nativescript::canvas::WebGLFramebufferAttachmentParameter const ¶m) noexcept;
|
|
2301
|
-
|
|
2302
|
-
::org::nativescript::canvas::WebGLResultType canvas_native_webgl_result_get_type(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2303
|
-
|
|
2304
|
-
bool canvas_native_webgl_result_get_bool(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2305
|
-
|
|
2306
|
-
::rust::Vec<::std::int32_t> canvas_native_webgl_result_get_i32_array(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2307
|
-
|
|
2308
|
-
::rust::Vec<::std::uint32_t> canvas_native_webgl_result_get_u32_array(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2309
|
-
|
|
2310
|
-
::rust::Vec<float> canvas_native_webgl_result_get_f32_array(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2311
|
-
|
|
2312
|
-
::rust::Vec<::std::uint8_t> canvas_native_webgl_result_get_bool_array(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2313
|
-
|
|
2314
|
-
::std::uint32_t canvas_native_webgl_result_get_u32(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2315
|
-
|
|
2316
|
-
::std::int32_t canvas_native_webgl_result_get_i32(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2317
|
-
|
|
2318
|
-
float canvas_native_webgl_result_get_f32(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2319
|
-
|
|
2320
|
-
::rust::String canvas_native_webgl_result_get_string(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2321
|
-
|
|
2322
|
-
bool canvas_native_webgl_result_get_is_none(::org::nativescript::canvas::WebGLResult const &result) noexcept;
|
|
2323
|
-
|
|
2324
|
-
::std::int32_t canvas_native_webgl_state_get_unpack_colorspace_conversion_webgl(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2325
|
-
|
|
2326
|
-
bool canvas_native_webgl_state_get_flip_y(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2327
|
-
|
|
2328
|
-
bool canvas_native_webgl_state_get_premultiplied_alpha(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2329
|
-
|
|
2330
|
-
::std::int32_t canvas_native_webgl_state_get_drawing_buffer_width(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2331
|
-
|
|
2332
|
-
::std::int32_t canvas_native_webgl_state_get_drawing_buffer_height(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2333
|
-
|
|
2334
|
-
::std::uint32_t canvas_native_webgl_ext_disjoint_timer_query_create_query_ext(::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2335
|
-
|
|
2336
|
-
void canvas_native_webgl_ext_disjoint_timer_query_delete_query_ext(::std::uint32_t value, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2337
|
-
|
|
2338
|
-
bool canvas_native_webgl_ext_disjoint_timer_query_is_query_ext(::std::uint32_t value, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2339
|
-
|
|
2340
|
-
void canvas_native_webgl_ext_disjoint_timer_query_begin_query_ext(::std::uint32_t target, ::std::uint32_t value, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2341
|
-
|
|
2342
|
-
void canvas_native_webgl_ext_disjoint_timer_query_end_query_ext(::std::uint32_t target, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2343
|
-
|
|
2344
|
-
void canvas_native_webgl_ext_disjoint_timer_query_query_counter_ext(::std::uint32_t value, ::std::uint32_t target, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2345
|
-
|
|
2346
|
-
::std::int32_t canvas_native_webgl_ext_disjoint_timer_query_get_query_ext(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2347
|
-
|
|
2348
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_ext_disjoint_timer_query_get_query_object_ext(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::EXT_disjoint_timer_query const &query) noexcept;
|
|
2349
|
-
|
|
2350
|
-
void canvas_native_webgl_angle_instanced_arrays_draw_arrays_instanced_angle(::std::uint32_t mode, ::std::int32_t first, ::std::int32_t count, ::std::int32_t primcount, ::org::nativescript::canvas::ANGLE_instanced_arrays const &arrays) noexcept;
|
|
2351
|
-
|
|
2352
|
-
void canvas_native_webgl_angle_instanced_arrays_draw_elements_instanced_angle(::std::uint32_t mode, ::std::int32_t count, ::std::uint32_t type_, ::std::int32_t offset, ::std::int32_t primcount, ::org::nativescript::canvas::ANGLE_instanced_arrays const &arrays) noexcept;
|
|
2353
|
-
|
|
2354
|
-
void canvas_native_webgl_angle_instanced_arrays_vertex_attrib_divisor_angle(::std::uint32_t index, ::std::uint32_t divisor, ::org::nativescript::canvas::ANGLE_instanced_arrays const &arrays) noexcept;
|
|
2355
|
-
|
|
2356
|
-
::rust::Box<::org::nativescript::canvas::WebGLState> canvas_native_webgl_create(::std::int64_t gl_context, ::rust::Str version, bool alpha, bool antialias, bool depth, bool fail_if_major_performance_caveat, ::rust::Str power_preference, bool premultiplied_alpha, bool preserve_drawing_buffer, bool stencil, bool desynchronized, bool xr_compatible) noexcept;
|
|
2357
|
-
|
|
2358
|
-
::rust::Box<::org::nativescript::canvas::WebGLState> canvas_native_webgl_create_no_window(::std::int32_t width, ::std::int32_t height, ::rust::Str version, bool alpha, bool antialias, bool depth, bool fail_if_major_performance_caveat, ::rust::Str power_preference, bool premultiplied_alpha, bool preserve_drawing_buffer, bool stencil, bool desynchronized, bool xr_compatible, bool is_canvas) noexcept;
|
|
2359
|
-
|
|
2360
|
-
void canvas_native_webgl_active_texture(::std::uint32_t texture, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2361
|
-
|
|
2362
|
-
void canvas_native_webgl_attach_shader(::std::uint32_t program, ::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2363
|
-
|
|
2364
|
-
void canvas_native_webgl_bind_attrib_location(::std::uint32_t program, ::std::uint32_t index, ::rust::Str name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2365
|
-
|
|
2366
|
-
void canvas_native_webgl_bind_buffer(::std::uint32_t target, ::std::uint32_t buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2367
|
-
|
|
2368
|
-
void canvas_native_webgl_bind_frame_buffer(::std::uint32_t target, ::std::uint32_t framebuffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2369
|
-
|
|
2370
|
-
void canvas_native_webgl_bind_render_buffer(::std::uint32_t target, ::std::uint32_t renderbuffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2371
|
-
|
|
2372
|
-
void canvas_native_webgl_bind_texture(::std::uint32_t target, ::std::uint32_t texture, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2373
|
-
|
|
2374
|
-
void canvas_native_webgl_blend_color(float red, float green, float blue, float alpha, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2375
|
-
|
|
2376
|
-
void canvas_native_webgl_blend_equation_separate(::std::uint32_t mode_rgb, ::std::uint32_t mode_alpha, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2377
|
-
|
|
2378
|
-
void canvas_native_webgl_blend_equation(::std::uint32_t mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2379
|
-
|
|
2380
|
-
void canvas_native_webgl_blend_func_separate(::std::uint32_t src_rgb, ::std::uint32_t dst_rgb, ::std::uint32_t src_alpha, ::std::uint32_t dst_alpha, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2381
|
-
|
|
2382
|
-
void canvas_native_webgl_blend_func(::std::uint32_t sfactor, ::std::uint32_t dfactor, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2383
|
-
|
|
2384
|
-
void canvas_native_webgl_buffer_data(::std::uint32_t target, ::rust::Slice<::std::uint8_t const> src_data, ::std::uint32_t usage, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2385
|
-
|
|
2386
|
-
void canvas_native_webgl_buffer_data_u16(::std::uint32_t target, ::rust::Slice<::std::uint16_t const> src_data, ::std::uint32_t usage, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2387
|
-
|
|
2388
|
-
void canvas_native_webgl_buffer_data_f32(::std::uint32_t target, ::rust::Slice<float const> src_data, ::std::uint32_t usage, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2389
|
-
|
|
2390
|
-
void canvas_native_webgl_buffer_data_none(::std::uint32_t target, ::rust::isize size, ::std::uint32_t usage, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2391
|
-
|
|
2392
|
-
void canvas_native_webgl_buffer_sub_data(::std::uint32_t target, ::rust::isize offset, ::rust::Slice<::std::uint8_t const> src_data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2393
|
-
|
|
2394
|
-
void canvas_native_webgl_buffer_sub_data_none(::std::uint32_t target, ::rust::isize offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2395
|
-
|
|
2396
|
-
::std::uint32_t canvas_native_webgl_check_frame_buffer_status(::std::uint32_t target, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2397
|
-
|
|
2398
|
-
void canvas_native_webgl_clear(::std::uint32_t mask, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2399
|
-
|
|
2400
|
-
void canvas_native_webgl_clear_color(float red, float green, float blue, float alpha, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2401
|
-
|
|
2402
|
-
void canvas_native_webgl_clear_depth(float depth, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2403
|
-
|
|
2404
|
-
void canvas_native_webgl_clear_stencil(::std::int32_t stencil, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2405
|
-
|
|
2406
|
-
void canvas_native_webgl_color_mask(bool red, bool green, bool blue, bool alpha, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2407
|
-
|
|
2408
|
-
void canvas_native_webgl_commit(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2409
|
-
|
|
2410
|
-
void canvas_native_webgl_compile_shader(::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2411
|
-
|
|
2412
|
-
void canvas_native_webgl_compressed_tex_image2d(::std::uint32_t target, ::std::int32_t level, ::std::uint32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t border, ::rust::Slice<::std::uint8_t const> pixels, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2413
|
-
|
|
2414
|
-
void canvas_native_webgl_compressed_tex_image2d_none(::std::uint32_t target, ::std::int32_t level, ::std::uint32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t border, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2415
|
-
|
|
2416
|
-
void canvas_native_webgl_compressed_tex_sub_image2d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t width, ::std::int32_t height, ::std::uint32_t format, ::rust::Slice<::std::uint8_t const> pixels, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2417
|
-
|
|
2418
|
-
void canvas_native_webgl_copy_tex_image2d(::std::uint32_t target, ::std::int32_t level, ::std::uint32_t internalformat, ::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::std::int32_t border, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2419
|
-
|
|
2420
|
-
void canvas_native_webgl_copy_tex_sub_image2d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2421
|
-
|
|
2422
|
-
::std::uint32_t canvas_native_webgl_create_buffer(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2423
|
-
|
|
2424
|
-
::std::uint32_t canvas_native_webgl_create_framebuffer(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2425
|
-
|
|
2426
|
-
::std::uint32_t canvas_native_webgl_create_program(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2427
|
-
|
|
2428
|
-
::std::uint32_t canvas_native_webgl_create_renderbuffer(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2429
|
-
|
|
2430
|
-
::std::uint32_t canvas_native_webgl_create_shader(::std::uint32_t shader_type, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2431
|
-
|
|
2432
|
-
::std::uint32_t canvas_native_webgl_create_texture(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2433
|
-
|
|
2434
|
-
void canvas_native_webgl_cull_face(::std::uint32_t mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2435
|
-
|
|
2436
|
-
void canvas_native_webgl_delete_buffer(::std::uint32_t buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2437
|
-
|
|
2438
|
-
void canvas_native_webgl_delete_framebuffer(::std::uint32_t frame_buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2439
|
-
|
|
2440
|
-
void canvas_native_webgl_delete_program(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2441
|
-
|
|
2442
|
-
void canvas_native_webgl_delete_renderbuffer(::std::uint32_t render_buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2443
|
-
|
|
2444
|
-
void canvas_native_webgl_delete_shader(::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2445
|
-
|
|
2446
|
-
void canvas_native_webgl_delete_texture(::std::uint32_t texture, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2447
|
-
|
|
2448
|
-
void canvas_native_webgl_depth_func(::std::uint32_t func, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2449
|
-
|
|
2450
|
-
void canvas_native_webgl_depth_mask(bool flag, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2451
|
-
|
|
2452
|
-
void canvas_native_webgl_depth_range(float z_near, float z_far, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2453
|
-
|
|
2454
|
-
void canvas_native_webgl_detach_shader(::std::uint32_t program, ::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2455
|
-
|
|
2456
|
-
void canvas_native_webgl_disable(::std::uint32_t cap, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2457
|
-
|
|
2458
|
-
void canvas_native_webgl_disable_vertex_attrib_array(::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2459
|
-
|
|
2460
|
-
void canvas_native_webgl_draw_arrays(::std::uint32_t mode, ::std::int32_t first, ::std::int32_t count, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2461
|
-
|
|
2462
|
-
void canvas_native_webgl_draw_elements(::std::uint32_t mode, ::std::int32_t count, ::std::uint32_t element_type, ::rust::isize offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2463
|
-
|
|
2464
|
-
void canvas_native_webgl_enable(::std::uint32_t cap, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2465
|
-
|
|
2466
|
-
void canvas_native_webgl_enable_vertex_attrib_array(::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2467
|
-
|
|
2468
|
-
void canvas_native_webgl_finish(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2469
|
-
|
|
2470
|
-
void canvas_native_webgl_flush(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2471
|
-
|
|
2472
|
-
void canvas_native_webgl_framebuffer_renderbuffer(::std::uint32_t target, ::std::uint32_t attachment, ::std::uint32_t renderbuffertarget, ::std::uint32_t renderbuffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2473
|
-
|
|
2474
|
-
void canvas_native_webgl_framebuffer_texture2d(::std::uint32_t target, ::std::uint32_t attachment, ::std::uint32_t textarget, ::std::uint32_t texture, ::std::int32_t level, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2475
|
-
|
|
2476
|
-
void canvas_native_webgl_front_face(::std::uint32_t mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2477
|
-
|
|
2478
|
-
void canvas_native_webgl_generate_mipmap(::std::uint32_t target, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2479
|
-
|
|
2480
|
-
::rust::Box<::org::nativescript::canvas::WebGLActiveInfo> canvas_native_webgl_get_active_attrib(::std::uint32_t program, ::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2481
|
-
|
|
2482
|
-
::rust::Box<::org::nativescript::canvas::WebGLActiveInfo> canvas_native_webgl_get_active_uniform(::std::uint32_t program, ::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2483
|
-
|
|
2484
|
-
::rust::Vec<::std::uint32_t> canvas_native_webgl_get_attached_shaders(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2485
|
-
|
|
2486
|
-
::std::int32_t canvas_native_webgl_get_attrib_location(::std::uint32_t program, ::rust::Str name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2487
|
-
|
|
2488
|
-
::std::int32_t canvas_native_webgl_get_buffer_parameter(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2489
|
-
|
|
2490
|
-
::rust::Box<::org::nativescript::canvas::ContextAttributes> canvas_native_webgl_get_context_attributes(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2491
|
-
|
|
2492
|
-
::std::uint32_t canvas_native_webgl_get_error(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2493
|
-
|
|
2494
|
-
::rust::Box<::org::nativescript::canvas::WebGLExtension> canvas_native_webgl_get_extension(::rust::Str name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2495
|
-
|
|
2496
|
-
::rust::Box<::org::nativescript::canvas::WebGLFramebufferAttachmentParameter> canvas_native_webgl_get_framebuffer_attachment_parameter(::std::uint32_t target, ::std::uint32_t attachment, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2497
|
-
|
|
2498
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_get_parameter(::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2499
|
-
|
|
2500
|
-
::rust::String canvas_native_webgl_get_program_info_log(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2501
|
-
|
|
2502
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_get_program_parameter(::std::uint32_t program, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2503
|
-
|
|
2504
|
-
::std::int32_t canvas_native_webgl_get_renderbuffer_parameter(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2505
|
-
|
|
2506
|
-
::rust::String canvas_native_webgl_get_shader_info_log(::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2507
|
-
|
|
2508
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_get_shader_parameter(::std::uint32_t shader, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2509
|
-
|
|
2510
|
-
::rust::Box<::org::nativescript::canvas::WebGLShaderPrecisionFormat> canvas_native_webgl_get_shader_precision_format(::std::uint32_t shader_type, ::std::uint32_t precision_type, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2511
|
-
|
|
2512
|
-
::rust::String canvas_native_webgl_get_shader_source(::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2513
|
-
|
|
2514
|
-
::rust::Vec<::rust::String> canvas_native_webgl_get_supported_extensions(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2515
|
-
|
|
2516
|
-
::rust::String canvas_native_webgl_get_supported_extensions_to_string(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2517
|
-
|
|
2518
|
-
::std::int32_t canvas_native_webgl_get_tex_parameter(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2519
|
-
|
|
2520
|
-
::std::int32_t canvas_native_webgl_get_uniform_location(::std::uint32_t program, ::rust::Str name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2521
|
-
|
|
2522
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_get_uniform(::std::uint32_t program, ::std::int32_t location, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2523
|
-
|
|
2524
|
-
::std::size_t canvas_native_webgl_get_vertex_attrib_offset(::std::uint32_t index, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2525
|
-
|
|
2526
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl_get_vertex_attrib(::std::uint32_t index, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2527
|
-
|
|
2528
|
-
bool canvas_native_webgl_get_is_context_lost(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2529
|
-
|
|
2530
|
-
void canvas_native_webgl_hint(::std::uint32_t target, ::std::uint32_t mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2531
|
-
|
|
2532
|
-
bool canvas_native_webgl_is_buffer(::std::uint32_t buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2533
|
-
|
|
2534
|
-
bool canvas_native_webgl_is_enabled(::std::uint32_t cap, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2535
|
-
|
|
2536
|
-
bool canvas_native_webgl_is_framebuffer(::std::uint32_t framebuffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2537
|
-
|
|
2538
|
-
bool canvas_native_webgl_is_program(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2539
|
-
|
|
2540
|
-
bool canvas_native_webgl_is_renderbuffer(::std::uint32_t renderbuffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2541
|
-
|
|
2542
|
-
bool canvas_native_webgl_is_shader(::std::uint32_t shader, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2543
|
-
|
|
2544
|
-
bool canvas_native_webgl_is_texture(::std::uint32_t texture, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2545
|
-
|
|
2546
|
-
void canvas_native_webgl_line_width(float width, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2547
|
-
|
|
2548
|
-
void canvas_native_webgl_link_program(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2549
|
-
|
|
2550
|
-
void canvas_native_webgl_pixel_storei(::std::uint32_t pname, ::std::int32_t param, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2551
|
-
|
|
2552
|
-
void canvas_native_webgl_polygon_offset(float factor, float units, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2553
|
-
|
|
2554
|
-
void canvas_native_webgl_read_pixels_u8(::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::std::uint32_t format, ::std::uint32_t pixel_type, ::rust::Slice<::std::uint8_t > pixels, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2555
|
-
|
|
2556
|
-
void canvas_native_webgl_read_pixels_u16(::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::std::uint32_t format, ::std::uint32_t pixel_type, ::rust::Slice<::std::uint16_t > pixels, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2557
|
-
|
|
2558
|
-
void canvas_native_webgl_read_pixels_f32(::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::std::uint32_t format, ::std::uint32_t pixel_type, ::rust::Slice<float > pixels, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2559
|
-
|
|
2560
|
-
void canvas_native_webgl_renderbuffer_storage(::std::uint32_t target, ::std::uint32_t internal_format, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2561
|
-
|
|
2562
|
-
void canvas_native_webgl_sample_coverage(float value, bool invert, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2563
|
-
|
|
2564
|
-
void canvas_native_webgl_scissor(::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2565
|
-
|
|
2566
|
-
void canvas_native_webgl_shader_source(::std::uint32_t shader, ::rust::Str source, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2567
|
-
|
|
2568
|
-
void canvas_native_webgl_stencil_func(::std::uint32_t func, ::std::int32_t reference, ::std::uint32_t mask, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2569
|
-
|
|
2570
|
-
void canvas_native_webgl_stencil_func_separate(::std::uint32_t face, ::std::uint32_t func, ::std::int32_t reference, ::std::uint32_t mask, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2571
|
-
|
|
2572
|
-
void canvas_native_webgl_stencil_mask(::std::uint32_t mask, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2573
|
-
|
|
2574
|
-
void canvas_native_webgl_stencil_mask_separate(::std::uint32_t face, ::std::uint32_t mask, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2575
|
-
|
|
2576
|
-
void canvas_native_webgl_stencil_op(::std::uint32_t fail, ::std::uint32_t zfail, ::std::uint32_t zpass, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2577
|
-
|
|
2578
|
-
void canvas_native_webgl_stencil_op_separate(::std::uint32_t face, ::std::uint32_t fail, ::std::uint32_t zfail, ::std::uint32_t zpass, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2579
|
-
|
|
2580
|
-
void canvas_native_webgl_tex_image2d_image_none(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2581
|
-
|
|
2582
|
-
void canvas_native_webgl_tex_image2d_canvas2d(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::CanvasRenderingContext2D &canvas, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2583
|
-
|
|
2584
|
-
void canvas_native_webgl_tex_image2d_webgl(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::WebGLState &webgl, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2585
|
-
|
|
2586
|
-
void canvas_native_webgl_tex_image2d(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t border, ::std::int32_t format, ::std::int32_t image_type, ::rust::Slice<::std::uint8_t > buf, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2587
|
-
|
|
2588
|
-
void canvas_native_webgl_tex_image2d_none(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t border, ::std::int32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2589
|
-
|
|
2590
|
-
void canvas_native_webgl_tex_image2d_image_asset(::std::int32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::ImageAsset &image_asset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2591
|
-
|
|
2592
|
-
void canvas_native_webgl_tex_parameterf(::std::uint32_t target, ::std::uint32_t pname, float param, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2593
|
-
|
|
2594
|
-
void canvas_native_webgl_tex_parameteri(::std::uint32_t target, ::std::uint32_t pname, ::std::int32_t param, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2595
|
-
|
|
2596
|
-
void canvas_native_webgl_tex_sub_image2d_asset(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::uint32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::ImageAsset &asset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2597
|
-
|
|
2598
|
-
void canvas_native_webgl_tex_sub_image2d_canvas2d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::uint32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::CanvasRenderingContext2D &canvas, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2599
|
-
|
|
2600
|
-
void canvas_native_webgl_tex_sub_image2d_webgl(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::uint32_t format, ::std::int32_t image_type, ::org::nativescript::canvas::WebGLState &webgl, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2601
|
-
|
|
2602
|
-
void canvas_native_webgl_tex_sub_image2d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t width, ::std::int32_t height, ::std::uint32_t format, ::std::int32_t image_type, ::rust::Slice<::std::uint8_t const> buf, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2603
|
-
|
|
2604
|
-
void canvas_native_webgl_uniform1f(::std::int32_t location, float v0, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2605
|
-
|
|
2606
|
-
void canvas_native_webgl_uniform1fv(::std::int32_t location, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2607
|
-
|
|
2608
|
-
void canvas_native_webgl_uniform1i(::std::int32_t location, ::std::int32_t v0, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2609
|
-
|
|
2610
|
-
void canvas_native_webgl_uniform1iv(::std::int32_t location, ::rust::Slice<::std::int32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2611
|
-
|
|
2612
|
-
void canvas_native_webgl_uniform2f(::std::int32_t location, float v0, float v1, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2613
|
-
|
|
2614
|
-
void canvas_native_webgl_uniform2fv(::std::int32_t location, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2615
|
-
|
|
2616
|
-
void canvas_native_webgl_uniform2i(::std::int32_t location, ::std::int32_t v0, ::std::int32_t v1, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2617
|
-
|
|
2618
|
-
void canvas_native_webgl_uniform2iv(::std::int32_t location, ::rust::Slice<::std::int32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2619
|
-
|
|
2620
|
-
void canvas_native_webgl_uniform3f(::std::int32_t location, float v0, float v1, float v2, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2621
|
-
|
|
2622
|
-
void canvas_native_webgl_uniform3fv(::std::int32_t location, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2623
|
-
|
|
2624
|
-
void canvas_native_webgl_uniform3i(::std::int32_t location, ::std::int32_t v0, ::std::int32_t v1, ::std::int32_t v2, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2625
|
-
|
|
2626
|
-
void canvas_native_webgl_uniform3iv(::std::int32_t location, ::rust::Slice<::std::int32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2627
|
-
|
|
2628
|
-
void canvas_native_webgl_uniform4f(::std::int32_t location, float v0, float v1, float v2, float v3, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2629
|
-
|
|
2630
|
-
void canvas_native_webgl_uniform4fv(::std::int32_t location, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2631
|
-
|
|
2632
|
-
void canvas_native_webgl_uniform4i(::std::int32_t location, ::std::int32_t v0, ::std::int32_t v1, ::std::int32_t v2, ::std::int32_t v3, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2633
|
-
|
|
2634
|
-
void canvas_native_webgl_uniform4iv(::std::int32_t location, ::rust::Slice<::std::int32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2635
|
-
|
|
2636
|
-
void canvas_native_webgl_uniform_matrix2fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2637
|
-
|
|
2638
|
-
void canvas_native_webgl_uniform_matrix3fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2639
|
-
|
|
2640
|
-
void canvas_native_webgl_uniform_matrix4fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2641
|
-
|
|
2642
|
-
void canvas_native_webgl_use_program(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2643
|
-
|
|
2644
|
-
void canvas_native_webgl_validate_program(::std::uint32_t program, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2645
|
-
|
|
2646
|
-
void canvas_native_webgl_vertex_attrib1f(::std::uint32_t index, float v0, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2647
|
-
|
|
2648
|
-
void canvas_native_webgl_vertex_attrib1fv(::std::uint32_t index, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2649
|
-
|
|
2650
|
-
void canvas_native_webgl_vertex_attrib2f(::std::uint32_t index, float v0, float v1, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2651
|
-
|
|
2652
|
-
void canvas_native_webgl_vertex_attrib2fv(::std::uint32_t index, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2653
|
-
|
|
2654
|
-
void canvas_native_webgl_vertex_attrib3f(::std::uint32_t index, float v0, float v1, float v2, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2655
|
-
|
|
2656
|
-
void canvas_native_webgl_vertex_attrib3fv(::std::uint32_t index, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2657
|
-
|
|
2658
|
-
void canvas_native_webgl_vertex_attrib4f(::std::uint32_t index, float v0, float v1, float v2, float v3, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2659
|
-
|
|
2660
|
-
void canvas_native_webgl_vertex_attrib4fv(::std::uint32_t index, ::rust::Slice<float const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2661
|
-
|
|
2662
|
-
void canvas_native_webgl_vertex_attrib_pointer(::std::uint32_t index, ::std::int32_t size, ::std::uint32_t d_type, bool normalized, ::std::int32_t stride, ::rust::isize offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2663
|
-
|
|
2664
|
-
void canvas_native_webgl_viewport(::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2665
|
-
|
|
2666
|
-
::rust::isize canvas_native_webgl2_indexed_parameter_get_value(::org::nativescript::canvas::WebGLIndexedParameter const ¶m) noexcept;
|
|
2667
|
-
|
|
2668
|
-
::rust::isize canvas_native_webgl2_indexed_parameter_get_buffer_value(::org::nativescript::canvas::WebGLIndexedParameter const ¶m) noexcept;
|
|
2669
|
-
|
|
2670
|
-
bool canvas_native_webgl2_indexed_parameter_get_is_buffer(::org::nativescript::canvas::WebGLIndexedParameter const ¶m) noexcept;
|
|
2671
|
-
|
|
2672
|
-
void canvas_native_webgl2_begin_query(::std::uint32_t target, ::std::uint32_t id, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2673
|
-
|
|
2674
|
-
void canvas_native_webgl2_begin_transform_feedback(::std::uint32_t primitive_mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2675
|
-
|
|
2676
|
-
void canvas_native_webgl2_bind_buffer_base(::std::uint32_t target, ::std::uint32_t index, ::std::uint32_t buffer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2677
|
-
|
|
2678
|
-
void canvas_native_webgl2_bind_buffer_range(::std::uint32_t target, ::std::uint32_t index, ::std::uint32_t buffer, ::rust::isize offset, ::rust::isize size, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2679
|
-
|
|
2680
|
-
void canvas_native_webgl2_bind_sampler(::std::uint32_t unit, ::std::uint32_t sampler, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2681
|
-
|
|
2682
|
-
void canvas_native_webgl2_bind_transform_feedback(::std::uint32_t target, ::std::uint32_t transform_feedback, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2683
|
-
|
|
2684
|
-
void canvas_native_webgl2_bind_vertex_array(::std::uint32_t vertex_array, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2685
|
-
|
|
2686
|
-
void canvas_native_webgl2_blit_framebuffer(::std::int32_t src_x0, ::std::int32_t src_y0, ::std::int32_t src_x1, ::std::int32_t src_y1, ::std::int32_t dst_x0, ::std::int32_t dst_y0, ::std::int32_t dst_x1, ::std::int32_t dst_y1, ::std::uint32_t mask, ::std::uint32_t filter, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2687
|
-
|
|
2688
|
-
void canvas_native_webgl2_clear_bufferfi(::std::uint32_t buffer, ::std::int32_t drawbuffer, float depth, ::std::int32_t stencil, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2689
|
-
|
|
2690
|
-
void canvas_native_webgl2_clear_bufferfv(::std::uint32_t buffer, ::std::int32_t drawbuffer, ::rust::Slice<float const> values, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2691
|
-
|
|
2692
|
-
void canvas_native_webgl2_clear_bufferiv(::std::uint32_t buffer, ::std::int32_t drawbuffer, ::rust::Slice<::std::int32_t const> values, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2693
|
-
|
|
2694
|
-
void canvas_native_webgl2_clear_bufferuiv(::std::uint32_t buffer, ::std::int32_t drawbuffer, ::rust::Slice<::std::uint32_t const> values, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2695
|
-
|
|
2696
|
-
::std::uint32_t canvas_native_webgl2_client_wait_sync(::org::nativescript::canvas::WebGLSync const &sync, ::std::uint32_t flags, ::rust::isize timeout, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2697
|
-
|
|
2698
|
-
void canvas_native_webgl2_compressed_tex_sub_image3d_none(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::std::int32_t image_size, ::std::int32_t offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2699
|
-
|
|
2700
|
-
void canvas_native_webgl2_compressed_tex_sub_image3d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::rust::Slice<::std::uint8_t const> src, ::std::size_t src_offset, ::std::size_t src_length_override, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2701
|
-
|
|
2702
|
-
void canvas_native_webgl2_copy_buffer_sub_data(::std::uint32_t read_target, ::std::uint32_t write_target, ::rust::isize read_offset, ::rust::isize write_offset, ::rust::isize size, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2703
|
-
|
|
2704
|
-
void canvas_native_webgl2_copy_tex_sub_image3d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2705
|
-
|
|
2706
|
-
::std::uint32_t canvas_native_webgl2_create_query(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2707
|
-
|
|
2708
|
-
::std::uint32_t canvas_native_webgl2_create_sampler(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2709
|
-
|
|
2710
|
-
::std::uint32_t canvas_native_webgl2_create_transform_feedback(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2711
|
-
|
|
2712
|
-
::std::uint32_t canvas_native_webgl2_create_vertex_array(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2713
|
-
|
|
2714
|
-
void canvas_native_webgl2_delete_query_with_query(::std::uint32_t id, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2715
|
-
|
|
2716
|
-
void canvas_native_webgl2_delete_sampler_with_sampler(::std::uint32_t sampler, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2717
|
-
|
|
2718
|
-
void canvas_native_webgl2_delete_sync_with_sync(::org::nativescript::canvas::WebGLSync const &sync, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2719
|
-
|
|
2720
|
-
void canvas_native_webgl2_delete_transform_feedback(::std::uint32_t transform_feedback, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2721
|
-
|
|
2722
|
-
void canvas_native_webgl2_delete_vertex_array_with_vertex_array(::std::uint32_t vertex_array, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2723
|
-
|
|
2724
|
-
void canvas_native_webgl2_draw_arrays_instanced(::std::uint32_t mode, ::std::int32_t first, ::std::int32_t count, ::std::int32_t instance_count, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2725
|
-
|
|
2726
|
-
void canvas_native_webgl2_draw_buffers(::rust::Slice<::std::uint32_t const> buffers, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2727
|
-
|
|
2728
|
-
void canvas_native_webgl2_draw_elements_instanced(::std::uint32_t mode, ::std::int32_t count, ::std::uint32_t type_, ::rust::isize offset, ::std::int32_t instance_count, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2729
|
-
|
|
2730
|
-
void canvas_native_webgl2_draw_range_elements(::std::uint32_t mode, ::std::uint32_t start, ::std::uint32_t end, ::std::int32_t count, ::std::uint32_t type_, ::rust::isize offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2731
|
-
|
|
2732
|
-
void canvas_native_webgl2_end_query(::std::uint32_t target, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2733
|
-
|
|
2734
|
-
void canvas_native_webgl2_end_transform_feedback(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2735
|
-
|
|
2736
|
-
::rust::Box<::org::nativescript::canvas::WebGLSync> canvas_native_webgl2_fence_sync(::std::uint32_t condition, ::std::uint32_t flags, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2737
|
-
|
|
2738
|
-
void canvas_native_webgl2_framebuffer_texture_layer(::std::uint32_t target, ::std::uint32_t attachment, ::std::uint32_t texture, ::std::int32_t level, ::std::int32_t layer, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2739
|
-
|
|
2740
|
-
::rust::String canvas_native_webgl2_get_active_uniform_block_name(::std::uint32_t program, ::std::uint32_t uniform_block_index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2741
|
-
|
|
2742
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_active_uniform_block_parameter(::std::uint32_t program, ::std::uint32_t uniform_block_index, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2743
|
-
|
|
2744
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_active_uniforms(::std::uint32_t program, ::rust::Slice<::std::uint32_t const> uniform_indices, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2745
|
-
|
|
2746
|
-
void canvas_native_webgl2_get_buffer_sub_data(::std::uint32_t target, ::rust::isize src_byte_offset, ::rust::Slice<::std::uint8_t > dst_data, ::std::size_t dst_offset, ::std::size_t length, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2747
|
-
|
|
2748
|
-
::std::int32_t canvas_native_webgl2_get_frag_data_location(::std::uint32_t program, ::rust::Str name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2749
|
-
|
|
2750
|
-
::rust::Box<::org::nativescript::canvas::WebGLIndexedParameter> canvas_native_webgl2_get_indexed_parameter(::std::uint32_t target, ::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2751
|
-
|
|
2752
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_internalformat_parameter(::std::uint32_t target, ::std::uint32_t internalformat, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2753
|
-
|
|
2754
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_parameter(::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2755
|
-
|
|
2756
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_query_parameter(::std::uint32_t query, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2757
|
-
|
|
2758
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_query(::std::uint32_t target, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2759
|
-
|
|
2760
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_sampler_parameter(::std::uint32_t sampler, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2761
|
-
|
|
2762
|
-
::rust::Box<::org::nativescript::canvas::WebGLResult> canvas_native_webgl2_get_sync_parameter(::org::nativescript::canvas::WebGLSync const &sync, ::std::uint32_t pname, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2763
|
-
|
|
2764
|
-
::rust::Box<::org::nativescript::canvas::WebGLActiveInfo> canvas_native_webgl2_get_transform_feedback_varying(::std::uint32_t program, ::std::uint32_t index, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2765
|
-
|
|
2766
|
-
::std::uint32_t canvas_native_webgl2_get_uniform_block_index(::std::uint32_t program, ::rust::Str uniform_block_name, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2767
|
-
|
|
2768
|
-
::rust::Vec<::std::uint32_t> canvas_native_webgl2_get_uniform_indices(::std::uint32_t program, ::rust::Slice<::rust::Str const> uniform_names, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2769
|
-
|
|
2770
|
-
void canvas_native_webgl2_invalidate_framebuffer(::std::uint32_t target, ::rust::Slice<::std::uint32_t const> attachments, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2771
|
-
|
|
2772
|
-
void canvas_native_webgl2_invalidate_sub_framebuffer(::std::uint32_t target, ::rust::Slice<::std::uint32_t const> attachments, ::std::int32_t x, ::std::int32_t y, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2773
|
-
|
|
2774
|
-
bool canvas_native_webgl2_is_query(::std::uint32_t query, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2775
|
-
|
|
2776
|
-
bool canvas_native_webgl2_is_sampler(::std::uint32_t sampler, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2777
|
-
|
|
2778
|
-
bool canvas_native_webgl2_is_sync(::org::nativescript::canvas::WebGLSync const &sync, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2779
|
-
|
|
2780
|
-
bool canvas_native_webgl2_is_transform_feedback(::std::uint32_t transform_feedback, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2781
|
-
|
|
2782
|
-
bool canvas_native_webgl2_is_vertex_array(::std::uint32_t vertex_array, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2783
|
-
|
|
2784
|
-
void canvas_native_webgl2_pause_transform_feedback(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2785
|
-
|
|
2786
|
-
void canvas_native_webgl2_read_buffer(::std::uint32_t src, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2787
|
-
|
|
2788
|
-
void canvas_native_webgl2_renderbuffer_storage_multisample(::std::uint32_t target, ::std::int32_t samples, ::std::uint32_t internal_format, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2789
|
-
|
|
2790
|
-
void canvas_native_webgl2_resume_transform_feedback(::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2791
|
-
|
|
2792
|
-
void canvas_native_webgl2_sampler_parameterf(::std::uint32_t sampler, ::std::uint32_t pname, float param, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2793
|
-
|
|
2794
|
-
void canvas_native_webgl2_sampler_parameteri(::std::uint32_t sampler, ::std::uint32_t pname, ::std::int32_t param, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2795
|
-
|
|
2796
|
-
void canvas_native_webgl2_tex_image3d_none(::std::uint32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::int32_t border, ::std::uint32_t format, ::std::uint32_t type_, ::std::size_t offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2797
|
-
|
|
2798
|
-
void canvas_native_webgl2_tex_image3d_asset(::std::uint32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::int32_t border, ::std::uint32_t format, ::std::uint32_t type_, ::org::nativescript::canvas::ImageAsset const &asset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2799
|
-
|
|
2800
|
-
void canvas_native_webgl2_tex_image3d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::int32_t border, ::std::uint32_t format, ::std::uint32_t type_, ::rust::Slice<::std::uint8_t const> buf, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2801
|
-
|
|
2802
|
-
void canvas_native_webgl2_tex_image3d_offset(::std::uint32_t target, ::std::int32_t level, ::std::int32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::int32_t border, ::std::uint32_t format, ::std::uint32_t type_, ::rust::Slice<::std::uint8_t const> buf, ::std::size_t offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2803
|
-
|
|
2804
|
-
void canvas_native_webgl2_tex_storage2d(::std::uint32_t target, ::std::int32_t levels, ::std::uint32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2805
|
-
|
|
2806
|
-
void canvas_native_webgl2_tex_storage3d(::std::uint32_t target, ::std::int32_t levels, ::std::uint32_t internalformat, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2807
|
-
|
|
2808
|
-
void canvas_native_webgl2_tex_sub_image3d_none(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::std::uint32_t type_, ::std::size_t offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2809
|
-
|
|
2810
|
-
void canvas_native_webgl2_tex_sub_image3d(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::std::uint32_t type_, ::rust::Slice<::std::uint8_t const> buf, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2811
|
-
|
|
2812
|
-
void canvas_native_webgl2_tex_sub_image3d_asset(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::std::uint32_t type_, ::org::nativescript::canvas::ImageAsset const &asset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2813
|
-
|
|
2814
|
-
void canvas_native_webgl2_tex_sub_image3d_offset(::std::uint32_t target, ::std::int32_t level, ::std::int32_t xoffset, ::std::int32_t yoffset, ::std::int32_t zoffset, ::std::int32_t width, ::std::int32_t height, ::std::int32_t depth, ::std::uint32_t format, ::std::uint32_t type_, ::rust::Slice<::std::uint8_t const> buf, ::std::size_t offset, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2815
|
-
|
|
2816
|
-
void canvas_native_webgl2_transform_feedback_varyings(::std::uint32_t program, ::rust::Slice<::rust::Str const> varyings, ::std::uint32_t buffer_mode, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2817
|
-
|
|
2818
|
-
void canvas_native_webgl2_uniform1ui(::std::int32_t location, ::std::uint32_t v0, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2819
|
-
|
|
2820
|
-
void canvas_native_webgl2_uniform1uiv(::std::int32_t location, ::rust::Slice<::std::uint32_t const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2821
|
-
|
|
2822
|
-
void canvas_native_webgl2_uniform2ui(::std::int32_t location, ::std::uint32_t v0, ::std::uint32_t v1, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2823
|
-
|
|
2824
|
-
void canvas_native_webgl2_uniform2uiv(::std::int32_t location, ::rust::Slice<::std::uint32_t const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2825
|
-
|
|
2826
|
-
void canvas_native_webgl2_uniform3ui(::std::int32_t location, ::std::uint32_t v0, ::std::uint32_t v1, ::std::uint32_t v2, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2827
|
-
|
|
2828
|
-
void canvas_native_webgl2_uniform3uiv(::std::int32_t location, ::rust::Slice<::std::uint32_t const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2829
|
-
|
|
2830
|
-
void canvas_native_webgl2_uniform4ui(::std::int32_t location, ::std::uint32_t v0, ::std::uint32_t v1, ::std::uint32_t v2, ::std::uint32_t v3, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2831
|
-
|
|
2832
|
-
void canvas_native_webgl2_uniform4uiv(::std::int32_t location, ::rust::Slice<::std::uint32_t const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2833
|
-
|
|
2834
|
-
void canvas_native_webgl2_uniform_block_binding(::std::uint32_t program, ::std::uint32_t uniform_block_index, ::std::uint32_t uniform_block_binding, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2835
|
-
|
|
2836
|
-
void canvas_native_webgl2_uniform_matrix2x3fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2837
|
-
|
|
2838
|
-
void canvas_native_webgl2_uniform_matrix2x4fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2839
|
-
|
|
2840
|
-
void canvas_native_webgl2_uniform_matrix3x2fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2841
|
-
|
|
2842
|
-
void canvas_native_webgl2_uniform_matrix3x4fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2843
|
-
|
|
2844
|
-
void canvas_native_webgl2_uniform_matrix4x2fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2845
|
-
|
|
2846
|
-
void canvas_native_webgl2_uniform_matrix4x3fv(::std::int32_t location, bool transpose, ::rust::Slice<float const> data, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2847
|
-
|
|
2848
|
-
void canvas_native_webgl2_vertex_attrib_divisor(::std::uint32_t index, ::std::uint32_t divisor, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2849
|
-
|
|
2850
|
-
void canvas_native_webgl2_vertex_attrib_i4i(::std::uint32_t index, ::std::int32_t x, ::std::int32_t y, ::std::int32_t z, ::std::int32_t w, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2851
|
-
|
|
2852
|
-
void canvas_native_webgl2_vertex_attrib_i4iv(::std::uint32_t index, ::rust::Slice<::std::int32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2853
|
-
|
|
2854
|
-
void canvas_native_webgl2_vertex_attrib_i4ui(::std::uint32_t index, ::std::uint32_t x, ::std::uint32_t y, ::std::uint32_t z, ::std::uint32_t w, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2855
|
-
|
|
2856
|
-
void canvas_native_webgl2_vertex_attrib_i4uiv(::std::uint32_t index, ::rust::Slice<::std::uint32_t const> value, ::org::nativescript::canvas::WebGLState &state) noexcept;
|
|
2857
|
-
} // namespace canvas
|
|
2858
|
-
} // namespace nativescript
|
|
2859
|
-
} // namespace org
|