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

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 (29) hide show
  1. package/cpp/dawn/include/dawn/dawn_proc.h +50 -0
  2. package/cpp/dawn/include/dawn/dawn_proc_table.h +326 -0
  3. package/cpp/dawn/include/dawn/dawn_thread_dispatch_proc.h +47 -0
  4. package/cpp/dawn/include/dawn/native/D3D11Backend.h +65 -0
  5. package/cpp/dawn/include/dawn/native/D3D12Backend.h +102 -0
  6. package/cpp/dawn/include/dawn/native/D3DBackend.h +56 -0
  7. package/cpp/dawn/include/dawn/native/DawnNative.h +369 -0
  8. package/cpp/dawn/include/dawn/native/MetalBackend.h +56 -0
  9. package/cpp/dawn/include/dawn/native/NullBackend.h +39 -0
  10. package/cpp/dawn/include/dawn/native/OpenGLBackend.h +89 -0
  11. package/cpp/dawn/include/dawn/native/VulkanBackend.h +183 -0
  12. package/cpp/dawn/include/dawn/native/WebGPUBackend.h +49 -0
  13. package/cpp/dawn/include/dawn/native/dawn_native_export.h +49 -0
  14. package/cpp/dawn/include/dawn/platform/DawnPlatform.h +203 -0
  15. package/cpp/dawn/include/dawn/platform/dawn_platform_export.h +49 -0
  16. package/cpp/dawn/include/dawn/replay/Replay.h +75 -0
  17. package/cpp/dawn/include/dawn/replay/dawn_replay_export.h +49 -0
  18. package/cpp/dawn/include/dawn/webgpu_cpp_print.h +2752 -0
  19. package/cpp/dawn/include/tint/tint.h +90 -0
  20. package/cpp/dawn/include/webgpu/webgpu.h +4902 -0
  21. package/cpp/dawn/include/webgpu/webgpu_cpp.h +10261 -0
  22. package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +57 -0
  23. package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +161 -0
  24. package/cpp/dawn/include/webgpu/webgpu_glfw.h +88 -0
  25. package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +45 -0
  26. package/cpp/skia/src/gpu/graphite/ResourceTypes.h +360 -0
  27. package/cpp/skia/src/gpu/graphite/TextureProxyView.h +105 -0
  28. package/package.json +7 -6
  29. package/scripts/install-libs.js +44 -4
@@ -0,0 +1,90 @@
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_TINT_TINT_H_
29
+ #define INCLUDE_TINT_TINT_H_
30
+
31
+ // Guard for accidental includes to private headers
32
+ #define CURRENTLY_IN_TINT_PUBLIC_HEADER
33
+
34
+ // TODO(tint:88): When implementing support for an install target, all of these
35
+ // headers will need to be moved to include/tint/.
36
+
37
+ #include "src/tint/api/common/binding_point.h" // IWYU pragma: export
38
+ #include "src/tint/api/common/resource_type.h" // IWYU pragma: export
39
+ #include "src/tint/api/common/subgroup_matrix.h" // IWYU pragma: export
40
+ #include "src/tint/api/common/substitute_overrides_config.h" // IWYU pragma: export
41
+ #include "src/tint/api/common/vertex_pulling_config.h" // IWYU pragma: export
42
+ #include "src/tint/api/common/workgroup_info.h" // IWYU pragma: export
43
+ #include "src/tint/api/tint.h" // IWYU pragma: export
44
+ #include "src/tint/lang/core/type/manager.h" // IWYU pragma: export
45
+ #include "src/tint/lang/wgsl/enums.h" // IWYU pragma: export
46
+ #include "src/tint/lang/wgsl/feature_status.h" // IWYU pragma: export
47
+ #include "src/tint/lang/wgsl/inspector/inspector.h" // IWYU pragma: export
48
+ #include "src/tint/utils/diagnostic/formatter.h" // IWYU pragma: export
49
+ #include "src/tint/utils/text/styled_text.h" // IWYU pragma: export
50
+
51
+ ///////////////
52
+ // NOTE if adding a new guard include here, it must also appear in src/tint/api/tint.cc for the
53
+ // build to work correctly.
54
+ ///////////////
55
+
56
+ #if TINT_BUILD_SPV_READER
57
+ #include "src/tint/lang/spirv/reader/reader.h"
58
+ #endif // TINT_BUILD_SPV_READER
59
+
60
+ #if TINT_BUILD_WGSL_READER
61
+ #include "src/tint/lang/wgsl/reader/reader.h"
62
+ #endif // TINT_BUILD_WGSL_READER
63
+
64
+ #if TINT_BUILD_SPV_WRITER
65
+ #include "src/tint/lang/spirv/writer/writer.h"
66
+ #endif // TINT_BUILD_SPV_WRITER
67
+
68
+ #if TINT_BUILD_WGSL_WRITER
69
+ #include "src/tint/lang/wgsl/writer/writer.h"
70
+ #endif // TINT_BUILD_WGSL_WRITER
71
+
72
+ #if TINT_BUILD_MSL_WRITER
73
+ #include "src/tint/lang/msl/writer/writer.h"
74
+ #endif // TINT_BUILD_MSL_WRITER
75
+
76
+ #if TINT_BUILD_HLSL_WRITER
77
+ #include "src/tint/lang/hlsl/writer/writer.h"
78
+ #endif // TINT_BUILD_HLSL_WRITER
79
+
80
+ #if TINT_BUILD_GLSL_WRITER
81
+ #include "src/tint/lang/glsl/writer/writer.h"
82
+ #endif // TINT_BUILD_GLSL_WRITER
83
+
84
+ #if TINT_BUILD_NULL_WRITER
85
+ #include "src/tint/lang/null/writer/writer.h"
86
+ #endif // TINT_BUILD_NULL_WRITER
87
+
88
+ #undef CURRENTLY_IN_TINT_PUBLIC_HEADER
89
+
90
+ #endif // INCLUDE_TINT_TINT_H_