@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
@@ -1,5 +1,5 @@
|
|
1
1
|
export const __esModule: boolean;
|
2
2
|
export function loadData(source: any, factory: any, onError: any): Promise<any>;
|
3
3
|
export function useCollectionLoading(source: any, loader: any): null;
|
4
|
-
export function useRawData(source: any, factory: any, onError: any
|
4
|
+
export function useRawData(source: any, factory: any, onError: any): null;
|
5
5
|
export function useData(source: any, onError: any): null;
|
@@ -2,3 +2,24 @@ export const __esModule: boolean;
|
|
2
2
|
export const FilterMode: {};
|
3
3
|
export const MipmapMode: {};
|
4
4
|
export const ImageFormat: {};
|
5
|
+
export namespace MitchellCubicSampling {
|
6
|
+
let B: number;
|
7
|
+
let C: number;
|
8
|
+
}
|
9
|
+
export namespace CatmullRomCubicSampling {
|
10
|
+
let B_1: number;
|
11
|
+
export { B_1 as B };
|
12
|
+
let C_1: number;
|
13
|
+
export { C_1 as C };
|
14
|
+
}
|
15
|
+
export namespace CubicSampling {
|
16
|
+
let B_2: number;
|
17
|
+
export { B_2 as B };
|
18
|
+
let C_2: number;
|
19
|
+
export { C_2 as C };
|
20
|
+
}
|
21
|
+
export function isCubicSampling(sampling: any): boolean;
|
22
|
+
export function MakeCubic(B: any, C: any): {
|
23
|
+
B: any;
|
24
|
+
C: any;
|
25
|
+
};
|
@@ -39,7 +39,7 @@ export class JsiSkCanvas extends _Host.HostObject {
|
|
39
39
|
clipRRect(rrect: any, op: any, doAntiAlias: any): void;
|
40
40
|
concat(m: any): void;
|
41
41
|
drawPicture(skp: any): void;
|
42
|
-
drawAtlas(atlas: any, srcs: any, dsts: any, paint: any, blendMode: any, colors: any,
|
42
|
+
drawAtlas(atlas: any, srcs: any, dsts: any, paint: any, blendMode: any, colors: any, sampling: any): void;
|
43
43
|
readPixels(srcX: any, srcY: any, imageInfo: any): any;
|
44
44
|
}
|
45
45
|
import _Host = require("./Host");
|
@@ -3,18 +3,23 @@ export class Container {
|
|
3
3
|
constructor(Skia: any, nativeId: any);
|
4
4
|
Skia: any;
|
5
5
|
nativeId: any;
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
drawOnCanvas(canvas: any): void;
|
7
|
+
}
|
8
|
+
export function createContainer(Skia: any, nativeId: any): ReanimatedContainer | StaticContainer;
|
9
|
+
declare class ReanimatedContainer extends Container {
|
10
|
+
redraw(): void;
|
11
|
+
recording: {
|
11
12
|
commands: any;
|
12
13
|
paintPool: never[];
|
13
14
|
} | undefined;
|
14
|
-
|
15
|
+
mapperId: any;
|
16
|
+
}
|
17
|
+
declare class StaticContainer extends Container {
|
15
18
|
redraw(): void;
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
19
|
+
recording: {
|
20
|
+
commands: any;
|
21
|
+
paintPool: never[];
|
22
|
+
animationValues: any;
|
23
|
+
} | undefined;
|
20
24
|
}
|
25
|
+
export {};
|
@@ -11,7 +11,7 @@ export namespace sksgHostConfig {
|
|
11
11
|
function getChildHostContext(_parentHostContext: any, _type: any, _rootContainerInstance: any): null;
|
12
12
|
function shouldSetTextContent(_type: any, _props: any): boolean;
|
13
13
|
function createTextInstance(_text: any, _rootContainerInstance: any, _hostContext: any, _internalInstanceHandle: any): never;
|
14
|
-
function createInstance(type: any, propsWithChildren: any,
|
14
|
+
function createInstance(type: any, propsWithChildren: any, _container: any, _hostContext: any, _internalInstanceHandle: any): {
|
15
15
|
type: any;
|
16
16
|
props: any;
|
17
17
|
children: never[];
|
@@ -19,11 +19,11 @@ export namespace sksgHostConfig {
|
|
19
19
|
function appendInitialChild(parentInstance: any, child: any): void;
|
20
20
|
function finalizeInitialChildren(parentInstance: any, _type: any, _props: any, _rootContainerInstance: any, _hostContext: any): boolean;
|
21
21
|
function commitMount(): void;
|
22
|
-
function prepareForCommit(
|
22
|
+
function prepareForCommit(_container: any): null;
|
23
23
|
function resetAfterCommit(container: any): void;
|
24
24
|
function getPublicInstance(node: any): any;
|
25
25
|
function commitTextUpdate(_textInstance: any, _oldText: any, _newText: any): void;
|
26
|
-
function clearContainer(
|
26
|
+
function clearContainer(_container: any): void;
|
27
27
|
function prepareUpdate(_instance: any, _type: any, oldProps: any, newProps: any, container: any, _hostContext: any): any;
|
28
28
|
function preparePortalMount(): void;
|
29
29
|
function cloneInstance(instance: any, _updatePayload: any, _type: any, _oldProps: any, newProps: any, _internalInstanceHandle: any, keepChildren: any, _recyclableInstance: any): {
|
@@ -40,7 +40,7 @@ export namespace sksgHostConfig {
|
|
40
40
|
function getCurrentEventPriority(): number;
|
41
41
|
function beforeActiveInstanceBlur(): void;
|
42
42
|
function afterActiveInstanceBlur(): void;
|
43
|
-
function detachDeletedInstance(): void;
|
43
|
+
function detachDeletedInstance(_node: any): void;
|
44
44
|
function getInstanceFromNode(_node: any): never;
|
45
45
|
function prepareScopeUpdate(_scopeInstance: any, _instance: any): never;
|
46
46
|
function getInstanceFromScope(_scopeInstance: any): never;
|
@@ -2,7 +2,27 @@ export const __esModule: boolean;
|
|
2
2
|
export class SkiaSGRoot {
|
3
3
|
constructor(Skia: any, nativeId?: number);
|
4
4
|
Skia: any;
|
5
|
-
container:
|
5
|
+
container: {
|
6
|
+
redraw(): void;
|
7
|
+
recording: {
|
8
|
+
commands: any;
|
9
|
+
paintPool: never[];
|
10
|
+
} | undefined;
|
11
|
+
mapperId: any;
|
12
|
+
Skia: any;
|
13
|
+
nativeId: any;
|
14
|
+
drawOnCanvas(canvas: any): void;
|
15
|
+
} | {
|
16
|
+
redraw(): void;
|
17
|
+
recording: {
|
18
|
+
commands: any;
|
19
|
+
paintPool: never[];
|
20
|
+
animationValues: any;
|
21
|
+
} | undefined;
|
22
|
+
Skia: any;
|
23
|
+
nativeId: any;
|
24
|
+
drawOnCanvas(canvas: any): void;
|
25
|
+
};
|
6
26
|
root: any;
|
7
27
|
get sg(): {
|
8
28
|
type: any;
|
@@ -15,4 +35,3 @@ export class SkiaSGRoot {
|
|
15
35
|
getPicture(): any;
|
16
36
|
unmount(): void;
|
17
37
|
}
|
18
|
-
import _Container = require("./Container");
|
@@ -154,7 +154,7 @@ export function Mock(CanvasKit: any): {
|
|
154
154
|
matchFont: (inputStyle?: {}, fontMgr?: import("../../..").SkFontMgr) => import("../../..").SkFont;
|
155
155
|
listFontFamilies: (fontMgr?: import("../../..").SkFontMgr) => string[];
|
156
156
|
makeImageFromView: (viewRef: any, callback?: null) => any;
|
157
|
-
useAnimatedImage: (source: any, onError: any
|
157
|
+
useAnimatedImage: (source: any, onError: any) => null;
|
158
158
|
createPicture: (cb: any, rect: any) => import("../../..").SkPicture;
|
159
159
|
vec: (x: number | undefined, y: any) => import("../../..").SkPoint;
|
160
160
|
point: (x: number | undefined, y: any) => import("../../..").SkPoint;
|
@@ -178,6 +178,23 @@ export function Mock(CanvasKit: any): {
|
|
178
178
|
FilterMode: {};
|
179
179
|
MipmapMode: {};
|
180
180
|
ImageFormat: {};
|
181
|
+
isCubicSampling: (sampling: any) => boolean;
|
182
|
+
MitchellCubicSampling: {
|
183
|
+
B: number;
|
184
|
+
C: number;
|
185
|
+
};
|
186
|
+
CatmullRomCubicSampling: {
|
187
|
+
B: number;
|
188
|
+
C: number;
|
189
|
+
};
|
190
|
+
CubicSampling: {
|
191
|
+
B: number;
|
192
|
+
C: number;
|
193
|
+
};
|
194
|
+
MakeCubic: (B: any, C: any) => {
|
195
|
+
B: any;
|
196
|
+
C: any;
|
197
|
+
};
|
181
198
|
AlphaType: {};
|
182
199
|
ColorType: {};
|
183
200
|
isColorFilter: (obj: any) => boolean;
|
@@ -331,12 +348,10 @@ export function Mock(CanvasKit: any): {
|
|
331
348
|
children: any;
|
332
349
|
}>;
|
333
350
|
Image: (props: any) => import("react").DOMElement<any, Element>;
|
334
|
-
ImageShader: ({ tx, ty,
|
351
|
+
ImageShader: ({ tx, ty, fit, transform, ...props }: {
|
335
352
|
[x: string]: any;
|
336
353
|
tx?: string | undefined;
|
337
354
|
ty?: string | undefined;
|
338
|
-
fm?: string | undefined;
|
339
|
-
mm?: string | undefined;
|
340
355
|
fit?: string | undefined;
|
341
356
|
transform?: any[] | undefined;
|
342
357
|
}) => import("react").DOMElement<any, Element>;
|
@@ -1,9 +1,7 @@
|
|
1
|
-
export function ImageShader({ tx, ty,
|
1
|
+
export function ImageShader({ tx, ty, fit, transform, ...props }: {
|
2
2
|
[x: string]: any;
|
3
3
|
tx?: string | undefined;
|
4
4
|
ty?: string | undefined;
|
5
|
-
fm?: string | undefined;
|
6
|
-
mm?: string | undefined;
|
7
5
|
fit?: string | undefined;
|
8
6
|
transform?: any[] | undefined;
|
9
7
|
}): React.DOMElement<any, Element>;
|
@@ -1 +1 @@
|
|
1
|
-
export function useAnimatedImage(source: any, onError: any
|
1
|
+
export function useAnimatedImage(source: any, onError: any): null;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
export function loadData(source: any, factory: any, onError: any): Promise<any>;
|
2
2
|
export function useCollectionLoading(source: any, loader: any): null;
|
3
|
-
export function useRawData(source: any, factory: any, onError: any
|
3
|
+
export function useRawData(source: any, factory: any, onError: any): null;
|
4
4
|
export function useData(source: any, onError: any): null;
|
@@ -1,3 +1,24 @@
|
|
1
1
|
export let FilterMode: {};
|
2
2
|
export let MipmapMode: {};
|
3
3
|
export let ImageFormat: {};
|
4
|
+
export function isCubicSampling(sampling: any): boolean;
|
5
|
+
export namespace MitchellCubicSampling {
|
6
|
+
let B: number;
|
7
|
+
let C: number;
|
8
|
+
}
|
9
|
+
export namespace CatmullRomCubicSampling {
|
10
|
+
let B_1: number;
|
11
|
+
export { B_1 as B };
|
12
|
+
let C_1: number;
|
13
|
+
export { C_1 as C };
|
14
|
+
}
|
15
|
+
export namespace CubicSampling {
|
16
|
+
let B_2: number;
|
17
|
+
export { B_2 as B };
|
18
|
+
let C_2: number;
|
19
|
+
export { C_2 as C };
|
20
|
+
}
|
21
|
+
export function MakeCubic(B: any, C: any): {
|
22
|
+
B: any;
|
23
|
+
C: any;
|
24
|
+
};
|
@@ -38,7 +38,7 @@ export class JsiSkCanvas extends HostObject {
|
|
38
38
|
clipRRect(rrect: any, op: any, doAntiAlias: any): void;
|
39
39
|
concat(m: any): void;
|
40
40
|
drawPicture(skp: any): void;
|
41
|
-
drawAtlas(atlas: any, srcs: any, dsts: any, paint: any, blendMode: any, colors: any,
|
41
|
+
drawAtlas(atlas: any, srcs: any, dsts: any, paint: any, blendMode: any, colors: any, sampling: any): void;
|
42
42
|
readPixels(srcX: any, srcY: any, imageInfo: any): any;
|
43
43
|
}
|
44
44
|
import { HostObject } from "./Host";
|
@@ -2,18 +2,23 @@ export class Container {
|
|
2
2
|
constructor(Skia: any, nativeId: any);
|
3
3
|
Skia: any;
|
4
4
|
nativeId: any;
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
drawOnCanvas(canvas: any): void;
|
6
|
+
}
|
7
|
+
export function createContainer(Skia: any, nativeId: any): StaticContainer | ReanimatedContainer;
|
8
|
+
declare class StaticContainer extends Container {
|
9
|
+
redraw(): void;
|
10
|
+
recording: {
|
10
11
|
commands: any;
|
11
12
|
paintPool: never[];
|
13
|
+
animationValues: any;
|
12
14
|
} | undefined;
|
13
|
-
|
15
|
+
}
|
16
|
+
declare class ReanimatedContainer extends Container {
|
14
17
|
redraw(): void;
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
18
|
+
recording: {
|
19
|
+
commands: any;
|
20
|
+
paintPool: never[];
|
21
|
+
} | undefined;
|
22
|
+
mapperId: any;
|
19
23
|
}
|
24
|
+
export {};
|
@@ -11,7 +11,7 @@ export namespace sksgHostConfig {
|
|
11
11
|
function getChildHostContext(_parentHostContext: any, _type: any, _rootContainerInstance: any): null;
|
12
12
|
function shouldSetTextContent(_type: any, _props: any): boolean;
|
13
13
|
function createTextInstance(_text: any, _rootContainerInstance: any, _hostContext: any, _internalInstanceHandle: any): never;
|
14
|
-
function createInstance(type: any, propsWithChildren: any,
|
14
|
+
function createInstance(type: any, propsWithChildren: any, _container: any, _hostContext: any, _internalInstanceHandle: any): {
|
15
15
|
type: any;
|
16
16
|
props: any;
|
17
17
|
children: never[];
|
@@ -19,11 +19,11 @@ export namespace sksgHostConfig {
|
|
19
19
|
function appendInitialChild(parentInstance: any, child: any): void;
|
20
20
|
function finalizeInitialChildren(parentInstance: any, _type: any, _props: any, _rootContainerInstance: any, _hostContext: any): boolean;
|
21
21
|
function commitMount(): void;
|
22
|
-
function prepareForCommit(
|
22
|
+
function prepareForCommit(_container: any): null;
|
23
23
|
function resetAfterCommit(container: any): void;
|
24
24
|
function getPublicInstance(node: any): any;
|
25
25
|
function commitTextUpdate(_textInstance: any, _oldText: any, _newText: any): void;
|
26
|
-
function clearContainer(
|
26
|
+
function clearContainer(_container: any): void;
|
27
27
|
function prepareUpdate(_instance: any, _type: any, oldProps: any, newProps: any, container: any, _hostContext: any): any;
|
28
28
|
function preparePortalMount(): void;
|
29
29
|
function cloneInstance(instance: any, _updatePayload: any, _type: any, _oldProps: any, newProps: any, _internalInstanceHandle: any, keepChildren: any, _recyclableInstance: any): {
|
@@ -40,7 +40,7 @@ export namespace sksgHostConfig {
|
|
40
40
|
function getCurrentEventPriority(): number;
|
41
41
|
function beforeActiveInstanceBlur(): void;
|
42
42
|
function afterActiveInstanceBlur(): void;
|
43
|
-
function detachDeletedInstance(): void;
|
43
|
+
function detachDeletedInstance(_node: any): void;
|
44
44
|
function getInstanceFromNode(_node: any): never;
|
45
45
|
function prepareScopeUpdate(_scopeInstance: any, _instance: any): never;
|
46
46
|
function getInstanceFromScope(_scopeInstance: any): never;
|
@@ -1,7 +1,27 @@
|
|
1
1
|
export class SkiaSGRoot {
|
2
2
|
constructor(Skia: any, nativeId?: number);
|
3
3
|
Skia: any;
|
4
|
-
container:
|
4
|
+
container: {
|
5
|
+
redraw(): void;
|
6
|
+
recording: {
|
7
|
+
commands: any;
|
8
|
+
paintPool: never[];
|
9
|
+
animationValues: any;
|
10
|
+
} | undefined;
|
11
|
+
Skia: any;
|
12
|
+
nativeId: any;
|
13
|
+
drawOnCanvas(canvas: any): void;
|
14
|
+
} | {
|
15
|
+
redraw(): void;
|
16
|
+
recording: {
|
17
|
+
commands: any;
|
18
|
+
paintPool: never[];
|
19
|
+
} | undefined;
|
20
|
+
mapperId: any;
|
21
|
+
Skia: any;
|
22
|
+
nativeId: any;
|
23
|
+
drawOnCanvas(canvas: any): void;
|
24
|
+
};
|
5
25
|
root: any;
|
6
26
|
get sg(): {
|
7
27
|
type: any;
|
@@ -14,4 +34,3 @@ export class SkiaSGRoot {
|
|
14
34
|
getPicture(): any;
|
15
35
|
unmount(): void;
|
16
36
|
}
|
17
|
-
import { Container } from "./Container";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { FillType, SkImage, StrokeOpts, Vector, Color, SkPoint, BlendMode, PointMode, VertexMode, SkFont, SkRRect, SkTextBlob, SkPicture, SkSVG, SkPaint, SkRect, SkRSXform, SkColor } from "../../skia/types";
|
1
|
+
import type { FillType, SkImage, StrokeOpts, Vector, Color, SkPoint, BlendMode, PointMode, VertexMode, SkFont, SkRRect, SkTextBlob, SkPicture, SkSVG, SkPaint, SkRect, SkRSXform, SkColor, SamplingOptions } from "../../skia/types";
|
2
2
|
import type { CircleDef, Fit, GroupProps, PathDef, RectDef, RRectDef, SkEnum } from "./Common";
|
3
3
|
export interface DrawingNodeProps extends GroupProps {
|
4
4
|
paint?: SkPaint;
|
@@ -6,6 +6,7 @@ export interface DrawingNodeProps extends GroupProps {
|
|
6
6
|
export type ImageProps = DrawingNodeProps & RectDef & {
|
7
7
|
fit?: Fit;
|
8
8
|
image: SkImage | null;
|
9
|
+
sampling?: SamplingOptions;
|
9
10
|
};
|
10
11
|
export type CircleProps = CircleDef & DrawingNodeProps;
|
11
12
|
export interface PathProps extends DrawingNodeProps {
|
@@ -27,6 +28,7 @@ export interface AtlasProps extends DrawingNodeProps {
|
|
27
28
|
sprites: SkRect[];
|
28
29
|
transforms: SkRSXform[];
|
29
30
|
colors?: SkColor[];
|
31
|
+
sampling?: SamplingOptions;
|
30
32
|
}
|
31
33
|
export interface CubicBezierHandle {
|
32
34
|
pos: Vector;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { Color,
|
1
|
+
import type { Color, SamplingOptions, SkImage, SkRect, SkRuntimeEffect, TileMode, Uniforms, Vector } from "../../skia/types";
|
2
2
|
import type { SkEnum, TransformProps, ChildrenProps, RectCtor, Fit } from "./Common";
|
3
3
|
export interface ShaderProps extends TransformProps, ChildrenProps {
|
4
4
|
source: SkRuntimeEffect;
|
@@ -7,11 +7,10 @@ export interface ShaderProps extends TransformProps, ChildrenProps {
|
|
7
7
|
export interface ImageShaderProps extends TransformProps, Partial<RectCtor> {
|
8
8
|
tx: SkEnum<typeof TileMode>;
|
9
9
|
ty: SkEnum<typeof TileMode>;
|
10
|
-
fm: SkEnum<typeof FilterMode>;
|
11
|
-
mm: SkEnum<typeof MipmapMode>;
|
12
10
|
fit: Fit;
|
13
11
|
rect?: SkRect;
|
14
12
|
image: SkImage | null;
|
13
|
+
sampling?: SamplingOptions;
|
15
14
|
}
|
16
15
|
export interface ColorProps {
|
17
16
|
color: Color;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import type { ImageShaderProps } from "../../../dom/types";
|
3
3
|
import type { SkiaDefaultProps } from "../../processors";
|
4
|
-
export declare const ImageShader: ({ tx, ty,
|
4
|
+
export declare const ImageShader: ({ tx, ty, fit, transform, ...props }: SkiaDefaultProps<ImageShaderProps, "tx" | "ty" | "fit" | "transform">) => React.JSX.Element;
|
@@ -2,4 +2,4 @@ import type { DataSourceParam } from "../types";
|
|
2
2
|
/**
|
3
3
|
* Returns a Skia Animated Image object
|
4
4
|
* */
|
5
|
-
export declare const useAnimatedImage: (source: DataSourceParam, onError?: (err: Error) => void
|
5
|
+
export declare const useAnimatedImage: (source: DataSourceParam, onError?: (err: Error) => void) => import("../types").SkAnimatedImage | null;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { SkData, DataSourceParam, SkJSIInstance } from "../types";
|
2
2
|
export declare const loadData: <T>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (err: Error) => void) => Promise<T | null>;
|
3
3
|
export declare const useCollectionLoading: <T extends SkJSIInstance<string>>(source: DataSourceParam[], loader: () => Promise<(T | null)[]>) => T[] | null;
|
4
|
-
export declare const useRawData: <T extends SkJSIInstance<string>>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (err: Error) => void
|
4
|
+
export declare const useRawData: <T extends SkJSIInstance<string>>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (err: Error) => void) => T | null;
|
5
5
|
export declare const useData: (source: DataSourceParam, onError?: (err: Error) => void) => SkData | null;
|
@@ -2,7 +2,7 @@ import type { SkPaint } from "./Paint";
|
|
2
2
|
import type { SkRect } from "./Rect";
|
3
3
|
import type { SkFont } from "./Font";
|
4
4
|
import type { SkPath } from "./Path";
|
5
|
-
import type { SkImage, MipmapMode, FilterMode, ImageInfo,
|
5
|
+
import type { SkImage, MipmapMode, FilterMode, ImageInfo, SamplingOptions } from "./Image";
|
6
6
|
import type { SkSVG } from "./SVG";
|
7
7
|
import type { SkColor } from "./Color";
|
8
8
|
import type { InputRRect } from "./RRect";
|
@@ -392,7 +392,7 @@ export interface SkCanvas {
|
|
392
392
|
* @param {CubicResampler | FilterOptions} [sampling] - The sampling options. Optional.
|
393
393
|
* @returns {void} This method does not return anything.
|
394
394
|
*/
|
395
|
-
drawAtlas(atlas: SkImage, srcs: SkRect[], dsts: SkRSXform[], paint: SkPaint, blendMode?: BlendMode, colors?: SkColor[], sampling?:
|
395
|
+
drawAtlas(atlas: SkImage, srcs: SkRect[], dsts: SkRSXform[], paint: SkPaint, blendMode?: BlendMode, colors?: SkColor[], sampling?: SamplingOptions): void;
|
396
396
|
/** Read Image pixels
|
397
397
|
*
|
398
398
|
* @param srcX - x-axis upper left corner of the rectangle to read from
|
@@ -25,6 +25,24 @@ export declare enum ImageFormat {
|
|
25
25
|
PNG = 4,
|
26
26
|
WEBP = 6
|
27
27
|
}
|
28
|
+
export type SamplingOptions = CubicResampler | FilterOptions;
|
29
|
+
export declare const isCubicSampling: (sampling: SamplingOptions) => sampling is CubicResampler;
|
30
|
+
export declare const MitchellCubicSampling: {
|
31
|
+
B: number;
|
32
|
+
C: number;
|
33
|
+
};
|
34
|
+
export declare const CatmullRomCubicSampling: {
|
35
|
+
B: number;
|
36
|
+
C: number;
|
37
|
+
};
|
38
|
+
export declare const CubicSampling: {
|
39
|
+
B: number;
|
40
|
+
C: number;
|
41
|
+
};
|
42
|
+
export declare const MakeCubic: (B: number, C: number) => {
|
43
|
+
B: number;
|
44
|
+
C: number;
|
45
|
+
};
|
28
46
|
export interface SkImage extends SkJSIInstance<"Image"> {
|
29
47
|
/**
|
30
48
|
* Returns the possibly scaled height of the image.
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import type { SkCanvas } from "../Canvas";
|
2
|
+
import type { SkJSIInstance } from "../JsiInstance";
|
2
3
|
import type { SkRect } from "../Rect";
|
3
4
|
import type { SkPicture } from "./Picture";
|
4
|
-
export interface SkPictureRecorder {
|
5
|
+
export interface SkPictureRecorder extends SkJSIInstance<"PictureRecorder"> {
|
5
6
|
/**
|
6
7
|
* Returns a canvas on which to draw. When done drawing, call finishRecordingAsPicture()
|
7
8
|
*
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { Canvas, CanvasKit } from "canvaskit-wasm";
|
2
|
-
import type
|
2
|
+
import { type BlendMode, type ClipOp, type FilterMode, type MipmapMode, type PointMode, type SaveLayerFlag, type ImageInfo, type SkCanvas, type SkColor, type SkFont, type SkImage, type SkImageFilter, type SkMatrix, type SkPaint, type SkPath, type SkPicture, type SkPoint, type SkRect, type InputRRect, type SkSVG, type SkTextBlob, type SkVertices, type SkRSXform, type CubicResampler, type FilterOptions } from "../types";
|
3
3
|
import { HostObject } from "./Host";
|
4
4
|
export declare class JsiSkCanvas extends HostObject<Canvas, "Canvas"> implements SkCanvas {
|
5
5
|
constructor(CanvasKit: CanvasKit, ref: Canvas);
|
@@ -42,6 +42,6 @@ export declare class JsiSkCanvas extends HostObject<Canvas, "Canvas"> implements
|
|
42
42
|
clipRRect(rrect: InputRRect, op: ClipOp, doAntiAlias: boolean): void;
|
43
43
|
concat(m: SkMatrix | number[]): void;
|
44
44
|
drawPicture(skp: SkPicture): void;
|
45
|
-
drawAtlas(atlas: SkImage, srcs: SkRect[], dsts: SkRSXform[], paint: SkPaint, blendMode?: BlendMode, colors?: SkColor[],
|
45
|
+
drawAtlas(atlas: SkImage, srcs: SkRect[], dsts: SkRSXform[], paint: SkPaint, blendMode?: BlendMode, colors?: SkColor[], sampling?: CubicResampler | FilterOptions): void;
|
46
46
|
readPixels(srcX: number, srcY: number, imageInfo: ImageInfo): Float32Array | Uint8Array | null;
|
47
47
|
}
|
@@ -1,20 +1,23 @@
|
|
1
1
|
import type { Skia, SkCanvas } from "../skia/types";
|
2
2
|
import type { Node } from "./Node";
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
import type { Recording } from "./Recorder/Recorder";
|
4
|
+
export declare abstract class Container {
|
5
|
+
protected Skia: Skia;
|
6
|
+
protected nativeId: number;
|
7
|
+
root: Node[];
|
8
|
+
protected recording: Recording | null;
|
9
|
+
constructor(Skia: Skia, nativeId: number);
|
10
|
+
drawOnCanvas(canvas: SkCanvas): void;
|
11
|
+
abstract redraw(): void;
|
12
|
+
}
|
13
|
+
declare class StaticContainer extends Container {
|
14
|
+
constructor(Skia: Skia, nativeId: number);
|
15
|
+
redraw(): void;
|
16
|
+
}
|
17
|
+
declare class ReanimatedContainer extends Container {
|
10
18
|
private mapperId;
|
11
19
|
constructor(Skia: Skia, nativeId: number);
|
12
|
-
get root(): Node[];
|
13
|
-
set root(root: Node[]);
|
14
|
-
clear(): void;
|
15
20
|
redraw(): void;
|
16
|
-
getNativeId(): number;
|
17
|
-
unregisterValues(values: object): void;
|
18
|
-
registerValues(values: object): void;
|
19
|
-
drawOnCanvas(canvas: SkCanvas): void;
|
20
21
|
}
|
22
|
+
export declare const createContainer: (Skia: Skia, nativeId: number) => StaticContainer | ReanimatedContainer;
|
23
|
+
export {};
|
@@ -2,9 +2,19 @@ import type { SharedValue } from "react-native-reanimated";
|
|
2
2
|
import { NodeType } from "../../dom/types";
|
3
3
|
import type { BlurMaskFilterProps, CircleProps, CTMProps, ImageProps, PaintProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, BoxProps, BoxShadowProps } from "../../dom/types";
|
4
4
|
import type { AnimatedProps } from "../../renderer";
|
5
|
+
import type { SkPaint } from "../../skia/types";
|
5
6
|
import type { Command } from "./Core";
|
7
|
+
export interface Recording {
|
8
|
+
commands: Command[];
|
9
|
+
paintPool: SkPaint[];
|
10
|
+
}
|
11
|
+
interface AnimationValues {
|
12
|
+
animationValues: Set<SharedValue<unknown>>;
|
13
|
+
}
|
6
14
|
export declare class Recorder {
|
7
15
|
commands: Command[];
|
16
|
+
animationValues: Set<SharedValue<unknown>>;
|
17
|
+
getRecording(): Recording & AnimationValues;
|
8
18
|
private processProps;
|
9
19
|
private add;
|
10
20
|
savePaint(props: AnimatedProps<PaintProps>): void;
|
@@ -48,3 +58,4 @@ export declare class Recorder {
|
|
48
58
|
drawParagraph(props: AnimatedProps<ParagraphProps>): void;
|
49
59
|
drawAtlas(props: AnimatedProps<AtlasProps>): void;
|
50
60
|
}
|
61
|
+
export {};
|
@@ -19,6 +19,36 @@
|
|
19
19
|
<key>SupportedPlatform</key>
|
20
20
|
<string>ios</string>
|
21
21
|
</dict>
|
22
|
+
<dict>
|
23
|
+
<key>BinaryPath</key>
|
24
|
+
<string>libskia.a</string>
|
25
|
+
<key>LibraryIdentifier</key>
|
26
|
+
<string>tvos-arm64_arm64e</string>
|
27
|
+
<key>LibraryPath</key>
|
28
|
+
<string>libskia.a</string>
|
29
|
+
<key>SupportedArchitectures</key>
|
30
|
+
<array>
|
31
|
+
<string>arm64</string>
|
32
|
+
<string>arm64e</string>
|
33
|
+
</array>
|
34
|
+
<key>SupportedPlatform</key>
|
35
|
+
<string>tvos</string>
|
36
|
+
</dict>
|
37
|
+
<dict>
|
38
|
+
<key>BinaryPath</key>
|
39
|
+
<string>libskia.a</string>
|
40
|
+
<key>LibraryIdentifier</key>
|
41
|
+
<string>macos-arm64_x86_64</string>
|
42
|
+
<key>LibraryPath</key>
|
43
|
+
<string>libskia.a</string>
|
44
|
+
<key>SupportedArchitectures</key>
|
45
|
+
<array>
|
46
|
+
<string>arm64</string>
|
47
|
+
<string>x86_64</string>
|
48
|
+
</array>
|
49
|
+
<key>SupportedPlatform</key>
|
50
|
+
<string>macos</string>
|
51
|
+
</dict>
|
22
52
|
<dict>
|
23
53
|
<key>BinaryPath</key>
|
24
54
|
<string>libskia.a</string>
|
@@ -41,16 +71,19 @@
|
|
41
71
|
<key>BinaryPath</key>
|
42
72
|
<string>libskia.a</string>
|
43
73
|
<key>LibraryIdentifier</key>
|
44
|
-
<string>
|
74
|
+
<string>tvos-arm64_arm64e_x86_64-simulator</string>
|
45
75
|
<key>LibraryPath</key>
|
46
76
|
<string>libskia.a</string>
|
47
77
|
<key>SupportedArchitectures</key>
|
48
78
|
<array>
|
49
79
|
<string>arm64</string>
|
80
|
+
<string>arm64e</string>
|
50
81
|
<string>x86_64</string>
|
51
82
|
</array>
|
52
83
|
<key>SupportedPlatform</key>
|
53
|
-
<string>
|
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
|