@shopify/react-native-skia 2.6.3-next.1 → 2.6.4

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.
Files changed (41) hide show
  1. package/cpp/api/JsiSkAnimatedImage.h +1 -1
  2. package/cpp/api/JsiSkApi.h +1 -1
  3. package/cpp/api/JsiSkColor.h +1 -1
  4. package/cpp/api/JsiSkDataFactory.h +1 -1
  5. package/cpp/api/JsiSkImage.h +1 -1
  6. package/cpp/api/JsiSkSkottie.h +1 -1
  7. package/cpp/api/recorder/Convertor.h +1 -1
  8. package/cpp/api/third_party/SkottieUtils.cpp +1 -1
  9. package/cpp/api/third_party/base64.cpp +1 -1
  10. package/cpp/jsi/JsiHostObject.cpp +5 -7
  11. package/cpp/jsi/JsiPromises.h +1 -1
  12. package/package.json +9 -10
  13. package/react-native-skia.podspec +1 -1
  14. package/scripts/install-libs.js +4 -44
  15. package/cpp/dawn/include/dawn/dawn_proc.h +0 -50
  16. package/cpp/dawn/include/dawn/dawn_proc_table.h +0 -326
  17. package/cpp/dawn/include/dawn/dawn_thread_dispatch_proc.h +0 -47
  18. package/cpp/dawn/include/dawn/native/D3D11Backend.h +0 -65
  19. package/cpp/dawn/include/dawn/native/D3D12Backend.h +0 -102
  20. package/cpp/dawn/include/dawn/native/D3DBackend.h +0 -56
  21. package/cpp/dawn/include/dawn/native/DawnNative.h +0 -369
  22. package/cpp/dawn/include/dawn/native/MetalBackend.h +0 -56
  23. package/cpp/dawn/include/dawn/native/NullBackend.h +0 -39
  24. package/cpp/dawn/include/dawn/native/OpenGLBackend.h +0 -89
  25. package/cpp/dawn/include/dawn/native/VulkanBackend.h +0 -183
  26. package/cpp/dawn/include/dawn/native/WebGPUBackend.h +0 -49
  27. package/cpp/dawn/include/dawn/native/dawn_native_export.h +0 -49
  28. package/cpp/dawn/include/dawn/platform/DawnPlatform.h +0 -203
  29. package/cpp/dawn/include/dawn/platform/dawn_platform_export.h +0 -49
  30. package/cpp/dawn/include/dawn/replay/Replay.h +0 -75
  31. package/cpp/dawn/include/dawn/replay/dawn_replay_export.h +0 -49
  32. package/cpp/dawn/include/dawn/webgpu_cpp_print.h +0 -2752
  33. package/cpp/dawn/include/tint/tint.h +0 -90
  34. package/cpp/dawn/include/webgpu/webgpu.h +0 -4902
  35. package/cpp/dawn/include/webgpu/webgpu_cpp.h +0 -10261
  36. package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +0 -57
  37. package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +0 -161
  38. package/cpp/dawn/include/webgpu/webgpu_glfw.h +0 -88
  39. package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +0 -45
  40. package/cpp/skia/src/gpu/graphite/ResourceTypes.h +0 -360
  41. package/cpp/skia/src/gpu/graphite/TextureProxyView.h +0 -105
@@ -1,49 +0,0 @@
1
- // Copyright 2020 The Dawn & Tint Authors
2
- //
3
- // Redistribution and use in source and binary forms, with or without
4
- // modification, are permitted provided that the following conditions are met:
5
- //
6
- // 1. Redistributions of source code must retain the above copyright notice, this
7
- // list of conditions and the following disclaimer.
8
- //
9
- // 2. Redistributions in binary form must reproduce the above copyright notice,
10
- // this list of conditions and the following disclaimer in the documentation
11
- // and/or other materials provided with the distribution.
12
- //
13
- // 3. Neither the name of the copyright holder nor the names of its
14
- // contributors may be used to endorse or promote products derived from
15
- // this software without specific prior written permission.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
- // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
- // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
- // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
- // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
- // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
- // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
-
28
- #ifndef INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_
29
- #define INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_
30
-
31
- #if defined(DAWN_PLATFORM_SHARED_LIBRARY)
32
- #if defined(_WIN32)
33
- #if defined(DAWN_PLATFORM_IMPLEMENTATION)
34
- #define DAWN_PLATFORM_EXPORT __declspec(dllexport)
35
- #else
36
- #define DAWN_PLATFORM_EXPORT __declspec(dllimport)
37
- #endif
38
- #else // defined(_WIN32)
39
- #if defined(DAWN_PLATFORM_IMPLEMENTATION)
40
- #define DAWN_PLATFORM_EXPORT __attribute__((visibility("default")))
41
- #else
42
- #define DAWN_PLATFORM_EXPORT
43
- #endif
44
- #endif // defined(_WIN32)
45
- #else // defined(DAWN_PLATFORM_SHARED_LIBRARY)
46
- #define DAWN_PLATFORM_EXPORT
47
- #endif // defined(DAWN_PLATFORM_SHARED_LIBRARY)
48
-
49
- #endif // INCLUDE_DAWN_PLATFORM_DAWN_PLATFORM_EXPORT_H_
@@ -1,75 +0,0 @@
1
- // Copyright 2025 The Dawn & Tint Authors
2
- //
3
- // Redistribution and use in source and binary forms, with or without
4
- // modification, are permitted provided that the following conditions are met:
5
- //
6
- // 1. Redistributions of source code must retain the above copyright notice, this
7
- // list of conditions and the following disclaimer.
8
- //
9
- // 2. Redistributions in binary form must reproduce the above copyright notice,
10
- // this list of conditions and the following disclaimer in the documentation
11
- // and/or other materials provided with the distribution.
12
- //
13
- // 3. Neither the name of the copyright holder nor the names of its
14
- // contributors may be used to endorse or promote products derived from
15
- // this software without specific prior written permission.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
- // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
- // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
- // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
- // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
- // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
- // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
-
28
- #ifndef INCLUDE_DAWN_REPLAY_REPLAY_H_
29
- #define INCLUDE_DAWN_REPLAY_REPLAY_H_
30
-
31
- #include <istream>
32
- #include <memory>
33
- #include <string_view>
34
-
35
- #include "dawn/replay/dawn_replay_export.h"
36
- #include "dawn/webgpu_cpp.h"
37
-
38
- namespace dawn::replay {
39
-
40
- using CaptureStream = std::istream;
41
-
42
- class RootCommandVisitor;
43
-
44
- // The public API of a Capture.
45
- // In the future it should have calls to get information (e.g. number of commands)
46
- class DAWN_REPLAY_EXPORT Capture {
47
- public:
48
- static std::unique_ptr<Capture> Create(CaptureStream& commandStream,
49
- size_t commandSize,
50
- CaptureStream& contentStream,
51
- size_t contentSize);
52
- virtual ~Capture() = 0;
53
-
54
- // Returns true if walk successful.
55
- virtual bool Walk(RootCommandVisitor& visitor) = 0;
56
- };
57
-
58
- // The public API of a replay controller of a capture.
59
- // In the future it should have a finer-grained control calls of a capture (e.g. step, play to a
60
- // certain point)
61
- class DAWN_REPLAY_EXPORT Replay {
62
- public:
63
- static std::unique_ptr<Replay> Create(wgpu::Device device, std::unique_ptr<Capture> capture);
64
- virtual ~Replay() = 0;
65
-
66
- template <typename T>
67
- T GetObjectByLabel(std::string_view label) const;
68
-
69
- // Returns if play is successful.
70
- bool Play();
71
- };
72
-
73
- } // namespace dawn::replay
74
-
75
- #endif // INCLUDE_DAWN_REPLAY_REPLAY_H_
@@ -1,49 +0,0 @@
1
- // Copyright 2025 The Dawn & Tint Authors
2
- //
3
- // Redistribution and use in source and binary forms, with or without
4
- // modification, are permitted provided that the following conditions are met:
5
- //
6
- // 1. Redistributions of source code must retain the above copyright notice, this
7
- // list of conditions and the following disclaimer.
8
- //
9
- // 2. Redistributions in binary form must reproduce the above copyright notice,
10
- // this list of conditions and the following disclaimer in the documentation
11
- // and/or other materials provided with the distribution.
12
- //
13
- // 3. Neither the name of the copyright holder nor the names of its
14
- // contributors may be used to endorse or promote products derived from
15
- // this software without specific prior written permission.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
- // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
- // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
- // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
- // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
- // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
- // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
-
28
- #ifndef INCLUDE_DAWN_REPLAY_DAWN_REPLAY_EXPORT_H_
29
- #define INCLUDE_DAWN_REPLAY_DAWN_REPLAY_EXPORT_H_
30
-
31
- #if defined(DAWN_REPLAY_SHARED_LIBRARY)
32
- #if defined(_WIN32)
33
- #if defined(DAWN_REPLAY_IMPLEMENTATION)
34
- #define DAWN_REPLAY_EXPORT __declspec(dllexport)
35
- #else
36
- #define DAWN_REPLAY_EXPORT __declspec(dllimport)
37
- #endif
38
- #else // defined(_WIN32)
39
- #if defined(DAWN_REPLAY_IMPLEMENTATION)
40
- #define DAWN_REPLAY_EXPORT __attribute__((visibility("default")))
41
- #else
42
- #define DAWN_REPLAY_EXPORT
43
- #endif
44
- #endif // defined(_WIN32)
45
- #else // defined(DAWN_REPLAY_SHARED_LIBRARY)
46
- #define DAWN_REPLAY_EXPORT
47
- #endif // defined(DAWN_REPLAY_SHARED_LIBRARY)
48
-
49
- #endif // INCLUDE_DAWN_REPLAY_DAWN_REPLAY_EXPORT_H_