@nativescript/canvas 2.0.0-rc.11 → 2.0.0-rc.12
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/index.android.js +6 -0
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.ios.js +7 -1
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/Fonts/FontFace.android.js +7 -3
- package/Fonts/FontFace.android.js.map +1 -1
- package/Fonts/FontFace.ios.d.ts +1 -0
- package/Fonts/FontFace.ios.js +10 -3
- package/Fonts/FontFace.ios.js.map +1 -1
- package/WebGPU/GPUCompilationInfo.d.ts +10 -0
- package/WebGPU/GPUCompilationInfo.js +20 -0
- package/WebGPU/GPUCompilationInfo.js.map +1 -0
- package/WebGPU/GPUCompilationMessage.d.ts +11 -0
- package/WebGPU/GPUCompilationMessage.js +30 -0
- package/WebGPU/GPUCompilationMessage.js.map +1 -0
- package/WebGPU/GPUQueue.js.map +1 -1
- package/WebGPU/GPUShaderModule.d.ts +2 -0
- package/WebGPU/GPUShaderModule.js +10 -0
- package/WebGPU/GPUShaderModule.js.map +1 -1
- package/WebGPU/index.d.ts +2 -0
- package/WebGPU/index.js +2 -0
- package/WebGPU/index.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +35 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +11317 -12361
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +954 -954
- 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/canvas_native.h +35 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +11317 -12361
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +11317 -12361
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +2 -2
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/aarch64/CanvasNative.yml +955 -955
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +824 -824
- package/platforms/ios/src/cpp/Caches.h +6 -0
- package/platforms/ios/src/cpp/NativeType.h +3 -1
- package/platforms/ios/src/cpp/webgpu/GPUCompilationInfoImpl.cpp +88 -0
- package/platforms/ios/src/cpp/webgpu/GPUCompilationInfoImpl.h +49 -0
- package/platforms/ios/src/cpp/webgpu/GPUCompilationMessageImpl.cpp +193 -0
- package/platforms/ios/src/cpp/webgpu/GPUCompilationMessageImpl.h +64 -0
- package/platforms/ios/src/cpp/webgpu/GPUShaderModuleImpl.cpp +23 -0
- package/platforms/ios/src/cpp/webgpu/GPUShaderModuleImpl.h +2 -0
|
Binary file
|
|
@@ -277,6 +277,12 @@ typedef enum CanvasGPUAutoLayoutMode {
|
|
|
277
277
|
CanvasGPUAutoLayoutModeAuto,
|
|
278
278
|
} CanvasGPUAutoLayoutMode;
|
|
279
279
|
|
|
280
|
+
typedef enum CanvasGPUCompilationMessageType {
|
|
281
|
+
CanvasGPUCompilationMessageTypeError,
|
|
282
|
+
CanvasGPUCompilationMessageTypeWarning,
|
|
283
|
+
CanvasGPUCompilationMessageTypeInfo,
|
|
284
|
+
} CanvasGPUCompilationMessageType;
|
|
285
|
+
|
|
280
286
|
typedef enum CanvasGPUErrorFilter {
|
|
281
287
|
/**
|
|
282
288
|
* Catch only out-of-memory errors.
|
|
@@ -704,6 +710,10 @@ typedef struct CanvasGPUCommandBuffer CanvasGPUCommandBuffer;
|
|
|
704
710
|
|
|
705
711
|
typedef struct CanvasGPUCommandEncoder CanvasGPUCommandEncoder;
|
|
706
712
|
|
|
713
|
+
typedef struct CanvasGPUCompilationInfo CanvasGPUCompilationInfo;
|
|
714
|
+
|
|
715
|
+
typedef struct CanvasGPUCompilationMessage CanvasGPUCompilationMessage;
|
|
716
|
+
|
|
707
717
|
typedef struct CanvasGPUComputePassEncoder CanvasGPUComputePassEncoder;
|
|
708
718
|
|
|
709
719
|
typedef struct CanvasGPUComputePipeline CanvasGPUComputePipeline;
|
|
@@ -2003,7 +2013,9 @@ void canvas_native_context_2d_path_test(int64_t context);
|
|
|
2003
2013
|
|
|
2004
2014
|
void canvas_native_context_2d_conic_test(int64_t context);
|
|
2005
2015
|
|
|
2016
|
+
#if !defined(TARGET_OS_ANDROID)
|
|
2006
2017
|
void canvas_native_context_set_render_func(int64_t value, void *data, void (*render)(const void*));
|
|
2018
|
+
#endif
|
|
2007
2019
|
|
|
2008
2020
|
void canvas_native_context_clear_render_func(int64_t value);
|
|
2009
2021
|
|
|
@@ -3704,6 +3716,29 @@ void canvas_native_webgpu_shader_module_reference(const struct CanvasGPUShaderMo
|
|
|
3704
3716
|
|
|
3705
3717
|
void canvas_native_webgpu_shader_module_release(const struct CanvasGPUShaderModule *shader_module);
|
|
3706
3718
|
|
|
3719
|
+
struct CanvasGPUCompilationInfo *canvas_native_webgpu_device_create_shader_module_get_compilation_info(const struct CanvasGPUShaderModule *shader_module);
|
|
3720
|
+
|
|
3721
|
+
uintptr_t canvas_native_webgpu_compilation_info_get_messages_count(struct CanvasGPUCompilationInfo *info);
|
|
3722
|
+
|
|
3723
|
+
struct CanvasGPUCompilationMessage *canvas_native_webgpu_compilation_info_get_message_at(struct CanvasGPUCompilationInfo *info,
|
|
3724
|
+
uintptr_t index);
|
|
3725
|
+
|
|
3726
|
+
void canvas_native_webgpu_compilation_info_release(struct CanvasGPUCompilationInfo *info);
|
|
3727
|
+
|
|
3728
|
+
void canvas_native_webgpu_compilation_message_release(struct CanvasGPUCompilationMessage *message);
|
|
3729
|
+
|
|
3730
|
+
const char *canvas_native_webgpu_compilation_message_get_message(struct CanvasGPUCompilationMessage *message);
|
|
3731
|
+
|
|
3732
|
+
enum CanvasGPUCompilationMessageType canvas_native_webgpu_compilation_message_get_type(struct CanvasGPUCompilationMessage *message);
|
|
3733
|
+
|
|
3734
|
+
uint64_t canvas_native_webgpu_compilation_message_get_line_num(struct CanvasGPUCompilationMessage *message);
|
|
3735
|
+
|
|
3736
|
+
uint64_t canvas_native_webgpu_compilation_message_get_line_pos(struct CanvasGPUCompilationMessage *message);
|
|
3737
|
+
|
|
3738
|
+
uint64_t canvas_native_webgpu_compilation_message_get_offset(struct CanvasGPUCompilationMessage *message);
|
|
3739
|
+
|
|
3740
|
+
uint64_t canvas_native_webgpu_compilation_message_get_length(struct CanvasGPUCompilationMessage *message);
|
|
3741
|
+
|
|
3707
3742
|
struct CanvasGPUSupportedLimits *canvas_native_webgpu_create_limits(void);
|
|
3708
3743
|
|
|
3709
3744
|
void canvas_native_webgpu_limits_release(struct CanvasGPUSupportedLimits *limits);
|