@nativescript/canvas 2.0.0-alpha.3 → 2.0.0-alpha.5
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.js +8 -15
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.js +7 -9
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.ios.d.ts +3 -0
- package/Canvas/index.ios.js +50 -28
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.js +20 -1
- package/Canvas2D/CanvasRenderingContext2D/index.js.map +1 -1
- package/ImageBitmap/index.js +0 -1
- package/ImageBitmap/index.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.js +3 -3
- package/WebGL/WebGLRenderingContext/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.js +1 -0
- package/WebGL2/WebGL2RenderingContext/index.js.map +1 -1
- package/package.json +1 -1
- 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 +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +4 -2
- 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 +306 -35
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +11 -3
- 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 +22 -6
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +4 -2
- 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 +306 -35
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +306 -35
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +11 -3
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/src/cpp/Helpers.h +5 -3
- package/platforms/ios/src/cpp/VecMutableBuffer.h +10 -15
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.cc +14 -1
- package/platforms/ios/src/cpp/canvas-cxx/src/lib.rs.h +6 -1
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +5 -0
- package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.mm +22 -1
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +1 -0
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.mm +121 -42
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +28 -1
- package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.mm +35 -14
- package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +30 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.mm +3 -1
- package/pods/Headers/include/APIDesign.md +72 -0
- package/pods/Headers/include/DEPS +10 -0
- package/pods/Headers/include/DIR_METADATA +11 -0
- package/pods/Headers/include/OWNERS +23 -0
- package/pods/Headers/include/cppgc/DEPS +8 -0
- package/pods/Headers/include/cppgc/OWNERS +2 -0
- package/pods/Headers/include/cppgc/README.md +133 -0
- package/pods/Headers/include/cppgc/allocation.h +310 -0
- package/pods/Headers/include/cppgc/common.h +29 -0
- package/pods/Headers/include/cppgc/cross-thread-persistent.h +465 -0
- package/pods/Headers/include/cppgc/custom-space.h +97 -0
- package/pods/Headers/include/cppgc/default-platform.h +67 -0
- package/pods/Headers/include/cppgc/ephemeron-pair.h +30 -0
- package/pods/Headers/include/cppgc/explicit-management.h +100 -0
- package/pods/Headers/include/cppgc/garbage-collected.h +106 -0
- package/pods/Headers/include/cppgc/heap-consistency.h +266 -0
- package/pods/Headers/include/cppgc/heap-state.h +82 -0
- package/pods/Headers/include/cppgc/heap-statistics.h +120 -0
- package/pods/Headers/include/cppgc/heap.h +206 -0
- package/pods/Headers/include/cppgc/internal/api-constants.h +55 -0
- package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +48 -0
- package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +79 -0
- package/pods/Headers/include/cppgc/internal/compiler-specific.h +38 -0
- package/pods/Headers/include/cppgc/internal/finalizer-trait.h +93 -0
- package/pods/Headers/include/cppgc/internal/gc-info.h +156 -0
- package/pods/Headers/include/cppgc/internal/logging.h +50 -0
- package/pods/Headers/include/cppgc/internal/name-trait.h +122 -0
- package/pods/Headers/include/cppgc/internal/persistent-node.h +216 -0
- package/pods/Headers/include/cppgc/internal/pointer-policies.h +186 -0
- package/pods/Headers/include/cppgc/internal/write-barrier.h +435 -0
- package/pods/Headers/include/cppgc/liveness-broker.h +77 -0
- package/pods/Headers/include/cppgc/macros.h +26 -0
- package/pods/Headers/include/cppgc/member.h +291 -0
- package/pods/Headers/include/cppgc/name-provider.h +65 -0
- package/pods/Headers/include/cppgc/object-size-trait.h +58 -0
- package/pods/Headers/include/cppgc/persistent.h +370 -0
- package/pods/Headers/include/cppgc/platform.h +156 -0
- package/pods/Headers/include/cppgc/prefinalizer.h +75 -0
- package/pods/Headers/include/cppgc/process-heap-statistics.h +36 -0
- package/pods/Headers/include/cppgc/sentinel-pointer.h +32 -0
- package/pods/Headers/include/cppgc/source-location.h +92 -0
- package/pods/Headers/include/cppgc/testing.h +106 -0
- package/pods/Headers/include/cppgc/trace-trait.h +116 -0
- package/pods/Headers/include/cppgc/type-traits.h +240 -0
- package/pods/Headers/include/cppgc/visitor.h +379 -0
- package/pods/Headers/include/js_protocol-1.2.json +936 -0
- package/pods/Headers/include/js_protocol-1.3.json +1112 -0
- package/pods/Headers/include/js_protocol.pdl +1709 -0
- package/pods/Headers/include/libffi/arm64/ffi.h +524 -0
- package/pods/Headers/include/libffi/arm64/ffitarget.h +92 -0
- package/pods/Headers/include/libffi/x86_64/ffi.h +524 -0
- package/pods/Headers/include/libffi/x86_64/ffitarget.h +147 -0
- package/pods/Headers/include/libffi.h +12 -0
- package/pods/Headers/include/libplatform/DEPS +9 -0
- package/pods/Headers/include/libplatform/libplatform-export.h +29 -0
- package/pods/Headers/include/libplatform/libplatform.h +106 -0
- package/pods/Headers/include/libplatform/v8-tracing.h +333 -0
- package/pods/Headers/include/v8-array-buffer.h +433 -0
- package/pods/Headers/include/v8-callbacks.h +397 -0
- package/pods/Headers/include/v8-container.h +129 -0
- package/pods/Headers/include/v8-context.h +407 -0
- package/pods/Headers/include/v8-cppgc.h +215 -0
- package/pods/Headers/include/v8-data.h +80 -0
- package/pods/Headers/include/v8-date.h +43 -0
- package/pods/Headers/include/v8-debug.h +168 -0
- package/pods/Headers/include/v8-embedder-heap.h +218 -0
- package/pods/Headers/include/v8-embedder-state-scope.h +51 -0
- package/pods/Headers/include/v8-exception.h +217 -0
- package/pods/Headers/include/v8-extension.h +62 -0
- package/pods/Headers/include/v8-external.h +37 -0
- package/pods/Headers/include/v8-fast-api-calls.h +939 -0
- package/pods/Headers/include/v8-forward.h +81 -0
- package/pods/Headers/include/v8-function-callback.h +475 -0
- package/pods/Headers/include/v8-function.h +125 -0
- package/pods/Headers/include/v8-initialization.h +315 -0
- package/pods/Headers/include/v8-inspector-protocol.h +13 -0
- package/pods/Headers/include/v8-inspector.h +376 -0
- package/pods/Headers/include/v8-internal.h +661 -0
- package/pods/Headers/include/v8-isolate.h +1709 -0
- package/pods/Headers/include/v8-json.h +47 -0
- package/pods/Headers/include/v8-local-handle.h +455 -0
- package/pods/Headers/include/v8-locker.h +149 -0
- package/pods/Headers/include/v8-maybe.h +137 -0
- package/pods/Headers/include/v8-memory-span.h +43 -0
- package/pods/Headers/include/v8-message.h +216 -0
- package/pods/Headers/include/v8-metrics.h +255 -0
- package/pods/Headers/include/v8-microtask-queue.h +152 -0
- package/pods/Headers/include/v8-microtask.h +28 -0
- package/pods/Headers/include/v8-object.h +775 -0
- package/pods/Headers/include/v8-persistent-handle.h +590 -0
- package/pods/Headers/include/v8-platform.h +1092 -0
- package/pods/Headers/include/v8-primitive-object.h +118 -0
- package/pods/Headers/include/v8-primitive.h +866 -0
- package/pods/Headers/include/v8-profiler.h +1198 -0
- package/pods/Headers/include/v8-promise.h +174 -0
- package/pods/Headers/include/v8-proxy.h +50 -0
- package/pods/Headers/include/v8-regexp.h +105 -0
- package/pods/Headers/include/v8-script.h +748 -0
- package/pods/Headers/include/v8-snapshot.h +196 -0
- package/pods/Headers/include/v8-statistics.h +217 -0
- package/pods/Headers/include/v8-template.h +1079 -0
- package/pods/Headers/include/v8-traced-handle.h +420 -0
- package/pods/Headers/include/v8-typed-array.h +282 -0
- package/pods/Headers/include/v8-unwinder-state.h +31 -0
- package/pods/Headers/include/v8-unwinder.h +132 -0
- package/pods/Headers/include/v8-util.h +658 -0
- package/pods/Headers/include/v8-value-serializer-version.h +24 -0
- package/pods/Headers/include/v8-value-serializer.h +279 -0
- package/pods/Headers/include/v8-value.h +526 -0
- package/pods/Headers/include/v8-version-string.h +38 -0
- package/pods/Headers/include/v8-version.h +20 -0
- package/pods/Headers/include/v8-wasm-trap-handler-posix.h +31 -0
- package/pods/Headers/include/v8-wasm-trap-handler-win.h +28 -0
- package/pods/Headers/include/v8-wasm.h +257 -0
- package/pods/Headers/include/v8-weak-callback-info.h +86 -0
- package/pods/Headers/include/v8.h +88 -0
- package/pods/Headers/include/v8config.h +605 -0
- package/pods/Headers/inspector/InspectorServer.h +20 -0
- package/pods/Headers/inspector/JsV8InspectorClient.h +66 -0
- package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +1123 -0
- package/pods/Headers/inspector/base64.h +9 -0
- package/pods/Headers/inspector/src/base/address-region.h +95 -0
- package/pods/Headers/inspector/src/base/atomic-utils.h +219 -0
- package/pods/Headers/inspector/src/base/atomicops.h +332 -0
- package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +89 -0
- package/pods/Headers/inspector/src/base/base-export.h +31 -0
- package/pods/Headers/inspector/src/base/bits.h +343 -0
- package/pods/Headers/inspector/src/base/build_config.h +234 -0
- package/pods/Headers/inspector/src/base/compiler-specific.h +136 -0
- package/pods/Headers/inspector/src/base/export-template.h +163 -0
- package/pods/Headers/inspector/src/base/flags.h +130 -0
- package/pods/Headers/inspector/src/base/immediate-crash.h +162 -0
- package/pods/Headers/inspector/src/base/lazy-instance.h +258 -0
- package/pods/Headers/inspector/src/base/logging.h +417 -0
- package/pods/Headers/inspector/src/base/macros.h +423 -0
- package/pods/Headers/inspector/src/base/memory.h +89 -0
- package/pods/Headers/inspector/src/base/once.h +108 -0
- package/pods/Headers/inspector/src/base/optional.h +882 -0
- package/pods/Headers/inspector/src/base/platform/mutex.h +370 -0
- package/pods/Headers/inspector/src/base/platform/platform.h +476 -0
- package/pods/Headers/inspector/src/base/platform/semaphore.h +108 -0
- package/pods/Headers/inspector/src/base/platform/v8-time.h +513 -0
- package/pods/Headers/inspector/src/base/platform/wrappers.h +73 -0
- package/pods/Headers/inspector/src/base/safe_conversions.h +389 -0
- package/pods/Headers/inspector/src/base/safe_conversions_impl.h +822 -0
- package/pods/Headers/inspector/src/base/template-utils.h +113 -0
- package/pods/Headers/inspector/src/base/v8-fallthrough.h +21 -0
- package/pods/Headers/inspector/src/common/checks.h +38 -0
- package/pods/Headers/inspector/src/common/globals.h +1842 -0
- package/pods/Headers/inspector/src/debug/debug-interface.h +667 -0
- package/pods/Headers/inspector/src/debug/interface-types.h +175 -0
- package/pods/Headers/inspector/src/init/v8.h +52 -0
- package/pods/Headers/inspector/src/inspector/custom-preview.h +24 -0
- package/pods/Headers/inspector/src/inspector/injected-script.h +251 -0
- package/pods/Headers/inspector/src/inspector/inspected-context.h +79 -0
- package/pods/Headers/inspector/src/inspector/protocol/CSS.h +2148 -0
- package/pods/Headers/inspector/src/inspector/protocol/Console.h +211 -0
- package/pods/Headers/inspector/src/inspector/protocol/DOM.h +1008 -0
- package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +892 -0
- package/pods/Headers/inspector/src/inspector/protocol/Forward.h +75 -0
- package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +346 -0
- package/pods/Headers/inspector/src/inspector/protocol/Log.h +342 -0
- package/pods/Headers/inspector/src/inspector/protocol/Network.h +2528 -0
- package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +281 -0
- package/pods/Headers/inspector/src/inspector/protocol/Page.h +1189 -0
- package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +1001 -0
- package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +617 -0
- package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +1696 -0
- package/pods/Headers/inspector/src/inspector/protocol/Schema.h +146 -0
- package/pods/Headers/inspector/src/inspector/protocol/Security.h +793 -0
- package/pods/Headers/inspector/src/inspector/remote-object-id.h +54 -0
- package/pods/Headers/inspector/src/inspector/search-util.h +26 -0
- package/pods/Headers/inspector/src/inspector/string-16.h +180 -0
- package/pods/Headers/inspector/src/inspector/string-util.h +128 -0
- package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +48 -0
- package/pods/Headers/inspector/src/inspector/v8-console-message.h +147 -0
- package/pods/Headers/inspector/src/inspector/v8-console.h +173 -0
- package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +62 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +248 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +44 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +123 -0
- package/pods/Headers/inspector/src/inspector/v8-debugger.h +257 -0
- package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +91 -0
- package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +80 -0
- package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +191 -0
- package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +156 -0
- package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +34 -0
- package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +71 -0
- package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +24 -0
- package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +70 -0
- package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +88 -0
- package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +104 -0
- package/pods/Headers/inspector/src/inspector/v8-regex.h +38 -0
- package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +157 -0
- package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +38 -0
- package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +164 -0
- package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +17 -0
- package/pods/Headers/inspector/src/inspector/v8-value-utils.h +23 -0
- package/pods/Headers/inspector/src/inspector/value-mirror.h +87 -0
- package/pods/Headers/inspector/src/libplatform/default-platform.h +92 -0
- package/pods/Headers/inspector/src/logging/tracing-flags.h +50 -0
- package/pods/Headers/inspector/src/numbers/conversions.h +183 -0
- package/pods/Headers/inspector/src/tracing/trace-event.h +664 -0
- package/pods/Headers/inspector/src/utils/allocation.h +367 -0
- package/pods/Headers/inspector/src/utils/vector.h +324 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +305 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +314 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +62 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +6 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +58 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +47 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +80 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +52 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +26 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +104 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +39 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +406 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +32 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +158 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +99 -0
- package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +139 -0
- package/pods/Headers/inspector/utils.h +32 -0
- package/pods/Headers/inspector/v8-inspector-platform.h +44 -0
- package/pods/Headers/jsi/decorator.h +770 -0
- package/pods/Headers/jsi/instrumentation.h +117 -0
- package/pods/Headers/jsi/jsi-inl.h +338 -0
- package/pods/Headers/jsi/jsi.h +1571 -0
- package/pods/Headers/jsi/jsilib.h +59 -0
- package/pods/Headers/jsi/threadsafe.h +79 -0
- package/pods/Headers/runtime/ArgConverter.h +61 -0
- package/pods/Headers/runtime/ArrayAdapter.h +13 -0
- package/pods/Headers/runtime/Caches.h +98 -0
- package/pods/Headers/runtime/ClassBuilder.h +61 -0
- package/pods/Headers/runtime/Common.h +9 -0
- package/pods/Headers/runtime/ConcurrentMap.h +55 -0
- package/pods/Headers/runtime/ConcurrentQueue.h +28 -0
- package/pods/Headers/runtime/Console.h +27 -0
- package/pods/Headers/runtime/Constants.h +15 -0
- package/pods/Headers/runtime/DataWrapper.h +671 -0
- package/pods/Headers/runtime/DictionaryAdapter.h +13 -0
- package/pods/Headers/runtime/ExtVector.h +21 -0
- package/pods/Headers/runtime/FFICall.h +105 -0
- package/pods/Headers/runtime/FastEnumerationAdapter.h +13 -0
- package/pods/Headers/runtime/FunctionReference.h +18 -0
- package/pods/Headers/runtime/Helpers.h +84 -0
- package/pods/Headers/runtime/InlineFunctions.h +16 -0
- package/pods/Headers/runtime/Interop.h +202 -0
- package/pods/Headers/runtime/KnownUnknownClassPair.h +35 -0
- package/pods/Headers/runtime/Metadata.h +981 -0
- package/pods/Headers/runtime/MetadataBuilder.h +72 -0
- package/pods/Headers/runtime/MetadataInlines.h +157 -0
- package/pods/Headers/runtime/ModuleInternal.h +59 -0
- package/pods/Headers/runtime/NSDataAdapter.h +13 -0
- package/pods/Headers/runtime/NativeScriptException.h +27 -0
- package/pods/Headers/runtime/ObjectManager.h +31 -0
- package/pods/Headers/runtime/OneByteStringResource.h +21 -0
- package/pods/Headers/runtime/Pointer.h +26 -0
- package/pods/Headers/runtime/PromiseProxy.h +15 -0
- package/pods/Headers/runtime/Reference.h +38 -0
- package/pods/Headers/runtime/Runtime.h +67 -0
- package/pods/Headers/runtime/RuntimeConfig.h +17 -0
- package/pods/Headers/runtime/SetTimeout.h +34 -0
- package/pods/Headers/runtime/SimpleAllocator.h +23 -0
- package/pods/Headers/runtime/StringHasher.h +315 -0
- package/pods/Headers/runtime/SymbolIterator.h +18 -0
- package/pods/Headers/runtime/SymbolLoader.h +27 -0
- package/pods/Headers/runtime/TNSDerivedClass.h +8 -0
- package/pods/Headers/runtime/TSHelpers.h +15 -0
- package/pods/Headers/runtime/Tasks.h +19 -0
- package/pods/Headers/runtime/UnmanagedType.h +21 -0
- package/pods/Headers/runtime/WeakRef.h +15 -0
- package/pods/Headers/runtime/Worker.h +26 -0
- package/pods/Headers/runtime/robin_hood.h +2184 -0
- package/pods/Headers/v8runtime/HostProxy.h +71 -0
- package/pods/Headers/v8runtime/JSIV8ValueConverter.h +74 -0
- package/pods/Headers/v8runtime/V8PointerValue.h +44 -0
- package/pods/Headers/v8runtime/V8Runtime.h +240 -0
- package/pods/Headers/v8runtime/V8RuntimeConfig.h +26 -0
- package/pods/Headers/v8runtime/V8RuntimeFactory.h +21 -0
- package/pods/NativeScript.podspec +68 -0
|
@@ -287,11 +287,19 @@ SWIFT_CLASS("_TtC12CanvasNative13CanvasHelpers")
|
|
|
287
287
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
288
288
|
@end
|
|
289
289
|
|
|
290
|
+
@class NSData;
|
|
291
|
+
|
|
292
|
+
@interface GLKView (SWIFT_EXTENSION(CanvasNative))
|
|
293
|
+
- (void)snapshotWithData:(NSData * _Nonnull)data;
|
|
294
|
+
@end
|
|
295
|
+
|
|
290
296
|
@class NSString;
|
|
297
|
+
@class UIImage;
|
|
291
298
|
@protocol NSCCanvasListener;
|
|
292
299
|
|
|
293
300
|
SWIFT_CLASS_NAMED("NSCCanvas")
|
|
294
|
-
@interface NSCCanvas : UIView
|
|
301
|
+
@interface NSCCanvas : UIView <GLKViewDelegate>
|
|
302
|
+
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
295
303
|
+ (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
|
|
296
304
|
- (void * _Nonnull)getViewPtr SWIFT_WARN_UNUSED_RESULT;
|
|
297
305
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
@@ -304,7 +312,8 @@ SWIFT_CLASS_NAMED("NSCCanvas")
|
|
|
304
312
|
- (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
|
|
305
313
|
- (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
|
|
306
314
|
- (void)forceLayout:(CGFloat)width :(CGFloat)height;
|
|
307
|
-
- (
|
|
315
|
+
- (UIImage * _Nullable)snapshot:(BOOL)flip SWIFT_WARN_UNUSED_RESULT;
|
|
316
|
+
- (BOOL)render;
|
|
308
317
|
- (void)context2DTest:(int64_t)context;
|
|
309
318
|
- (NSString * _Nonnull)context2DTestToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
310
319
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
@@ -325,7 +334,6 @@ SWIFT_CLASS_NAMED("NSCCanvasRenderingContext")
|
|
|
325
334
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
326
335
|
@end
|
|
327
336
|
|
|
328
|
-
@class UIImage;
|
|
329
337
|
|
|
330
338
|
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
331
339
|
@interface NSCCanvasRenderingContext2D : NSCCanvasRenderingContext
|
|
@@ -680,11 +688,19 @@ SWIFT_CLASS("_TtC12CanvasNative13CanvasHelpers")
|
|
|
680
688
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
681
689
|
@end
|
|
682
690
|
|
|
691
|
+
@class NSData;
|
|
692
|
+
|
|
693
|
+
@interface GLKView (SWIFT_EXTENSION(CanvasNative))
|
|
694
|
+
- (void)snapshotWithData:(NSData * _Nonnull)data;
|
|
695
|
+
@end
|
|
696
|
+
|
|
683
697
|
@class NSString;
|
|
698
|
+
@class UIImage;
|
|
684
699
|
@protocol NSCCanvasListener;
|
|
685
700
|
|
|
686
701
|
SWIFT_CLASS_NAMED("NSCCanvas")
|
|
687
|
-
@interface NSCCanvas : UIView
|
|
702
|
+
@interface NSCCanvas : UIView <GLKViewDelegate>
|
|
703
|
+
- (void)glkView:(GLKView * _Nonnull)view drawInRect:(CGRect)rect;
|
|
688
704
|
+ (NSMapTable<NSString *, NSCCanvas *> * _Nonnull)getViews SWIFT_WARN_UNUSED_RESULT;
|
|
689
705
|
- (void * _Nonnull)getViewPtr SWIFT_WARN_UNUSED_RESULT;
|
|
690
706
|
@property (nonatomic) BOOL ignorePixelScaling;
|
|
@@ -697,7 +713,8 @@ SWIFT_CLASS_NAMED("NSCCanvas")
|
|
|
697
713
|
- (void)initContext:(NSString * _Nonnull)type :(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible SWIFT_METHOD_FAMILY(none);
|
|
698
714
|
- (int64_t)create2DContext:(BOOL)alpha :(BOOL)antialias :(BOOL)depth :(BOOL)failIfMajorPerformanceCaveat :(NSString * _Nonnull)powerPreference :(BOOL)premultipliedAlpha :(BOOL)preserveDrawingBuffer :(BOOL)stencil :(BOOL)desynchronized :(BOOL)xrCompatible :(int32_t)fontColor SWIFT_WARN_UNUSED_RESULT;
|
|
699
715
|
- (void)forceLayout:(CGFloat)width :(CGFloat)height;
|
|
700
|
-
- (
|
|
716
|
+
- (UIImage * _Nullable)snapshot:(BOOL)flip SWIFT_WARN_UNUSED_RESULT;
|
|
717
|
+
- (BOOL)render;
|
|
701
718
|
- (void)context2DTest:(int64_t)context;
|
|
702
719
|
- (NSString * _Nonnull)context2DTestToDataURL:(int64_t)context SWIFT_WARN_UNUSED_RESULT;
|
|
703
720
|
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder SWIFT_UNAVAILABLE;
|
|
@@ -718,7 +735,6 @@ SWIFT_CLASS_NAMED("NSCCanvasRenderingContext")
|
|
|
718
735
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
719
736
|
@end
|
|
720
737
|
|
|
721
|
-
@class UIImage;
|
|
722
738
|
|
|
723
739
|
SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
724
740
|
@interface NSCCanvasRenderingContext2D : NSCCanvasRenderingContext
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
#include <stdlib.h>
|
|
10
10
|
|
|
11
11
|
long long canvas_native_init_ios_gl(int64_t view,
|
|
12
|
-
int32_t width,
|
|
13
|
-
int32_t height,
|
|
14
12
|
bool alpha,
|
|
15
13
|
bool antialias,
|
|
16
14
|
bool depth,
|
|
@@ -24,6 +22,10 @@ long long canvas_native_init_ios_gl(int64_t view,
|
|
|
24
22
|
int32_t version,
|
|
25
23
|
bool is_canvas);
|
|
26
24
|
|
|
25
|
+
bool canvas_native_ios_flush_gl(int64_t context);
|
|
26
|
+
|
|
27
|
+
void canvas_native_resize_context_2d(int64_t context, float width, float height);
|
|
28
|
+
|
|
27
29
|
int64_t canvas_native_create_2d_context(int64_t context,
|
|
28
30
|
int32_t width,
|
|
29
31
|
int32_t height,
|
|
Binary file
|
|
Binary file
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
{
|
|
373
373
|
"kind": "Function",
|
|
374
374
|
"name": "initGLWithView",
|
|
375
|
-
"printedName": "initGLWithView(_:_:_:_:_:_:_:_:_:_:_:_:_:
|
|
375
|
+
"printedName": "initGLWithView(_:_:_:_:_:_:_:_:_:_:_:_:_:)",
|
|
376
376
|
"children": [
|
|
377
377
|
{
|
|
378
378
|
"kind": "TypeNominal",
|
|
@@ -386,18 +386,6 @@
|
|
|
386
386
|
"printedName": "Swift.Int64",
|
|
387
387
|
"usr": "s:s5Int64V"
|
|
388
388
|
},
|
|
389
|
-
{
|
|
390
|
-
"kind": "TypeNominal",
|
|
391
|
-
"name": "Int32",
|
|
392
|
-
"printedName": "Swift.Int32",
|
|
393
|
-
"usr": "s:s5Int32V"
|
|
394
|
-
},
|
|
395
|
-
{
|
|
396
|
-
"kind": "TypeNominal",
|
|
397
|
-
"name": "Int32",
|
|
398
|
-
"printedName": "Swift.Int32",
|
|
399
|
-
"usr": "s:s5Int32V"
|
|
400
|
-
},
|
|
401
389
|
{
|
|
402
390
|
"kind": "TypeNominal",
|
|
403
391
|
"name": "Bool",
|
|
@@ -472,8 +460,77 @@
|
|
|
472
460
|
}
|
|
473
461
|
],
|
|
474
462
|
"declKind": "Func",
|
|
475
|
-
"usr": "s:
|
|
476
|
-
"mangledName": "$
|
|
463
|
+
"usr": "s:12CanvasNative0A7HelpersC14initGLWithViewys5Int64VAF_S4bSSS5bs5Int32VSbtFZ",
|
|
464
|
+
"mangledName": "$s12CanvasNative0A7HelpersC14initGLWithViewys5Int64VAF_S4bSSS5bs5Int32VSbtFZ",
|
|
465
|
+
"moduleName": "CanvasNative",
|
|
466
|
+
"static": true,
|
|
467
|
+
"declAttributes": [
|
|
468
|
+
"Final",
|
|
469
|
+
"AccessControl"
|
|
470
|
+
],
|
|
471
|
+
"funcSelfKind": "NonMutating"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"kind": "Function",
|
|
475
|
+
"name": "resize2DContext",
|
|
476
|
+
"printedName": "resize2DContext(_:_:_:)",
|
|
477
|
+
"children": [
|
|
478
|
+
{
|
|
479
|
+
"kind": "TypeNominal",
|
|
480
|
+
"name": "Void",
|
|
481
|
+
"printedName": "()"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"kind": "TypeNominal",
|
|
485
|
+
"name": "Int64",
|
|
486
|
+
"printedName": "Swift.Int64",
|
|
487
|
+
"usr": "s:s5Int64V"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"kind": "TypeNominal",
|
|
491
|
+
"name": "Float",
|
|
492
|
+
"printedName": "Swift.Float",
|
|
493
|
+
"usr": "s:Sf"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"kind": "TypeNominal",
|
|
497
|
+
"name": "Float",
|
|
498
|
+
"printedName": "Swift.Float",
|
|
499
|
+
"usr": "s:Sf"
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"declKind": "Func",
|
|
503
|
+
"usr": "s:12CanvasNative0A7HelpersC15resize2DContextyys5Int64V_S2ftFZ",
|
|
504
|
+
"mangledName": "$s12CanvasNative0A7HelpersC15resize2DContextyys5Int64V_S2ftFZ",
|
|
505
|
+
"moduleName": "CanvasNative",
|
|
506
|
+
"static": true,
|
|
507
|
+
"declAttributes": [
|
|
508
|
+
"Final",
|
|
509
|
+
"AccessControl"
|
|
510
|
+
],
|
|
511
|
+
"funcSelfKind": "NonMutating"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"kind": "Function",
|
|
515
|
+
"name": "flushGL",
|
|
516
|
+
"printedName": "flushGL(_:)",
|
|
517
|
+
"children": [
|
|
518
|
+
{
|
|
519
|
+
"kind": "TypeNominal",
|
|
520
|
+
"name": "Bool",
|
|
521
|
+
"printedName": "Swift.Bool",
|
|
522
|
+
"usr": "s:Sb"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"kind": "TypeNominal",
|
|
526
|
+
"name": "Int64",
|
|
527
|
+
"printedName": "Swift.Int64",
|
|
528
|
+
"usr": "s:s5Int64V"
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"declKind": "Func",
|
|
532
|
+
"usr": "s:12CanvasNative0A7HelpersC7flushGLySbs5Int64VFZ",
|
|
533
|
+
"mangledName": "$s12CanvasNative0A7HelpersC7flushGLySbs5Int64VFZ",
|
|
477
534
|
"moduleName": "CanvasNative",
|
|
478
535
|
"static": true,
|
|
479
536
|
"declAttributes": [
|
|
@@ -856,11 +913,53 @@
|
|
|
856
913
|
"declKind": "Import",
|
|
857
914
|
"moduleName": "CanvasNative"
|
|
858
915
|
},
|
|
916
|
+
{
|
|
917
|
+
"kind": "Import",
|
|
918
|
+
"name": "GLKit",
|
|
919
|
+
"printedName": "GLKit",
|
|
920
|
+
"declKind": "Import",
|
|
921
|
+
"moduleName": "CanvasNative"
|
|
922
|
+
},
|
|
859
923
|
{
|
|
860
924
|
"kind": "TypeDecl",
|
|
861
925
|
"name": "NSCCanvas",
|
|
862
926
|
"printedName": "NSCCanvas",
|
|
863
927
|
"children": [
|
|
928
|
+
{
|
|
929
|
+
"kind": "Function",
|
|
930
|
+
"name": "glkView",
|
|
931
|
+
"printedName": "glkView(_:drawIn:)",
|
|
932
|
+
"children": [
|
|
933
|
+
{
|
|
934
|
+
"kind": "TypeNominal",
|
|
935
|
+
"name": "Void",
|
|
936
|
+
"printedName": "()"
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"kind": "TypeNominal",
|
|
940
|
+
"name": "GLKView",
|
|
941
|
+
"printedName": "GLKit.GLKView",
|
|
942
|
+
"usr": "c:objc(cs)GLKView"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"kind": "TypeNominal",
|
|
946
|
+
"name": "CGRect",
|
|
947
|
+
"printedName": "CoreFoundation.CGRect",
|
|
948
|
+
"usr": "c:@S@CGRect"
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
"declKind": "Func",
|
|
952
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)glkView:drawInRect:",
|
|
953
|
+
"mangledName": "$s12CanvasNative9NSCCanvasC7glkView_6drawInySo7GLKViewC_So6CGRectVtF",
|
|
954
|
+
"moduleName": "CanvasNative",
|
|
955
|
+
"objc_name": "glkView:drawInRect:",
|
|
956
|
+
"declAttributes": [
|
|
957
|
+
"ObjC",
|
|
958
|
+
"Custom",
|
|
959
|
+
"AccessControl"
|
|
960
|
+
],
|
|
961
|
+
"funcSelfKind": "NonMutating"
|
|
962
|
+
},
|
|
864
963
|
{
|
|
865
964
|
"kind": "Function",
|
|
866
965
|
"name": "getViews",
|
|
@@ -1518,6 +1617,43 @@
|
|
|
1518
1617
|
],
|
|
1519
1618
|
"funcSelfKind": "NonMutating"
|
|
1520
1619
|
},
|
|
1620
|
+
{
|
|
1621
|
+
"kind": "Function",
|
|
1622
|
+
"name": "snapshot",
|
|
1623
|
+
"printedName": "snapshot(_:)",
|
|
1624
|
+
"children": [
|
|
1625
|
+
{
|
|
1626
|
+
"kind": "TypeNominal",
|
|
1627
|
+
"name": "Optional",
|
|
1628
|
+
"printedName": "UIKit.UIImage?",
|
|
1629
|
+
"children": [
|
|
1630
|
+
{
|
|
1631
|
+
"kind": "TypeNominal",
|
|
1632
|
+
"name": "UIImage",
|
|
1633
|
+
"printedName": "UIKit.UIImage",
|
|
1634
|
+
"usr": "c:objc(cs)UIImage"
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"usr": "s:Sq"
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"kind": "TypeNominal",
|
|
1641
|
+
"name": "Bool",
|
|
1642
|
+
"printedName": "Swift.Bool",
|
|
1643
|
+
"usr": "s:Sb"
|
|
1644
|
+
}
|
|
1645
|
+
],
|
|
1646
|
+
"declKind": "Func",
|
|
1647
|
+
"usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)snapshot:",
|
|
1648
|
+
"mangledName": "$s12CanvasNative9NSCCanvasC8snapshotySo7UIImageCSgSbF",
|
|
1649
|
+
"moduleName": "CanvasNative",
|
|
1650
|
+
"declAttributes": [
|
|
1651
|
+
"Custom",
|
|
1652
|
+
"AccessControl",
|
|
1653
|
+
"ObjC"
|
|
1654
|
+
],
|
|
1655
|
+
"funcSelfKind": "NonMutating"
|
|
1656
|
+
},
|
|
1521
1657
|
{
|
|
1522
1658
|
"kind": "Function",
|
|
1523
1659
|
"name": "render",
|
|
@@ -1525,18 +1661,19 @@
|
|
|
1525
1661
|
"children": [
|
|
1526
1662
|
{
|
|
1527
1663
|
"kind": "TypeNominal",
|
|
1528
|
-
"name": "
|
|
1529
|
-
"printedName": "
|
|
1664
|
+
"name": "Bool",
|
|
1665
|
+
"printedName": "Swift.Bool",
|
|
1666
|
+
"usr": "s:Sb"
|
|
1530
1667
|
}
|
|
1531
1668
|
],
|
|
1532
1669
|
"declKind": "Func",
|
|
1533
1670
|
"usr": "c:@M@CanvasNative@objc(cs)NSCCanvas(im)render",
|
|
1534
|
-
"mangledName": "$
|
|
1671
|
+
"mangledName": "$s12CanvasNative9NSCCanvasC6renderSbyF",
|
|
1535
1672
|
"moduleName": "CanvasNative",
|
|
1536
1673
|
"declAttributes": [
|
|
1537
1674
|
"Custom",
|
|
1538
1675
|
"AccessControl",
|
|
1539
|
-
"
|
|
1676
|
+
"DiscardableResult",
|
|
1540
1677
|
"ObjC"
|
|
1541
1678
|
],
|
|
1542
1679
|
"funcSelfKind": "NonMutating"
|
|
@@ -4188,6 +4325,126 @@
|
|
|
4188
4325
|
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
|
4189
4326
|
}
|
|
4190
4327
|
]
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"kind": "TypeDecl",
|
|
4331
|
+
"name": "GLKView",
|
|
4332
|
+
"printedName": "GLKView",
|
|
4333
|
+
"children": [
|
|
4334
|
+
{
|
|
4335
|
+
"kind": "Function",
|
|
4336
|
+
"name": "snapshotWithData",
|
|
4337
|
+
"printedName": "snapshotWithData(_:)",
|
|
4338
|
+
"children": [
|
|
4339
|
+
{
|
|
4340
|
+
"kind": "TypeNominal",
|
|
4341
|
+
"name": "Void",
|
|
4342
|
+
"printedName": "()"
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"kind": "TypeNominal",
|
|
4346
|
+
"name": "Data",
|
|
4347
|
+
"printedName": "Foundation.Data",
|
|
4348
|
+
"usr": "s:10Foundation4DataV"
|
|
4349
|
+
}
|
|
4350
|
+
],
|
|
4351
|
+
"declKind": "Func",
|
|
4352
|
+
"usr": "c:@CM@CanvasNative@@objc(cs)GLKView(im)snapshotWithData:",
|
|
4353
|
+
"mangledName": "$sSo7GLKViewC12CanvasNativeE16snapshotWithDatayy10Foundation0F0VF",
|
|
4354
|
+
"moduleName": "CanvasNative",
|
|
4355
|
+
"declAttributes": [
|
|
4356
|
+
"Dynamic",
|
|
4357
|
+
"Custom",
|
|
4358
|
+
"AccessControl",
|
|
4359
|
+
"ObjC"
|
|
4360
|
+
],
|
|
4361
|
+
"isFromExtension": true,
|
|
4362
|
+
"funcSelfKind": "NonMutating"
|
|
4363
|
+
}
|
|
4364
|
+
],
|
|
4365
|
+
"declKind": "Class",
|
|
4366
|
+
"usr": "c:objc(cs)GLKView",
|
|
4367
|
+
"moduleName": "GLKit",
|
|
4368
|
+
"isOpen": true,
|
|
4369
|
+
"objc_name": "GLKView",
|
|
4370
|
+
"declAttributes": [
|
|
4371
|
+
"Custom",
|
|
4372
|
+
"ObjC",
|
|
4373
|
+
"Dynamic"
|
|
4374
|
+
],
|
|
4375
|
+
"superclassUsr": "c:objc(cs)UIView",
|
|
4376
|
+
"isExternal": true,
|
|
4377
|
+
"inheritsConvenienceInitializers": true,
|
|
4378
|
+
"superclassNames": [
|
|
4379
|
+
"UIKit.UIView",
|
|
4380
|
+
"UIKit.UIResponder",
|
|
4381
|
+
"ObjectiveC.NSObject"
|
|
4382
|
+
],
|
|
4383
|
+
"conformances": [
|
|
4384
|
+
{
|
|
4385
|
+
"kind": "Conformance",
|
|
4386
|
+
"name": "Equatable",
|
|
4387
|
+
"printedName": "Equatable",
|
|
4388
|
+
"usr": "s:SQ",
|
|
4389
|
+
"mangledName": "$sSQ"
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"kind": "Conformance",
|
|
4393
|
+
"name": "Hashable",
|
|
4394
|
+
"printedName": "Hashable",
|
|
4395
|
+
"usr": "s:SH",
|
|
4396
|
+
"mangledName": "$sSH"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
"kind": "Conformance",
|
|
4400
|
+
"name": "CVarArg",
|
|
4401
|
+
"printedName": "CVarArg",
|
|
4402
|
+
"usr": "s:s7CVarArgP",
|
|
4403
|
+
"mangledName": "$ss7CVarArgP"
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
"kind": "Conformance",
|
|
4407
|
+
"name": "_KeyValueCodingAndObservingPublishing",
|
|
4408
|
+
"printedName": "_KeyValueCodingAndObservingPublishing",
|
|
4409
|
+
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
|
4410
|
+
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
|
4411
|
+
},
|
|
4412
|
+
{
|
|
4413
|
+
"kind": "Conformance",
|
|
4414
|
+
"name": "_KeyValueCodingAndObserving",
|
|
4415
|
+
"printedName": "_KeyValueCodingAndObserving",
|
|
4416
|
+
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
|
4417
|
+
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
"kind": "Conformance",
|
|
4421
|
+
"name": "CustomStringConvertible",
|
|
4422
|
+
"printedName": "CustomStringConvertible",
|
|
4423
|
+
"usr": "s:s23CustomStringConvertibleP",
|
|
4424
|
+
"mangledName": "$ss23CustomStringConvertibleP"
|
|
4425
|
+
},
|
|
4426
|
+
{
|
|
4427
|
+
"kind": "Conformance",
|
|
4428
|
+
"name": "CustomDebugStringConvertible",
|
|
4429
|
+
"printedName": "CustomDebugStringConvertible",
|
|
4430
|
+
"usr": "s:s28CustomDebugStringConvertibleP",
|
|
4431
|
+
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
|
4432
|
+
},
|
|
4433
|
+
{
|
|
4434
|
+
"kind": "Conformance",
|
|
4435
|
+
"name": "__DefaultCustomPlaygroundQuickLookable",
|
|
4436
|
+
"printedName": "__DefaultCustomPlaygroundQuickLookable",
|
|
4437
|
+
"usr": "s:s38__DefaultCustomPlaygroundQuickLookableP",
|
|
4438
|
+
"mangledName": "$ss38__DefaultCustomPlaygroundQuickLookableP"
|
|
4439
|
+
},
|
|
4440
|
+
{
|
|
4441
|
+
"kind": "Conformance",
|
|
4442
|
+
"name": "Sendable",
|
|
4443
|
+
"printedName": "Sendable",
|
|
4444
|
+
"usr": "s:s8SendableP",
|
|
4445
|
+
"mangledName": "$ss8SendableP"
|
|
4446
|
+
}
|
|
4447
|
+
]
|
|
4191
4448
|
}
|
|
4192
4449
|
],
|
|
4193
4450
|
"json_format_version": 8
|
|
@@ -4196,98 +4453,112 @@
|
|
|
4196
4453
|
{
|
|
4197
4454
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4198
4455
|
"kind": "BooleanLiteral",
|
|
4199
|
-
"offset":
|
|
4456
|
+
"offset": 879,
|
|
4200
4457
|
"length": 5,
|
|
4201
4458
|
"value": "false"
|
|
4202
4459
|
},
|
|
4203
4460
|
{
|
|
4204
4461
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4205
4462
|
"kind": "IntegerLiteral",
|
|
4206
|
-
"offset":
|
|
4463
|
+
"offset": 936,
|
|
4464
|
+
"length": 1,
|
|
4465
|
+
"value": "0"
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4469
|
+
"kind": "IntegerLiteral",
|
|
4470
|
+
"offset": 989,
|
|
4207
4471
|
"length": 1,
|
|
4208
4472
|
"value": "0"
|
|
4209
4473
|
},
|
|
4210
4474
|
{
|
|
4211
4475
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4212
4476
|
"kind": "IntegerLiteral",
|
|
4213
|
-
"offset":
|
|
4477
|
+
"offset": 1032,
|
|
4214
4478
|
"length": 1,
|
|
4215
4479
|
"value": "0"
|
|
4216
4480
|
},
|
|
4217
4481
|
{
|
|
4218
4482
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4219
4483
|
"kind": "BooleanLiteral",
|
|
4220
|
-
"offset":
|
|
4484
|
+
"offset": 1102,
|
|
4485
|
+
"length": 5,
|
|
4486
|
+
"value": "false"
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4490
|
+
"kind": "BooleanLiteral",
|
|
4491
|
+
"offset": 1600,
|
|
4221
4492
|
"length": 4,
|
|
4222
4493
|
"value": "true"
|
|
4223
4494
|
},
|
|
4224
4495
|
{
|
|
4225
4496
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4226
4497
|
"kind": "BooleanLiteral",
|
|
4227
|
-
"offset":
|
|
4498
|
+
"offset": 1634,
|
|
4228
4499
|
"length": 4,
|
|
4229
4500
|
"value": "true"
|
|
4230
4501
|
},
|
|
4231
4502
|
{
|
|
4232
4503
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4233
4504
|
"kind": "BooleanLiteral",
|
|
4234
|
-
"offset":
|
|
4505
|
+
"offset": 1664,
|
|
4235
4506
|
"length": 4,
|
|
4236
4507
|
"value": "true"
|
|
4237
4508
|
},
|
|
4238
4509
|
{
|
|
4239
4510
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4240
4511
|
"kind": "BooleanLiteral",
|
|
4241
|
-
"offset":
|
|
4512
|
+
"offset": 1717,
|
|
4242
4513
|
"length": 5,
|
|
4243
4514
|
"value": "false"
|
|
4244
4515
|
},
|
|
4245
4516
|
{
|
|
4246
4517
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4247
4518
|
"kind": "StringLiteral",
|
|
4248
|
-
"offset":
|
|
4519
|
+
"offset": 1760,
|
|
4249
4520
|
"length": 9,
|
|
4250
4521
|
"value": "\"default\""
|
|
4251
4522
|
},
|
|
4252
4523
|
{
|
|
4253
4524
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4254
4525
|
"kind": "BooleanLiteral",
|
|
4255
|
-
"offset":
|
|
4526
|
+
"offset": 1808,
|
|
4256
4527
|
"length": 4,
|
|
4257
4528
|
"value": "true"
|
|
4258
4529
|
},
|
|
4259
4530
|
{
|
|
4260
4531
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4261
4532
|
"kind": "BooleanLiteral",
|
|
4262
|
-
"offset":
|
|
4533
|
+
"offset": 1854,
|
|
4263
4534
|
"length": 5,
|
|
4264
4535
|
"value": "false"
|
|
4265
4536
|
},
|
|
4266
4537
|
{
|
|
4267
4538
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4268
4539
|
"kind": "BooleanLiteral",
|
|
4269
|
-
"offset":
|
|
4540
|
+
"offset": 1887,
|
|
4270
4541
|
"length": 5,
|
|
4271
4542
|
"value": "false"
|
|
4272
4543
|
},
|
|
4273
4544
|
{
|
|
4274
4545
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4275
4546
|
"kind": "BooleanLiteral",
|
|
4276
|
-
"offset":
|
|
4547
|
+
"offset": 1927,
|
|
4277
4548
|
"length": 5,
|
|
4278
4549
|
"value": "false"
|
|
4279
4550
|
},
|
|
4280
4551
|
{
|
|
4281
4552
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4282
4553
|
"kind": "BooleanLiteral",
|
|
4283
|
-
"offset":
|
|
4554
|
+
"offset": 1965,
|
|
4284
4555
|
"length": 5,
|
|
4285
4556
|
"value": "false"
|
|
4286
4557
|
},
|
|
4287
4558
|
{
|
|
4288
4559
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/NSCCanvas.swift",
|
|
4289
4560
|
"kind": "BooleanLiteral",
|
|
4290
|
-
"offset":
|
|
4561
|
+
"offset": 9125,
|
|
4291
4562
|
"length": 5,
|
|
4292
4563
|
"value": "false"
|
|
4293
4564
|
},
|
|
@@ -4413,14 +4684,14 @@
|
|
|
4413
4684
|
{
|
|
4414
4685
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/GLRenderer.swift",
|
|
4415
4686
|
"kind": "BooleanLiteral",
|
|
4416
|
-
"offset":
|
|
4687
|
+
"offset": 1965,
|
|
4417
4688
|
"length": 5,
|
|
4418
4689
|
"value": "false"
|
|
4419
4690
|
},
|
|
4420
4691
|
{
|
|
4421
4692
|
"filePath": "\/Users\/triniwiz\/Desktop\/oss\/latest\/canvas\/packages\/canvas\/src-native\/canvas-ios\/CanvasNative\/Source\/GLRenderer.swift",
|
|
4422
4693
|
"kind": "BooleanLiteral",
|
|
4423
|
-
"offset":
|
|
4694
|
+
"offset": 2041,
|
|
4424
4695
|
"length": 5,
|
|
4425
4696
|
"value": "false"
|
|
4426
4697
|
},
|
|
@@ -22,7 +22,9 @@ import _StringProcessing
|
|
|
22
22
|
public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float)
|
|
23
23
|
public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
|
|
24
24
|
public static func drawImage(context: Swift.Int64, image: UIKit.UIImage, sx: Swift.Float, sy: Swift.Float, sw: Swift.Float, sh: Swift.Float, dx: Swift.Float, dy: Swift.Float, dw: Swift.Float, dh: Swift.Float)
|
|
25
|
-
public static func initGLWithView(_ view: Swift.Int64, _
|
|
25
|
+
public static func initGLWithView(_ view: Swift.Int64, _ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ fail_if_major_performance_caveat: Swift.Bool, _ power_preference: Swift.String, _ premultiplied_alpha: Swift.Bool, _ preserve_drawing_buffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xr_compatible: Swift.Bool, _ version: Swift.Int32, _ is_canvas: Swift.Bool) -> Swift.Int64
|
|
26
|
+
public static func resize2DContext(_ context: Swift.Int64, _ width: Swift.Float, _ height: Swift.Float)
|
|
27
|
+
public static func flushGL(_ context: Swift.Int64) -> Swift.Bool
|
|
26
28
|
public static func releaseGL(_ context: Swift.Int64)
|
|
27
29
|
public static func getGLPointer(_ context: Swift.Int64) -> Swift.Int64
|
|
28
30
|
public static func releaseGLPointer(_ context: Swift.Int64)
|
|
@@ -33,7 +35,8 @@ import _StringProcessing
|
|
|
33
35
|
@objc override dynamic public init()
|
|
34
36
|
@objc deinit
|
|
35
37
|
}
|
|
36
|
-
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(NSCCanvas) @_Concurrency.MainActor(unsafe) public class NSCCanvas : UIKit.UIView {
|
|
38
|
+
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(NSCCanvas) @_Concurrency.MainActor(unsafe) public class NSCCanvas : UIKit.UIView, GLKit.GLKViewDelegate {
|
|
39
|
+
@_Concurrency.MainActor(unsafe) @objc public func glkView(_ view: GLKit.GLKView, drawIn rect: CoreFoundation.CGRect)
|
|
37
40
|
@objc @_Concurrency.MainActor(unsafe) public static func getViews() -> Foundation.NSMapTable<Foundation.NSString, CanvasNative.NSCCanvas>
|
|
38
41
|
@objc @_Concurrency.MainActor(unsafe) public func getViewPtr() -> Swift.UnsafeMutableRawPointer
|
|
39
42
|
@objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool
|
|
@@ -58,7 +61,9 @@ import _StringProcessing
|
|
|
58
61
|
@objc @_Concurrency.MainActor(unsafe) public func initContext(_ type: Swift.String, _ alpha: Swift.Bool = true, _ antialias: Swift.Bool = true, _ depth: Swift.Bool = true, _ failIfMajorPerformanceCaveat: Swift.Bool = false, _ powerPreference: Swift.String = "default", _ premultipliedAlpha: Swift.Bool = true, _ preserveDrawingBuffer: Swift.Bool = false, _ stencil: Swift.Bool = false, _ desynchronized: Swift.Bool = false, _ xrCompatible: Swift.Bool = false)
|
|
59
62
|
@objc @_Concurrency.MainActor(unsafe) public func create2DContext(_ alpha: Swift.Bool, _ antialias: Swift.Bool, _ depth: Swift.Bool, _ failIfMajorPerformanceCaveat: Swift.Bool, _ powerPreference: Swift.String, _ premultipliedAlpha: Swift.Bool, _ preserveDrawingBuffer: Swift.Bool, _ stencil: Swift.Bool, _ desynchronized: Swift.Bool, _ xrCompatible: Swift.Bool, _ fontColor: Swift.Int32) -> Swift.Int64
|
|
60
63
|
@objc @_Concurrency.MainActor(unsafe) public func forceLayout(_ width: CoreFoundation.CGFloat, _ height: CoreFoundation.CGFloat)
|
|
61
|
-
@objc @_Concurrency.MainActor(unsafe) public func
|
|
64
|
+
@objc @_Concurrency.MainActor(unsafe) public func snapshot(_ flip: Swift.Bool) -> UIKit.UIImage?
|
|
65
|
+
@objc @discardableResult
|
|
66
|
+
@_Concurrency.MainActor(unsafe) public func render() -> Swift.Bool
|
|
62
67
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTest(_ context: Swift.Int64)
|
|
63
68
|
@objc @_Concurrency.MainActor(unsafe) public func context2DTestToDataURL(_ context: Swift.Int64) -> Swift.String
|
|
64
69
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
@@ -117,6 +122,9 @@ import _StringProcessing
|
|
|
117
122
|
@_Concurrency.MainActor(unsafe) @objc override dynamic public func setNeedsDisplay(_ rect: CoreFoundation.CGRect)
|
|
118
123
|
@objc deinit
|
|
119
124
|
}
|
|
125
|
+
extension GLKit.GLKView {
|
|
126
|
+
@objc @_Concurrency.MainActor(unsafe) dynamic public func snapshotWithData(_ data: Foundation.Data)
|
|
127
|
+
}
|
|
120
128
|
@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objcMembers @objc(CanvasCPUView) @_Concurrency.MainActor(unsafe) public class CanvasCPUView : UIKit.UIView {
|
|
121
129
|
@objc @_Concurrency.MainActor(unsafe) public var ignorePixelScaling: Swift.Bool
|
|
122
130
|
@_Concurrency.MainActor(unsafe) @objc dynamic public init()
|