@shopify/react-native-skia 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/android/cpp/rnskia-android/MainThreadDispatcher.h +1 -1
- package/android/cpp/rnskia-android/OpenGLContext.h +4 -4
- package/android/cpp/rnskia-android/RNSkOpenGLCanvasProvider.cpp +3 -3
- package/cpp/api/JsiSkCanvas.h +27 -25
- package/cpp/api/JsiSkImage.h +24 -0
- package/cpp/api/JsiSkPaint.h +1 -1
- package/cpp/rnskia/dom/nodes/JsiAtlasNode.h +5 -1
- package/cpp/rnskia/dom/nodes/JsiImageNode.h +8 -4
- package/cpp/rnskia/dom/nodes/JsiShaderNodes.h +9 -38
- package/cpp/rnskia/dom/props/SamplingProp.h +54 -0
- package/ios/RNSkia-iOS/SkiaManager.mm +2 -4
- package/lib/commonjs/dom/types/Drawings.d.ts +3 -1
- package/lib/commonjs/dom/types/Drawings.js.map +1 -1
- package/lib/commonjs/dom/types/Shaders.d.ts +2 -3
- package/lib/commonjs/dom/types/Shaders.js.map +1 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +1 -8
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/commonjs/renderer/components/image/ImageShader.d.ts +1 -1
- package/lib/commonjs/renderer/components/image/ImageShader.js +0 -4
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/commonjs/skia/core/AnimatedImage.js +1 -1
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/core/Data.d.ts +1 -1
- package/lib/commonjs/skia/core/Data.js +2 -8
- package/lib/commonjs/skia/core/Data.js.map +1 -1
- package/lib/commonjs/skia/types/Canvas.d.ts +2 -2
- package/lib/commonjs/skia/types/Canvas.js.map +1 -1
- package/lib/commonjs/skia/types/Image/Image.d.ts +18 -0
- package/lib/commonjs/skia/types/Image/Image.js +24 -1
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +2 -1
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +2 -2
- package/lib/commonjs/skia/web/JsiSkCanvas.js +15 -2
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/commonjs/sksg/Container.d.ts +17 -14
- package/lib/commonjs/sksg/Container.js +59 -61
- package/lib/commonjs/sksg/Container.js.map +1 -1
- package/lib/commonjs/sksg/HostConfig.js +4 -9
- package/lib/commonjs/sksg/HostConfig.js.map +1 -1
- package/lib/commonjs/sksg/Reconciler.js +1 -2
- package/lib/commonjs/sksg/Reconciler.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/Recorder.d.ts +11 -0
- package/lib/commonjs/sksg/Recorder/Recorder.js +9 -0
- package/lib/commonjs/sksg/Recorder/Recorder.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/commands/Drawing.js +11 -4
- package/lib/commonjs/sksg/Recorder/commands/Drawing.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/commands/Shaders.js +8 -3
- package/lib/commonjs/sksg/Recorder/commands/Shaders.js.map +1 -1
- package/lib/module/dom/types/Drawings.d.ts +3 -1
- package/lib/module/dom/types/Drawings.js.map +1 -1
- package/lib/module/dom/types/Shaders.d.ts +2 -3
- package/lib/module/dom/types/Shaders.js.map +1 -1
- package/lib/module/external/reanimated/useAnimatedImageValue.js +1 -8
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/module/renderer/components/image/ImageShader.d.ts +1 -1
- package/lib/module/renderer/components/image/ImageShader.js +0 -4
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/module/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/module/skia/core/AnimatedImage.js +1 -1
- package/lib/module/skia/core/AnimatedImage.js.map +1 -1
- package/lib/module/skia/core/Data.d.ts +1 -1
- package/lib/module/skia/core/Data.js +2 -8
- package/lib/module/skia/core/Data.js.map +1 -1
- package/lib/module/skia/types/Canvas.d.ts +2 -2
- package/lib/module/skia/types/Canvas.js.map +1 -1
- package/lib/module/skia/types/Image/Image.d.ts +18 -0
- package/lib/module/skia/types/Image/Image.js +21 -0
- package/lib/module/skia/types/Image/Image.js.map +1 -1
- package/lib/module/skia/types/Picture/PictureRecorder.d.ts +2 -1
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/module/skia/web/JsiSkCanvas.d.ts +2 -2
- package/lib/module/skia/web/JsiSkCanvas.js +15 -2
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/module/sksg/Container.d.ts +17 -14
- package/lib/module/sksg/Container.js +56 -59
- package/lib/module/sksg/Container.js.map +1 -1
- package/lib/module/sksg/HostConfig.js +4 -9
- package/lib/module/sksg/HostConfig.js.map +1 -1
- package/lib/module/sksg/Reconciler.js +2 -3
- package/lib/module/sksg/Reconciler.js.map +1 -1
- package/lib/module/sksg/Recorder/Recorder.d.ts +11 -0
- package/lib/module/sksg/Recorder/Recorder.js +9 -0
- package/lib/module/sksg/Recorder/Recorder.js.map +1 -1
- package/lib/module/sksg/Recorder/commands/Drawing.js +12 -5
- package/lib/module/sksg/Recorder/commands/Drawing.js.map +1 -1
- package/lib/module/sksg/Recorder/commands/Shaders.js +9 -4
- package/lib/module/sksg/Recorder/commands/Shaders.js.map +1 -1
- package/lib/typescript/lib/commonjs/renderer/components/image/ImageShader.d.ts +1 -3
- package/lib/typescript/lib/commonjs/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/typescript/lib/commonjs/skia/core/Data.d.ts +1 -1
- package/lib/typescript/lib/commonjs/skia/types/Image/Image.d.ts +21 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/typescript/lib/commonjs/sksg/Container.d.ts +15 -10
- package/lib/typescript/lib/commonjs/sksg/HostConfig.d.ts +4 -4
- package/lib/typescript/lib/commonjs/sksg/Reconciler.d.ts +21 -2
- package/lib/typescript/lib/commonjs/sksg/Recorder/Recorder.d.ts +5 -0
- package/lib/typescript/lib/module/mock/index.d.ts +19 -4
- package/lib/typescript/lib/module/renderer/components/image/ImageShader.d.ts +1 -3
- package/lib/typescript/lib/module/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/typescript/lib/module/skia/core/Data.d.ts +1 -1
- package/lib/typescript/lib/module/skia/types/Image/Image.d.ts +21 -0
- package/lib/typescript/lib/module/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/typescript/lib/module/sksg/Container.d.ts +15 -10
- package/lib/typescript/lib/module/sksg/HostConfig.d.ts +4 -4
- package/lib/typescript/lib/module/sksg/Reconciler.d.ts +21 -2
- package/lib/typescript/lib/module/sksg/Recorder/Recorder.d.ts +5 -0
- package/lib/typescript/src/dom/types/Drawings.d.ts +3 -1
- package/lib/typescript/src/dom/types/Shaders.d.ts +2 -3
- package/lib/typescript/src/renderer/components/image/ImageShader.d.ts +1 -1
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/typescript/src/skia/core/Data.d.ts +1 -1
- package/lib/typescript/src/skia/types/Canvas.d.ts +2 -2
- package/lib/typescript/src/skia/types/Image/Image.d.ts +18 -0
- package/lib/typescript/src/skia/types/Picture/PictureRecorder.d.ts +2 -1
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +2 -2
- package/lib/typescript/src/sksg/Container.d.ts +17 -14
- package/lib/typescript/src/sksg/Recorder/Recorder.d.ts +11 -0
- package/libs/apple/libskia.xcframework/Info.plist +35 -2
- package/libs/apple/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/macos-arm64_x86_64/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/tvos-arm64_arm64e/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/apple/libskottie.xcframework/Info.plist +36 -3
- package/libs/apple/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/macos-arm64_x86_64/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/tvos-arm64_arm64e/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/apple/libskparagraph.xcframework/Info.plist +40 -7
- package/libs/apple/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/macos-arm64_x86_64/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/tvos-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/apple/libsksg.xcframework/Info.plist +35 -2
- package/libs/apple/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/macos-arm64_x86_64/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/tvos-arm64_arm64e/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/tvos-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/apple/libskshaper.xcframework/Info.plist +33 -0
- package/libs/apple/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/macos-arm64_x86_64/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/tvos-arm64_arm64e/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/Info.plist +36 -3
- package/libs/apple/libskunicode_core.xcframework/ios-arm64_arm64e/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/macos-arm64_x86_64/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/tvos-arm64_arm64e/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/Info.plist +35 -2
- package/libs/apple/libskunicode_libgrapheme.xcframework/ios-arm64_arm64e/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/macos-arm64_x86_64/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/tvos-arm64_arm64e/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libsvg.xcframework/Info.plist +36 -3
- package/libs/apple/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/macos-arm64_x86_64/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/tvos-arm64_arm64e/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/tvos-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +1 -1
- package/react-native-skia.podspec +2 -2
- package/src/__tests__/snapshots/animated-images/bird.png +0 -0
- package/src/__tests__/snapshots/demos/product.png +0 -0
- package/src/__tests__/snapshots/demos/product2.png +0 -0
- package/src/__tests__/snapshots/images/bundle-android.png +0 -0
- package/src/__tests__/snapshots/images/bundle-ios.png +0 -0
- package/src/__tests__/snapshots/images/bundle-node.png +0 -0
- package/src/__tests__/snapshots/images/filter.png +0 -0
- package/src/dom/types/Drawings.ts +3 -0
- package/src/dom/types/Shaders.ts +2 -4
- package/src/external/reanimated/useAnimatedImageValue.ts +4 -15
- package/src/renderer/__tests__/e2e/Text.spec.tsx +1 -1
- package/src/renderer/components/image/ImageShader.tsx +2 -15
- package/src/skia/core/AnimatedImage.ts +2 -3
- package/src/skia/core/Data.ts +3 -9
- package/src/skia/types/Canvas.ts +2 -3
- package/src/skia/types/Image/Image.ts +14 -0
- package/src/skia/types/Picture/PictureRecorder.ts +2 -1
- package/src/skia/web/JsiSkCanvas.ts +50 -29
- package/src/sksg/Container.ts +64 -67
- package/src/sksg/HostConfig.ts +4 -9
- package/src/sksg/Reconciler.ts +3 -3
- package/src/sksg/Recorder/Recorder.ts +20 -0
- package/src/sksg/Recorder/commands/Drawing.ts +33 -4
- package/src/sksg/Recorder/commands/Shaders.ts +21 -8
- package/lib/commonjs/sksg/Recorder/Recording.d.ts +0 -7
- package/lib/commonjs/sksg/Recorder/Recording.js +0 -12
- package/lib/commonjs/sksg/Recorder/Recording.js.map +0 -1
- package/lib/module/sksg/Recorder/Recording.d.ts +0 -7
- package/lib/module/sksg/Recorder/Recording.js +0 -5
- package/lib/module/sksg/Recorder/Recording.js.map +0 -1
- package/lib/typescript/lib/commonjs/sksg/Recorder/Recording.d.ts +0 -5
- package/lib/typescript/lib/module/sksg/Recorder/Recording.d.ts +0 -4
- package/lib/typescript/src/sksg/Recorder/Recording.d.ts +0 -7
- package/src/sksg/Recorder/Recording.ts +0 -13
Binary file
|
Binary file
|
Binary file
|
@@ -8,17 +8,32 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libskottie.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>ios-
|
11
|
+
<string>ios-arm64_arm64e</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libskottie.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
15
15
|
<array>
|
16
16
|
<string>arm64</string>
|
17
17
|
<string>arm64e</string>
|
18
|
-
<string>x86_64</string>
|
19
18
|
</array>
|
20
19
|
<key>SupportedPlatform</key>
|
21
20
|
<string>ios</string>
|
21
|
+
</dict>
|
22
|
+
<dict>
|
23
|
+
<key>BinaryPath</key>
|
24
|
+
<string>libskottie.a</string>
|
25
|
+
<key>LibraryIdentifier</key>
|
26
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
27
|
+
<key>LibraryPath</key>
|
28
|
+
<string>libskottie.a</string>
|
29
|
+
<key>SupportedArchitectures</key>
|
30
|
+
<array>
|
31
|
+
<string>arm64</string>
|
32
|
+
<string>arm64e</string>
|
33
|
+
<string>x86_64</string>
|
34
|
+
</array>
|
35
|
+
<key>SupportedPlatform</key>
|
36
|
+
<string>tvos</string>
|
22
37
|
<key>SupportedPlatformVariant</key>
|
23
38
|
<string>simulator</string>
|
24
39
|
</dict>
|
@@ -26,16 +41,19 @@
|
|
26
41
|
<key>BinaryPath</key>
|
27
42
|
<string>libskottie.a</string>
|
28
43
|
<key>LibraryIdentifier</key>
|
29
|
-
<string>ios-
|
44
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
30
45
|
<key>LibraryPath</key>
|
31
46
|
<string>libskottie.a</string>
|
32
47
|
<key>SupportedArchitectures</key>
|
33
48
|
<array>
|
34
49
|
<string>arm64</string>
|
35
50
|
<string>arm64e</string>
|
51
|
+
<string>x86_64</string>
|
36
52
|
</array>
|
37
53
|
<key>SupportedPlatform</key>
|
38
54
|
<string>ios</string>
|
55
|
+
<key>SupportedPlatformVariant</key>
|
56
|
+
<string>simulator</string>
|
39
57
|
</dict>
|
40
58
|
<dict>
|
41
59
|
<key>BinaryPath</key>
|
@@ -52,6 +70,21 @@
|
|
52
70
|
<key>SupportedPlatform</key>
|
53
71
|
<string>macos</string>
|
54
72
|
</dict>
|
73
|
+
<dict>
|
74
|
+
<key>BinaryPath</key>
|
75
|
+
<string>libskottie.a</string>
|
76
|
+
<key>LibraryIdentifier</key>
|
77
|
+
<string>tvos-arm64_arm64e</string>
|
78
|
+
<key>LibraryPath</key>
|
79
|
+
<string>libskottie.a</string>
|
80
|
+
<key>SupportedArchitectures</key>
|
81
|
+
<array>
|
82
|
+
<string>arm64</string>
|
83
|
+
<string>arm64e</string>
|
84
|
+
</array>
|
85
|
+
<key>SupportedPlatform</key>
|
86
|
+
<string>tvos</string>
|
87
|
+
</dict>
|
55
88
|
</array>
|
56
89
|
<key>CFBundlePackageType</key>
|
57
90
|
<string>XFWK</string>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -8,19 +8,16 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libskparagraph.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>
|
11
|
+
<string>macos-arm64_x86_64</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libskparagraph.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
15
15
|
<array>
|
16
16
|
<string>arm64</string>
|
17
|
-
<string>arm64e</string>
|
18
17
|
<string>x86_64</string>
|
19
18
|
</array>
|
20
19
|
<key>SupportedPlatform</key>
|
21
|
-
<string>
|
22
|
-
<key>SupportedPlatformVariant</key>
|
23
|
-
<string>simulator</string>
|
20
|
+
<string>macos</string>
|
24
21
|
</dict>
|
25
22
|
<dict>
|
26
23
|
<key>BinaryPath</key>
|
@@ -41,16 +38,52 @@
|
|
41
38
|
<key>BinaryPath</key>
|
42
39
|
<string>libskparagraph.a</string>
|
43
40
|
<key>LibraryIdentifier</key>
|
44
|
-
<string>
|
41
|
+
<string>tvos-arm64_arm64e</string>
|
42
|
+
<key>LibraryPath</key>
|
43
|
+
<string>libskparagraph.a</string>
|
44
|
+
<key>SupportedArchitectures</key>
|
45
|
+
<array>
|
46
|
+
<string>arm64</string>
|
47
|
+
<string>arm64e</string>
|
48
|
+
</array>
|
49
|
+
<key>SupportedPlatform</key>
|
50
|
+
<string>tvos</string>
|
51
|
+
</dict>
|
52
|
+
<dict>
|
53
|
+
<key>BinaryPath</key>
|
54
|
+
<string>libskparagraph.a</string>
|
55
|
+
<key>LibraryIdentifier</key>
|
56
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
45
57
|
<key>LibraryPath</key>
|
46
58
|
<string>libskparagraph.a</string>
|
47
59
|
<key>SupportedArchitectures</key>
|
48
60
|
<array>
|
49
61
|
<string>arm64</string>
|
62
|
+
<string>arm64e</string>
|
50
63
|
<string>x86_64</string>
|
51
64
|
</array>
|
52
65
|
<key>SupportedPlatform</key>
|
53
|
-
<string>
|
66
|
+
<string>ios</string>
|
67
|
+
<key>SupportedPlatformVariant</key>
|
68
|
+
<string>simulator</string>
|
69
|
+
</dict>
|
70
|
+
<dict>
|
71
|
+
<key>BinaryPath</key>
|
72
|
+
<string>libskparagraph.a</string>
|
73
|
+
<key>LibraryIdentifier</key>
|
74
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
75
|
+
<key>LibraryPath</key>
|
76
|
+
<string>libskparagraph.a</string>
|
77
|
+
<key>SupportedArchitectures</key>
|
78
|
+
<array>
|
79
|
+
<string>arm64</string>
|
80
|
+
<string>arm64e</string>
|
81
|
+
<string>x86_64</string>
|
82
|
+
</array>
|
83
|
+
<key>SupportedPlatform</key>
|
84
|
+
<string>tvos</string>
|
85
|
+
<key>SupportedPlatformVariant</key>
|
86
|
+
<string>simulator</string>
|
54
87
|
</dict>
|
55
88
|
</array>
|
56
89
|
<key>CFBundlePackageType</key>
|
Binary file
|
package/libs/apple/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a
CHANGED
Binary file
|
Binary file
|
package/libs/apple/libskparagraph.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskparagraph.a
ADDED
Binary file
|
@@ -8,16 +8,19 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libsksg.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>
|
11
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libsksg.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
15
15
|
<array>
|
16
16
|
<string>arm64</string>
|
17
|
+
<string>arm64e</string>
|
17
18
|
<string>x86_64</string>
|
18
19
|
</array>
|
19
20
|
<key>SupportedPlatform</key>
|
20
|
-
<string>
|
21
|
+
<string>tvos</string>
|
22
|
+
<key>SupportedPlatformVariant</key>
|
23
|
+
<string>simulator</string>
|
21
24
|
</dict>
|
22
25
|
<dict>
|
23
26
|
<key>BinaryPath</key>
|
@@ -34,6 +37,21 @@
|
|
34
37
|
<key>SupportedPlatform</key>
|
35
38
|
<string>ios</string>
|
36
39
|
</dict>
|
40
|
+
<dict>
|
41
|
+
<key>BinaryPath</key>
|
42
|
+
<string>libsksg.a</string>
|
43
|
+
<key>LibraryIdentifier</key>
|
44
|
+
<string>tvos-arm64_arm64e</string>
|
45
|
+
<key>LibraryPath</key>
|
46
|
+
<string>libsksg.a</string>
|
47
|
+
<key>SupportedArchitectures</key>
|
48
|
+
<array>
|
49
|
+
<string>arm64</string>
|
50
|
+
<string>arm64e</string>
|
51
|
+
</array>
|
52
|
+
<key>SupportedPlatform</key>
|
53
|
+
<string>tvos</string>
|
54
|
+
</dict>
|
37
55
|
<dict>
|
38
56
|
<key>BinaryPath</key>
|
39
57
|
<string>libsksg.a</string>
|
@@ -52,6 +70,21 @@
|
|
52
70
|
<key>SupportedPlatformVariant</key>
|
53
71
|
<string>simulator</string>
|
54
72
|
</dict>
|
73
|
+
<dict>
|
74
|
+
<key>BinaryPath</key>
|
75
|
+
<string>libsksg.a</string>
|
76
|
+
<key>LibraryIdentifier</key>
|
77
|
+
<string>macos-arm64_x86_64</string>
|
78
|
+
<key>LibraryPath</key>
|
79
|
+
<string>libsksg.a</string>
|
80
|
+
<key>SupportedArchitectures</key>
|
81
|
+
<array>
|
82
|
+
<string>arm64</string>
|
83
|
+
<string>x86_64</string>
|
84
|
+
</array>
|
85
|
+
<key>SupportedPlatform</key>
|
86
|
+
<string>macos</string>
|
87
|
+
</dict>
|
55
88
|
</array>
|
56
89
|
<key>CFBundlePackageType</key>
|
57
90
|
<string>XFWK</string>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -4,6 +4,39 @@
|
|
4
4
|
<dict>
|
5
5
|
<key>AvailableLibraries</key>
|
6
6
|
<array>
|
7
|
+
<dict>
|
8
|
+
<key>BinaryPath</key>
|
9
|
+
<string>libskshaper.a</string>
|
10
|
+
<key>LibraryIdentifier</key>
|
11
|
+
<string>tvos-arm64_arm64e</string>
|
12
|
+
<key>LibraryPath</key>
|
13
|
+
<string>libskshaper.a</string>
|
14
|
+
<key>SupportedArchitectures</key>
|
15
|
+
<array>
|
16
|
+
<string>arm64</string>
|
17
|
+
<string>arm64e</string>
|
18
|
+
</array>
|
19
|
+
<key>SupportedPlatform</key>
|
20
|
+
<string>tvos</string>
|
21
|
+
</dict>
|
22
|
+
<dict>
|
23
|
+
<key>BinaryPath</key>
|
24
|
+
<string>libskshaper.a</string>
|
25
|
+
<key>LibraryIdentifier</key>
|
26
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
27
|
+
<key>LibraryPath</key>
|
28
|
+
<string>libskshaper.a</string>
|
29
|
+
<key>SupportedArchitectures</key>
|
30
|
+
<array>
|
31
|
+
<string>arm64</string>
|
32
|
+
<string>arm64e</string>
|
33
|
+
<string>x86_64</string>
|
34
|
+
</array>
|
35
|
+
<key>SupportedPlatform</key>
|
36
|
+
<string>tvos</string>
|
37
|
+
<key>SupportedPlatformVariant</key>
|
38
|
+
<string>simulator</string>
|
39
|
+
</dict>
|
7
40
|
<dict>
|
8
41
|
<key>BinaryPath</key>
|
9
42
|
<string>libskshaper.a</string>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -8,22 +8,25 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libskunicode_core.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>ios-
|
11
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libskunicode_core.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
15
15
|
<array>
|
16
16
|
<string>arm64</string>
|
17
17
|
<string>arm64e</string>
|
18
|
+
<string>x86_64</string>
|
18
19
|
</array>
|
19
20
|
<key>SupportedPlatform</key>
|
20
21
|
<string>ios</string>
|
22
|
+
<key>SupportedPlatformVariant</key>
|
23
|
+
<string>simulator</string>
|
21
24
|
</dict>
|
22
25
|
<dict>
|
23
26
|
<key>BinaryPath</key>
|
24
27
|
<string>libskunicode_core.a</string>
|
25
28
|
<key>LibraryIdentifier</key>
|
26
|
-
<string>
|
29
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
27
30
|
<key>LibraryPath</key>
|
28
31
|
<string>libskunicode_core.a</string>
|
29
32
|
<key>SupportedArchitectures</key>
|
@@ -33,10 +36,25 @@
|
|
33
36
|
<string>x86_64</string>
|
34
37
|
</array>
|
35
38
|
<key>SupportedPlatform</key>
|
36
|
-
<string>
|
39
|
+
<string>tvos</string>
|
37
40
|
<key>SupportedPlatformVariant</key>
|
38
41
|
<string>simulator</string>
|
39
42
|
</dict>
|
43
|
+
<dict>
|
44
|
+
<key>BinaryPath</key>
|
45
|
+
<string>libskunicode_core.a</string>
|
46
|
+
<key>LibraryIdentifier</key>
|
47
|
+
<string>tvos-arm64_arm64e</string>
|
48
|
+
<key>LibraryPath</key>
|
49
|
+
<string>libskunicode_core.a</string>
|
50
|
+
<key>SupportedArchitectures</key>
|
51
|
+
<array>
|
52
|
+
<string>arm64</string>
|
53
|
+
<string>arm64e</string>
|
54
|
+
</array>
|
55
|
+
<key>SupportedPlatform</key>
|
56
|
+
<string>tvos</string>
|
57
|
+
</dict>
|
40
58
|
<dict>
|
41
59
|
<key>BinaryPath</key>
|
42
60
|
<string>libskunicode_core.a</string>
|
@@ -52,6 +70,21 @@
|
|
52
70
|
<key>SupportedPlatform</key>
|
53
71
|
<string>macos</string>
|
54
72
|
</dict>
|
73
|
+
<dict>
|
74
|
+
<key>BinaryPath</key>
|
75
|
+
<string>libskunicode_core.a</string>
|
76
|
+
<key>LibraryIdentifier</key>
|
77
|
+
<string>ios-arm64_arm64e</string>
|
78
|
+
<key>LibraryPath</key>
|
79
|
+
<string>libskunicode_core.a</string>
|
80
|
+
<key>SupportedArchitectures</key>
|
81
|
+
<array>
|
82
|
+
<string>arm64</string>
|
83
|
+
<string>arm64e</string>
|
84
|
+
</array>
|
85
|
+
<key>SupportedPlatform</key>
|
86
|
+
<string>ios</string>
|
87
|
+
</dict>
|
55
88
|
</array>
|
56
89
|
<key>CFBundlePackageType</key>
|
57
90
|
<string>XFWK</string>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libskunicode_libgrapheme.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>
|
11
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libskunicode_libgrapheme.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
@@ -18,10 +18,25 @@
|
|
18
18
|
<string>x86_64</string>
|
19
19
|
</array>
|
20
20
|
<key>SupportedPlatform</key>
|
21
|
-
<string>
|
21
|
+
<string>tvos</string>
|
22
22
|
<key>SupportedPlatformVariant</key>
|
23
23
|
<string>simulator</string>
|
24
24
|
</dict>
|
25
|
+
<dict>
|
26
|
+
<key>BinaryPath</key>
|
27
|
+
<string>libskunicode_libgrapheme.a</string>
|
28
|
+
<key>LibraryIdentifier</key>
|
29
|
+
<string>tvos-arm64_arm64e</string>
|
30
|
+
<key>LibraryPath</key>
|
31
|
+
<string>libskunicode_libgrapheme.a</string>
|
32
|
+
<key>SupportedArchitectures</key>
|
33
|
+
<array>
|
34
|
+
<string>arm64</string>
|
35
|
+
<string>arm64e</string>
|
36
|
+
</array>
|
37
|
+
<key>SupportedPlatform</key>
|
38
|
+
<string>tvos</string>
|
39
|
+
</dict>
|
25
40
|
<dict>
|
26
41
|
<key>BinaryPath</key>
|
27
42
|
<string>libskunicode_libgrapheme.a</string>
|
@@ -37,6 +52,24 @@
|
|
37
52
|
<key>SupportedPlatform</key>
|
38
53
|
<string>macos</string>
|
39
54
|
</dict>
|
55
|
+
<dict>
|
56
|
+
<key>BinaryPath</key>
|
57
|
+
<string>libskunicode_libgrapheme.a</string>
|
58
|
+
<key>LibraryIdentifier</key>
|
59
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
60
|
+
<key>LibraryPath</key>
|
61
|
+
<string>libskunicode_libgrapheme.a</string>
|
62
|
+
<key>SupportedArchitectures</key>
|
63
|
+
<array>
|
64
|
+
<string>arm64</string>
|
65
|
+
<string>arm64e</string>
|
66
|
+
<string>x86_64</string>
|
67
|
+
</array>
|
68
|
+
<key>SupportedPlatform</key>
|
69
|
+
<string>ios</string>
|
70
|
+
<key>SupportedPlatformVariant</key>
|
71
|
+
<string>simulator</string>
|
72
|
+
</dict>
|
40
73
|
<dict>
|
41
74
|
<key>BinaryPath</key>
|
42
75
|
<string>libskunicode_libgrapheme.a</string>
|
package/libs/apple/libskunicode_libgrapheme.xcframework/ios-arm64_arm64e/libskunicode_libgrapheme.a
CHANGED
Binary file
|
Binary file
|
Binary file
|
package/libs/apple/libskunicode_libgrapheme.xcframework/tvos-arm64_arm64e/libskunicode_libgrapheme.a
ADDED
Binary file
|
Binary file
|
@@ -8,17 +8,32 @@
|
|
8
8
|
<key>BinaryPath</key>
|
9
9
|
<string>libsvg.a</string>
|
10
10
|
<key>LibraryIdentifier</key>
|
11
|
-
<string>ios-
|
11
|
+
<string>ios-arm64_arm64e</string>
|
12
12
|
<key>LibraryPath</key>
|
13
13
|
<string>libsvg.a</string>
|
14
14
|
<key>SupportedArchitectures</key>
|
15
15
|
<array>
|
16
16
|
<string>arm64</string>
|
17
17
|
<string>arm64e</string>
|
18
|
-
<string>x86_64</string>
|
19
18
|
</array>
|
20
19
|
<key>SupportedPlatform</key>
|
21
20
|
<string>ios</string>
|
21
|
+
</dict>
|
22
|
+
<dict>
|
23
|
+
<key>BinaryPath</key>
|
24
|
+
<string>libsvg.a</string>
|
25
|
+
<key>LibraryIdentifier</key>
|
26
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
27
|
+
<key>LibraryPath</key>
|
28
|
+
<string>libsvg.a</string>
|
29
|
+
<key>SupportedArchitectures</key>
|
30
|
+
<array>
|
31
|
+
<string>arm64</string>
|
32
|
+
<string>arm64e</string>
|
33
|
+
<string>x86_64</string>
|
34
|
+
</array>
|
35
|
+
<key>SupportedPlatform</key>
|
36
|
+
<string>tvos</string>
|
22
37
|
<key>SupportedPlatformVariant</key>
|
23
38
|
<string>simulator</string>
|
24
39
|
</dict>
|
@@ -41,7 +56,7 @@
|
|
41
56
|
<key>BinaryPath</key>
|
42
57
|
<string>libsvg.a</string>
|
43
58
|
<key>LibraryIdentifier</key>
|
44
|
-
<string>
|
59
|
+
<string>tvos-arm64_arm64e</string>
|
45
60
|
<key>LibraryPath</key>
|
46
61
|
<string>libsvg.a</string>
|
47
62
|
<key>SupportedArchitectures</key>
|
@@ -50,7 +65,25 @@
|
|
50
65
|
<string>arm64e</string>
|
51
66
|
</array>
|
52
67
|
<key>SupportedPlatform</key>
|
68
|
+
<string>tvos</string>
|
69
|
+
</dict>
|
70
|
+
<dict>
|
71
|
+
<key>BinaryPath</key>
|
72
|
+
<string>libsvg.a</string>
|
73
|
+
<key>LibraryIdentifier</key>
|
74
|
+
<string>ios-arm64_arm64e_x86_64-simulator</string>
|
75
|
+
<key>LibraryPath</key>
|
76
|
+
<string>libsvg.a</string>
|
77
|
+
<key>SupportedArchitectures</key>
|
78
|
+
<array>
|
79
|
+
<string>arm64</string>
|
80
|
+
<string>arm64e</string>
|
81
|
+
<string>x86_64</string>
|
82
|
+
</array>
|
83
|
+
<key>SupportedPlatform</key>
|
53
84
|
<string>ios</string>
|
85
|
+
<key>SupportedPlatformVariant</key>
|
86
|
+
<string>simulator</string>
|
54
87
|
</dict>
|
55
88
|
</array>
|
56
89
|
<key>CFBundlePackageType</key>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/package.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"setup-skia-web": "./scripts/setup-canvaskit.js"
|
8
8
|
},
|
9
9
|
"title": "React Native Skia",
|
10
|
-
"version": "1.
|
10
|
+
"version": "1.9.0",
|
11
11
|
"description": "High-performance React Native Graphics using Skia",
|
12
12
|
"main": "lib/module/index.js",
|
13
13
|
"react-native": "src/index.ts",
|
@@ -41,7 +41,7 @@ Pod::Spec.new do |s|
|
|
41
41
|
"Christian Falch" => "christian.falch@gmail.com",
|
42
42
|
"William Candillon" => "wcandillon@gmail.com"
|
43
43
|
}
|
44
|
-
s.platforms = { :ios => "13.0" }
|
44
|
+
s.platforms = { :ios => "13.0", :tvos => "13.0" }
|
45
45
|
s.source = { :git => "https://github.com/shopify/react-native-skia/react-native-skia.git", :tag => "#{s.version}" }
|
46
46
|
|
47
47
|
s.requires_arc = true
|
@@ -54,7 +54,7 @@ Pod::Spec.new do |s|
|
|
54
54
|
|
55
55
|
s.frameworks = 'MetalKit'
|
56
56
|
|
57
|
-
s.
|
57
|
+
s.vendored_frameworks = use_graphite ?
|
58
58
|
base_frameworks + graphite_frameworks :
|
59
59
|
base_frameworks
|
60
60
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -17,6 +17,7 @@ import type {
|
|
17
17
|
SkRect,
|
18
18
|
SkRSXform,
|
19
19
|
SkColor,
|
20
|
+
SamplingOptions,
|
20
21
|
} from "../../skia/types";
|
21
22
|
|
22
23
|
import type {
|
@@ -37,6 +38,7 @@ export type ImageProps = DrawingNodeProps &
|
|
37
38
|
RectDef & {
|
38
39
|
fit?: Fit;
|
39
40
|
image: SkImage | null;
|
41
|
+
sampling?: SamplingOptions;
|
40
42
|
};
|
41
43
|
|
42
44
|
export type CircleProps = CircleDef & DrawingNodeProps;
|
@@ -65,6 +67,7 @@ export interface AtlasProps extends DrawingNodeProps {
|
|
65
67
|
sprites: SkRect[];
|
66
68
|
transforms: SkRSXform[];
|
67
69
|
colors?: SkColor[];
|
70
|
+
sampling?: SamplingOptions;
|
68
71
|
}
|
69
72
|
|
70
73
|
export interface CubicBezierHandle {
|
package/src/dom/types/Shaders.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import type {
|
2
2
|
Color,
|
3
|
-
|
4
|
-
MipmapMode,
|
3
|
+
SamplingOptions,
|
5
4
|
SkImage,
|
6
5
|
SkRect,
|
7
6
|
SkRuntimeEffect,
|
@@ -26,11 +25,10 @@ export interface ShaderProps extends TransformProps, ChildrenProps {
|
|
26
25
|
export interface ImageShaderProps extends TransformProps, Partial<RectCtor> {
|
27
26
|
tx: SkEnum<typeof TileMode>;
|
28
27
|
ty: SkEnum<typeof TileMode>;
|
29
|
-
fm: SkEnum<typeof FilterMode>;
|
30
|
-
mm: SkEnum<typeof MipmapMode>;
|
31
28
|
fit: Fit;
|
32
29
|
rect?: SkRect;
|
33
30
|
image: SkImage | null;
|
31
|
+
sampling?: SamplingOptions;
|
34
32
|
}
|
35
33
|
|
36
34
|
export interface ColorProps {
|