@nativescript/canvas 2.0.0-webgpu.23 → 2.0.0-webgpu.25
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.map +1 -1
- package/Canvas/index.android.js.map +1 -1
- package/package.json +1 -1
- 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 +33 -13
- 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 +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +50 -1
- 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 +593 -559
- 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 +66 -26
- 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 +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +1144 -22
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +50 -1
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +22 -22
- 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 +692 -658
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/Relocations/x86_64/CanvasNative.yml +730 -696
|
Binary file
|
|
@@ -444,6 +444,20 @@ SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
|
444
444
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
445
445
|
@end
|
|
446
446
|
|
|
447
|
+
@class NSCRender;
|
|
448
|
+
@class AVPlayer;
|
|
449
|
+
@class AVPlayerItemVideoOutput;
|
|
450
|
+
|
|
451
|
+
SWIFT_CLASS_NAMED("NSCCanvasUtils")
|
|
452
|
+
@interface NSCCanvasUtils : NSObject
|
|
453
|
+
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
454
|
+
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
455
|
+
+ (NSCRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
456
|
+
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(NSCRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
457
|
+
+ (BOOL)writeToFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error;
|
|
458
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
459
|
+
@end
|
|
460
|
+
|
|
447
461
|
|
|
448
462
|
SWIFT_CLASS_NAMED("NSCImageAsset")
|
|
449
463
|
@interface NSCImageAsset : NSObject
|
|
@@ -471,6 +485,25 @@ SWIFT_CLASS_NAMED("NSCRender")
|
|
|
471
485
|
@end
|
|
472
486
|
|
|
473
487
|
|
|
488
|
+
SWIFT_CLASS_NAMED("NSCVideoFrame")
|
|
489
|
+
@interface NSCVideoFrame : NSObject
|
|
490
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
491
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
492
|
+
@end
|
|
493
|
+
|
|
494
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCVideoFrameFormat, "NSCVideoFrameFormat", open) {
|
|
495
|
+
NSCVideoFrameFormatI420 = 0,
|
|
496
|
+
NSCVideoFrameFormatI420A = 1,
|
|
497
|
+
NSCVideoFrameFormatI422 = 2,
|
|
498
|
+
NSCVideoFrameFormatI444 = 3,
|
|
499
|
+
NSCVideoFrameFormatNV12 = 4,
|
|
500
|
+
NSCVideoFrameFormatRGBA = 5,
|
|
501
|
+
NSCVideoFrameFormatRGBX = 6,
|
|
502
|
+
NSCVideoFrameFormatBGRA = 7,
|
|
503
|
+
NSCVideoFrameFormatBGRX = 8,
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
|
|
474
507
|
SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
475
508
|
@interface NSCWebGLRenderingContext : NSObject
|
|
476
509
|
+ (void)texImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
@@ -483,19 +516,6 @@ SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
|
483
516
|
- (void)getBoundingClientRect:(void * _Nonnull)buffer;
|
|
484
517
|
@end
|
|
485
518
|
|
|
486
|
-
@class AVPlayer;
|
|
487
|
-
@class AVPlayerItemVideoOutput;
|
|
488
|
-
|
|
489
|
-
SWIFT_CLASS_NAMED("Utils")
|
|
490
|
-
@interface Utils : NSObject
|
|
491
|
-
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
492
|
-
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
493
|
-
+ (NSCRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
494
|
-
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(NSCRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
495
|
-
+ (BOOL)writeToFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error;
|
|
496
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
497
|
-
@end
|
|
498
|
-
|
|
499
519
|
#endif
|
|
500
520
|
#if __has_attribute(external_source_symbol)
|
|
501
521
|
# pragma clang attribute pop
|
|
@@ -950,6 +970,20 @@ SWIFT_CLASS_NAMED("NSCCanvasRenderingContext2D")
|
|
|
950
970
|
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
951
971
|
@end
|
|
952
972
|
|
|
973
|
+
@class NSCRender;
|
|
974
|
+
@class AVPlayer;
|
|
975
|
+
@class AVPlayerItemVideoOutput;
|
|
976
|
+
|
|
977
|
+
SWIFT_CLASS_NAMED("NSCCanvasUtils")
|
|
978
|
+
@interface NSCCanvasUtils : NSObject
|
|
979
|
+
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
980
|
+
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
981
|
+
+ (NSCRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
982
|
+
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(NSCRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
983
|
+
+ (BOOL)writeToFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error;
|
|
984
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
985
|
+
@end
|
|
986
|
+
|
|
953
987
|
|
|
954
988
|
SWIFT_CLASS_NAMED("NSCImageAsset")
|
|
955
989
|
@interface NSCImageAsset : NSObject
|
|
@@ -977,6 +1011,25 @@ SWIFT_CLASS_NAMED("NSCRender")
|
|
|
977
1011
|
@end
|
|
978
1012
|
|
|
979
1013
|
|
|
1014
|
+
SWIFT_CLASS_NAMED("NSCVideoFrame")
|
|
1015
|
+
@interface NSCVideoFrame : NSObject
|
|
1016
|
+
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
|
|
1017
|
+
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
|
|
1018
|
+
@end
|
|
1019
|
+
|
|
1020
|
+
typedef SWIFT_ENUM_NAMED(NSInteger, NSCVideoFrameFormat, "NSCVideoFrameFormat", open) {
|
|
1021
|
+
NSCVideoFrameFormatI420 = 0,
|
|
1022
|
+
NSCVideoFrameFormatI420A = 1,
|
|
1023
|
+
NSCVideoFrameFormatI422 = 2,
|
|
1024
|
+
NSCVideoFrameFormatI444 = 3,
|
|
1025
|
+
NSCVideoFrameFormatNV12 = 4,
|
|
1026
|
+
NSCVideoFrameFormatRGBA = 5,
|
|
1027
|
+
NSCVideoFrameFormatRGBX = 6,
|
|
1028
|
+
NSCVideoFrameFormatBGRA = 7,
|
|
1029
|
+
NSCVideoFrameFormatBGRX = 8,
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
|
|
980
1033
|
SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
981
1034
|
@interface NSCWebGLRenderingContext : NSObject
|
|
982
1035
|
+ (void)texImage2D:(int64_t)context :(int32_t)target :(int32_t)level :(int32_t)internalformat :(int32_t)format :(int32_t)type :(uint8_t * _Nonnull)data :(NSUInteger)size :(CGSize)dimensions :(BOOL)flipY;
|
|
@@ -989,19 +1042,6 @@ SWIFT_CLASS_NAMED("NSCWebGLRenderingContext")
|
|
|
989
1042
|
- (void)getBoundingClientRect:(void * _Nonnull)buffer;
|
|
990
1043
|
@end
|
|
991
1044
|
|
|
992
|
-
@class AVPlayer;
|
|
993
|
-
@class AVPlayerItemVideoOutput;
|
|
994
|
-
|
|
995
|
-
SWIFT_CLASS_NAMED("Utils")
|
|
996
|
-
@interface Utils : NSObject
|
|
997
|
-
+ (CVOpenGLESTextureCacheRef _Nullable)createTextureCache SWIFT_WARN_UNUSED_RESULT;
|
|
998
|
-
+ (CVOpenGLESTextureRef _Nullable)createImage:(CVOpenGLESTextureCacheRef _Nonnull)texturecache :(CVImageBufferRef _Nonnull)buffer :(CFDictionaryRef _Nullable)textureAttributes :(GLenum)target :(GLint)internalFormat :(GLsizei)width :(GLsizei)height :(GLenum)format :(GLenum)type :(NSInteger)planeIndex SWIFT_WARN_UNUSED_RESULT;
|
|
999
|
-
+ (NSCRender * _Nonnull)setupRender SWIFT_WARN_UNUSED_RESULT;
|
|
1000
|
-
+ (void)drawFrame:(AVPlayer * _Nonnull)player :(AVPlayerItemVideoOutput * _Nonnull)output :(CGSize)videoSize :(NSCRender * _Nonnull)render :(int32_t)internalFormat :(int32_t)format :(BOOL)flipYWebGL;
|
|
1001
|
-
+ (BOOL)writeToFile:(NSData * _Nonnull)data :(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error;
|
|
1002
|
-
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
1003
|
-
@end
|
|
1004
|
-
|
|
1005
1045
|
#endif
|
|
1006
1046
|
#if __has_attribute(external_source_symbol)
|
|
1007
1047
|
# pragma clang attribute pop
|
|
Binary file
|