@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
@@ -8,7 +8,7 @@
8
8
  #include <utility>
9
9
 
10
10
  #include "JsiSkHostObjects.h"
11
- #include "third_party/base64.h"
11
+ #include "api/third_party/base64.h"
12
12
 
13
13
  #pragma clang diagnostic push
14
14
  #pragma clang diagnostic ignored "-Wdocumentation"
@@ -61,7 +61,7 @@
61
61
  #include "JsiSkiaContext.h"
62
62
  #include "JsiSkottieFactory.h"
63
63
  #include "JsiVideo.h"
64
- #include "recorder/JsiRecorder.h"
64
+ #include "api/recorder/JsiRecorder.h"
65
65
 
66
66
  namespace RNSkia {
67
67
 
@@ -7,7 +7,7 @@
7
7
  #include <jsi/jsi.h>
8
8
 
9
9
  #include "JsiSkHostObjects.h"
10
- #include "third_party/CSSColorParser.h"
10
+ #include "api/third_party/CSSColorParser.h"
11
11
 
12
12
  #pragma clang diagnostic push
13
13
  #pragma clang diagnostic ignored "-Wdocumentation"
@@ -7,7 +7,7 @@
7
7
 
8
8
  #include "JsiPromises.h"
9
9
  #include "JsiSkData.h"
10
- #include "third_party/base64.h"
10
+ #include "api/third_party/base64.h"
11
11
 
12
12
  namespace RNSkia {
13
13
 
@@ -9,7 +9,7 @@
9
9
  #include "JsiSkImageInfo.h"
10
10
  #include "JsiSkMatrix.h"
11
11
  #include "JsiSkShader.h"
12
- #include "third_party/base64.h"
12
+ #include "api/third_party/base64.h"
13
13
 
14
14
  #include "JsiTextureInfo.h"
15
15
  #include "RNSkTypedArray.h"
@@ -7,7 +7,7 @@
7
7
  #include "JsiSkHostObjects.h"
8
8
  #include "JsiSkPoint.h"
9
9
  #include "JsiSkRect.h"
10
- #include "third_party/SkottieUtils.h"
10
+ #include "api/third_party/SkottieUtils.h"
11
11
 
12
12
  #pragma clang diagnostic push
13
13
  #pragma clang diagnostic ignored "-Wdocumentation"
@@ -16,7 +16,7 @@
16
16
  #include <modules/skparagraph/include/ParagraphStyle.h>
17
17
 
18
18
  #include "../CustomBlendModes.h"
19
- #include "third_party/CSSColorParser.h"
19
+ #include "api/third_party/CSSColorParser.h"
20
20
 
21
21
  #include "DataTypes.h"
22
22
 
@@ -5,7 +5,7 @@
5
5
  * found in the LICENSE file.
6
6
  */
7
7
 
8
- #include "third_party/SkottieUtils.h"
8
+ #include "SkottieUtils.h"
9
9
 
10
10
  #include "include/core/SkData.h"
11
11
  #include "include/core/SkRect.h"
@@ -4,7 +4,7 @@
4
4
  * Use of this source code is governed by a BSD-style license that can be
5
5
  * found in the LICENSE file.
6
6
  */
7
- #include "third_party/base64.h"
7
+ #include "base64.h"
8
8
 
9
9
  #include <cstdint>
10
10
 
@@ -24,12 +24,6 @@ void JsiHostObject::set(jsi::Runtime &rt, const jsi::PropNameID &name,
24
24
  }
25
25
  }
26
26
 
27
- jsi::Value eval(jsi::Runtime &runtime, const std::string &js) {
28
- return runtime.global()
29
- .getPropertyAsFunction(runtime, "eval")
30
- .call(runtime, js);
31
- }
32
-
33
27
  jsi::Value JsiHostObject::get(jsi::Runtime &runtime,
34
28
  const jsi::PropNameID &name) {
35
29
  auto nameStr = name.utf8(runtime);
@@ -86,7 +80,11 @@ jsi::Value JsiHostObject::get(jsi::Runtime &runtime,
86
80
  // Check for dispose symbol as last resort
87
81
  static const auto disposeSymbol = jsi::PropNameID::forSymbol(
88
82
  runtime,
89
- eval(runtime, "Symbol.for('Symbol.dispose');").getSymbol(runtime));
83
+ runtime.global()
84
+ .getPropertyAsObject(runtime, "Symbol")
85
+ .getPropertyAsFunction(runtime, "for")
86
+ .call(runtime, "Symbol.dispose")
87
+ .getSymbol(runtime));
90
88
  if (jsi::PropNameID::compare(runtime, disposeSymbol, name)) {
91
89
  // Recursively call get with "dispose" string
92
90
  auto disposeName = jsi::PropNameID::forAscii(runtime, "dispose");
@@ -6,7 +6,7 @@
6
6
 
7
7
  #include <jsi/jsi.h>
8
8
 
9
- #include "third_party/base64.h"
9
+ #include "api/third_party/base64.h"
10
10
 
11
11
  namespace RNJsi {
12
12
  namespace jsi = facebook::jsi;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "setup-skia-web": "scripts/setup-canvaskit.js"
10
10
  },
11
11
  "title": "React Native Skia",
12
- "version": "2.6.3-next.1",
12
+ "version": "2.6.4",
13
13
  "description": "High-performance React Native Graphics using Skia",
14
14
  "main": "lib/module/index.js",
15
15
  "react-native": "src/index.ts",
@@ -116,8 +116,8 @@
116
116
  "react": "19.0.0",
117
117
  "react-native": "0.83.1",
118
118
  "react-native-builder-bob": "0.18.2",
119
- "react-native-reanimated": "^4.2.1",
120
- "react-native-worklets": "^0.7.0",
119
+ "react-native-reanimated": "4.3.1",
120
+ "react-native-worklets": "0.8.3",
121
121
  "rimraf": "3.0.2",
122
122
  "semantic-release": "^24.1.0",
123
123
  "semantic-release-yarn": "^3.0.2",
@@ -125,14 +125,14 @@
125
125
  "ts-jest": "29.4.3",
126
126
  "tsx": "^4.21.0",
127
127
  "typescript": "^5.2.2",
128
- "ws": "8.18.0"
128
+ "ws": "8.20.1"
129
129
  },
130
130
  "dependencies": {
131
131
  "canvaskit-wasm": "0.41.0",
132
- "react-native-skia-graphite-android": "147.1.1",
133
- "react-native-skia-graphite-apple-ios": "147.1.1",
134
- "react-native-skia-graphite-apple-macos": "147.1.1",
135
- "react-native-skia-graphite-headers": "147.1.1",
132
+ "react-native-skia-android": "147.1.0",
133
+ "react-native-skia-apple-ios": "147.1.0",
134
+ "react-native-skia-apple-macos": "147.1.0",
135
+ "react-native-skia-apple-tvos": "147.1.0",
136
136
  "react-reconciler": "0.31.0"
137
137
  },
138
138
  "eslintIgnore": [
@@ -171,6 +171,5 @@
171
171
  }
172
172
  ]
173
173
  ]
174
- },
175
- "stableVersion": "0.0.0"
174
+ }
176
175
  }
@@ -65,7 +65,7 @@ Pod::Spec.new do |s|
65
65
  'GCC_PREPROCESSOR_DEFINITIONS' => preprocessor_defs,
66
66
  'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
67
67
  'DEFINES_MODULE' => 'YES',
68
- "HEADER_SEARCH_PATHS" => '"$(PODS_TARGET_SRCROOT)/cpp/"/** "$(PODS_TARGET_SRCROOT)/cpp" "$(PODS_TARGET_SRCROOT)/cpp/jsi2" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api/descriptors" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/async" "$(PODS_TARGET_SRCROOT)/cpp/dawn/include"'
68
+ "HEADER_SEARCH_PATHS" => '"$(PODS_TARGET_SRCROOT)/cpp/"/** "$(PODS_TARGET_SRCROOT)/cpp" "$(PODS_TARGET_SRCROOT)/cpp/skia" "$(PODS_TARGET_SRCROOT)/cpp/jsi2" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api/descriptors" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/async" "$(PODS_TARGET_SRCROOT)/cpp/dawn/include"'
69
69
  }
70
70
 
71
71
  s.frameworks = ['MetalKit', 'AVFoundation', 'AVKit', 'CoreMedia']
@@ -4,10 +4,11 @@
4
4
  const path = require("path");
5
5
  const fs = require("fs");
6
6
 
7
- const useGraphite = true;
8
- const prefix = "react-native-skia-graphite";
7
+ const useGraphite =
8
+ process.env.SK_GRAPHITE === "1" ||
9
+ (process.env.SK_GRAPHITE || "").toLowerCase() === "true";
10
+ const prefix = useGraphite ? "react-native-skia-graphite" : "react-native-skia";
9
11
  const libsDir = path.join(__dirname, "..", "libs");
10
- const packageRoot = path.join(__dirname, "..");
11
12
 
12
13
  function copySync(src, dest, options) {
13
14
  if (!src.includes("*")) {
@@ -130,44 +131,3 @@ fs.rmSync(androidDest, { recursive: true, force: true });
130
131
  copySync(androidSrcLibs, androidDest, { recursive: true });
131
132
 
132
133
  console.log("-- Copied Android libs to libs/android/");
133
-
134
- // --- Graphite: headers and marker file ---
135
-
136
- if (useGraphite) {
137
- // Copy Dawn/WebGPU headers from the headers package
138
- let headersPackage;
139
- try {
140
- headersPackage = path.dirname(
141
- require.resolve("react-native-skia-graphite-headers/package.json")
142
- );
143
- } catch (e) {
144
- console.error("ERROR: Could not find react-native-skia-graphite-headers");
145
- console.error("Make sure you have run yarn install or npm install");
146
- process.exit(1);
147
- }
148
-
149
- console.log("-- Skia Graphite headers package: " + headersPackage);
150
-
151
- const headersSrcBase = path.join(headersPackage, "libs/skia/cpp");
152
-
153
- // Copy Dawn/WebGPU headers
154
- const dawnSrc = path.join(headersSrcBase, "dawn");
155
- const dawnDest = path.join(packageRoot, "cpp/dawn");
156
- fs.rmSync(dawnDest, { recursive: true, force: true });
157
- fs.cpSync(dawnSrc, dawnDest, { recursive: true });
158
- console.log("-- Copied Dawn/WebGPU headers to cpp/dawn/");
159
-
160
- // Copy Graphite source headers
161
- const graphiteSrc = path.join(headersSrcBase, "skia/src/gpu/graphite");
162
- const graphiteDest = path.join(packageRoot, "cpp/skia/src/gpu/graphite");
163
- fs.rmSync(graphiteDest, { recursive: true, force: true });
164
- fs.mkdirSync(graphiteDest, { recursive: true });
165
- fs.cpSync(graphiteSrc, graphiteDest, { recursive: true });
166
- console.log("-- Copied Graphite source headers to cpp/skia/src/gpu/graphite/");
167
-
168
- // Write .graphite marker file
169
- const markerFile = path.join(libsDir, ".graphite");
170
- const version = "m147a";
171
- fs.writeFileSync(markerFile, version, "utf-8");
172
- console.log("-- Wrote Graphite marker file: " + markerFile);
173
- }
@@ -1,50 +0,0 @@
1
- // Copyright 2019 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_DAWN_PROC_H_
29
- #define INCLUDE_DAWN_DAWN_PROC_H_
30
-
31
- #include <webgpu/webgpu.h>
32
-
33
- #include "dawn/dawn_proc_table.h"
34
-
35
- #ifdef __cplusplus
36
- extern "C" {
37
- #endif
38
-
39
- // Sets the static proctable used by libdawn_proc to implement the Dawn entrypoints. Passing NULL
40
- // for `procs` sets up the null proctable that contains only null function pointers. It is the
41
- // default value of the proctable. Setting the proctable back to null is good practice when you
42
- // are done using libdawn_proc since further usage will cause a segfault instead of calling an
43
- // unexpected function.
44
- WGPU_EXPORT void dawnProcSetProcs(const DawnProcTable* procs);
45
-
46
- #ifdef __cplusplus
47
- } // extern "C"
48
- #endif
49
-
50
- #endif // INCLUDE_DAWN_DAWN_PROC_H_
@@ -1,326 +0,0 @@
1
-
2
- #ifndef DAWN_DAWN_PROC_TABLE_H_
3
- #define DAWN_DAWN_PROC_TABLE_H_
4
-
5
- #include "webgpu/webgpu.h"
6
-
7
- // Note: Often allocated as a static global. Do not add a complex constructor.
8
- typedef struct DawnProcTable {
9
- WGPUProcCreateInstance createInstance;
10
- WGPUProcGetInstanceFeatures getInstanceFeatures;
11
- WGPUProcGetInstanceLimits getInstanceLimits;
12
- WGPUProcHasInstanceFeature hasInstanceFeature;
13
- WGPUProcGetProcAddress getProcAddress;
14
-
15
- WGPUProcAdapterCreateDevice adapterCreateDevice;
16
- WGPUProcAdapterGetFeatures adapterGetFeatures;
17
- WGPUProcAdapterGetFormatCapabilities adapterGetFormatCapabilities;
18
- WGPUProcAdapterGetInfo adapterGetInfo;
19
- WGPUProcAdapterGetInstance adapterGetInstance;
20
- WGPUProcAdapterGetLimits adapterGetLimits;
21
- WGPUProcAdapterHasFeature adapterHasFeature;
22
- WGPUProcAdapterRequestDevice adapterRequestDevice;
23
- WGPUProcAdapterAddRef adapterAddRef;
24
- WGPUProcAdapterRelease adapterRelease;
25
-
26
- WGPUProcAdapterInfoFreeMembers adapterInfoFreeMembers;
27
-
28
- WGPUProcAdapterPropertiesMemoryHeapsFreeMembers adapterPropertiesMemoryHeapsFreeMembers;
29
-
30
- WGPUProcAdapterPropertiesSubgroupMatrixConfigsFreeMembers adapterPropertiesSubgroupMatrixConfigsFreeMembers;
31
-
32
- WGPUProcBindGroupSetLabel bindGroupSetLabel;
33
- WGPUProcBindGroupAddRef bindGroupAddRef;
34
- WGPUProcBindGroupRelease bindGroupRelease;
35
-
36
- WGPUProcBindGroupLayoutSetLabel bindGroupLayoutSetLabel;
37
- WGPUProcBindGroupLayoutAddRef bindGroupLayoutAddRef;
38
- WGPUProcBindGroupLayoutRelease bindGroupLayoutRelease;
39
-
40
- WGPUProcBufferCreateTexelView bufferCreateTexelView;
41
- WGPUProcBufferDestroy bufferDestroy;
42
- WGPUProcBufferGetConstMappedRange bufferGetConstMappedRange;
43
- WGPUProcBufferGetMappedRange bufferGetMappedRange;
44
- WGPUProcBufferGetMapState bufferGetMapState;
45
- WGPUProcBufferGetSize bufferGetSize;
46
- WGPUProcBufferGetUsage bufferGetUsage;
47
- WGPUProcBufferMapAsync bufferMapAsync;
48
- WGPUProcBufferReadMappedRange bufferReadMappedRange;
49
- WGPUProcBufferSetLabel bufferSetLabel;
50
- WGPUProcBufferUnmap bufferUnmap;
51
- WGPUProcBufferWriteMappedRange bufferWriteMappedRange;
52
- WGPUProcBufferAddRef bufferAddRef;
53
- WGPUProcBufferRelease bufferRelease;
54
-
55
- WGPUProcCommandBufferSetLabel commandBufferSetLabel;
56
- WGPUProcCommandBufferAddRef commandBufferAddRef;
57
- WGPUProcCommandBufferRelease commandBufferRelease;
58
-
59
- WGPUProcCommandEncoderBeginComputePass commandEncoderBeginComputePass;
60
- WGPUProcCommandEncoderBeginRenderPass commandEncoderBeginRenderPass;
61
- WGPUProcCommandEncoderClearBuffer commandEncoderClearBuffer;
62
- WGPUProcCommandEncoderCopyBufferToBuffer commandEncoderCopyBufferToBuffer;
63
- WGPUProcCommandEncoderCopyBufferToTexture commandEncoderCopyBufferToTexture;
64
- WGPUProcCommandEncoderCopyTextureToBuffer commandEncoderCopyTextureToBuffer;
65
- WGPUProcCommandEncoderCopyTextureToTexture commandEncoderCopyTextureToTexture;
66
- WGPUProcCommandEncoderFinish commandEncoderFinish;
67
- WGPUProcCommandEncoderInjectValidationError commandEncoderInjectValidationError;
68
- WGPUProcCommandEncoderInsertDebugMarker commandEncoderInsertDebugMarker;
69
- WGPUProcCommandEncoderPopDebugGroup commandEncoderPopDebugGroup;
70
- WGPUProcCommandEncoderPushDebugGroup commandEncoderPushDebugGroup;
71
- WGPUProcCommandEncoderResolveQuerySet commandEncoderResolveQuerySet;
72
- WGPUProcCommandEncoderSetLabel commandEncoderSetLabel;
73
- WGPUProcCommandEncoderWriteBuffer commandEncoderWriteBuffer;
74
- WGPUProcCommandEncoderWriteTimestamp commandEncoderWriteTimestamp;
75
- WGPUProcCommandEncoderAddRef commandEncoderAddRef;
76
- WGPUProcCommandEncoderRelease commandEncoderRelease;
77
-
78
- WGPUProcComputePassEncoderDispatchWorkgroups computePassEncoderDispatchWorkgroups;
79
- WGPUProcComputePassEncoderDispatchWorkgroupsIndirect computePassEncoderDispatchWorkgroupsIndirect;
80
- WGPUProcComputePassEncoderEnd computePassEncoderEnd;
81
- WGPUProcComputePassEncoderInsertDebugMarker computePassEncoderInsertDebugMarker;
82
- WGPUProcComputePassEncoderPopDebugGroup computePassEncoderPopDebugGroup;
83
- WGPUProcComputePassEncoderPushDebugGroup computePassEncoderPushDebugGroup;
84
- WGPUProcComputePassEncoderSetBindGroup computePassEncoderSetBindGroup;
85
- WGPUProcComputePassEncoderSetImmediates computePassEncoderSetImmediates;
86
- WGPUProcComputePassEncoderSetLabel computePassEncoderSetLabel;
87
- WGPUProcComputePassEncoderSetPipeline computePassEncoderSetPipeline;
88
- WGPUProcComputePassEncoderSetResourceTable computePassEncoderSetResourceTable;
89
- WGPUProcComputePassEncoderWriteTimestamp computePassEncoderWriteTimestamp;
90
- WGPUProcComputePassEncoderAddRef computePassEncoderAddRef;
91
- WGPUProcComputePassEncoderRelease computePassEncoderRelease;
92
-
93
- WGPUProcComputePipelineGetBindGroupLayout computePipelineGetBindGroupLayout;
94
- WGPUProcComputePipelineSetLabel computePipelineSetLabel;
95
- WGPUProcComputePipelineAddRef computePipelineAddRef;
96
- WGPUProcComputePipelineRelease computePipelineRelease;
97
-
98
- WGPUProcDawnDrmFormatCapabilitiesFreeMembers dawnDrmFormatCapabilitiesFreeMembers;
99
-
100
- WGPUProcDeviceCreateBindGroup deviceCreateBindGroup;
101
- WGPUProcDeviceCreateBindGroupLayout deviceCreateBindGroupLayout;
102
- WGPUProcDeviceCreateBuffer deviceCreateBuffer;
103
- WGPUProcDeviceCreateCommandEncoder deviceCreateCommandEncoder;
104
- WGPUProcDeviceCreateComputePipeline deviceCreateComputePipeline;
105
- WGPUProcDeviceCreateComputePipelineAsync deviceCreateComputePipelineAsync;
106
- WGPUProcDeviceCreateErrorBuffer deviceCreateErrorBuffer;
107
- WGPUProcDeviceCreateErrorExternalTexture deviceCreateErrorExternalTexture;
108
- WGPUProcDeviceCreateErrorShaderModule deviceCreateErrorShaderModule;
109
- WGPUProcDeviceCreateErrorTexture deviceCreateErrorTexture;
110
- WGPUProcDeviceCreateExternalTexture deviceCreateExternalTexture;
111
- WGPUProcDeviceCreatePipelineLayout deviceCreatePipelineLayout;
112
- WGPUProcDeviceCreateQuerySet deviceCreateQuerySet;
113
- WGPUProcDeviceCreateRenderBundleEncoder deviceCreateRenderBundleEncoder;
114
- WGPUProcDeviceCreateRenderPipeline deviceCreateRenderPipeline;
115
- WGPUProcDeviceCreateRenderPipelineAsync deviceCreateRenderPipelineAsync;
116
- WGPUProcDeviceCreateResourceTable deviceCreateResourceTable;
117
- WGPUProcDeviceCreateSampler deviceCreateSampler;
118
- WGPUProcDeviceCreateShaderModule deviceCreateShaderModule;
119
- WGPUProcDeviceCreateTexture deviceCreateTexture;
120
- WGPUProcDeviceDestroy deviceDestroy;
121
- WGPUProcDeviceForceLoss deviceForceLoss;
122
- WGPUProcDeviceGetAdapter deviceGetAdapter;
123
- WGPUProcDeviceGetAdapterInfo deviceGetAdapterInfo;
124
- WGPUProcDeviceGetAHardwareBufferProperties deviceGetAHardwareBufferProperties;
125
- WGPUProcDeviceGetFeatures deviceGetFeatures;
126
- WGPUProcDeviceGetLimits deviceGetLimits;
127
- WGPUProcDeviceGetLostFuture deviceGetLostFuture;
128
- WGPUProcDeviceGetQueue deviceGetQueue;
129
- WGPUProcDeviceHasFeature deviceHasFeature;
130
- WGPUProcDeviceImportSharedBufferMemory deviceImportSharedBufferMemory;
131
- WGPUProcDeviceImportSharedFence deviceImportSharedFence;
132
- WGPUProcDeviceImportSharedTextureMemory deviceImportSharedTextureMemory;
133
- WGPUProcDeviceInjectError deviceInjectError;
134
- WGPUProcDevicePopErrorScope devicePopErrorScope;
135
- WGPUProcDevicePushErrorScope devicePushErrorScope;
136
- WGPUProcDeviceSetLabel deviceSetLabel;
137
- WGPUProcDeviceSetLoggingCallback deviceSetLoggingCallback;
138
- WGPUProcDeviceTick deviceTick;
139
- WGPUProcDeviceValidateTextureDescriptor deviceValidateTextureDescriptor;
140
- WGPUProcDeviceAddRef deviceAddRef;
141
- WGPUProcDeviceRelease deviceRelease;
142
-
143
- WGPUProcExternalTextureDestroy externalTextureDestroy;
144
- WGPUProcExternalTextureExpire externalTextureExpire;
145
- WGPUProcExternalTextureRefresh externalTextureRefresh;
146
- WGPUProcExternalTextureSetLabel externalTextureSetLabel;
147
- WGPUProcExternalTextureAddRef externalTextureAddRef;
148
- WGPUProcExternalTextureRelease externalTextureRelease;
149
-
150
- WGPUProcInstanceCreateSurface instanceCreateSurface;
151
- WGPUProcInstanceGetWGSLLanguageFeatures instanceGetWGSLLanguageFeatures;
152
- WGPUProcInstanceHasWGSLLanguageFeature instanceHasWGSLLanguageFeature;
153
- WGPUProcInstanceProcessEvents instanceProcessEvents;
154
- WGPUProcInstanceRequestAdapter instanceRequestAdapter;
155
- WGPUProcInstanceWaitAny instanceWaitAny;
156
- WGPUProcInstanceAddRef instanceAddRef;
157
- WGPUProcInstanceRelease instanceRelease;
158
-
159
- WGPUProcPipelineLayoutSetLabel pipelineLayoutSetLabel;
160
- WGPUProcPipelineLayoutAddRef pipelineLayoutAddRef;
161
- WGPUProcPipelineLayoutRelease pipelineLayoutRelease;
162
-
163
- WGPUProcQuerySetDestroy querySetDestroy;
164
- WGPUProcQuerySetGetCount querySetGetCount;
165
- WGPUProcQuerySetGetType querySetGetType;
166
- WGPUProcQuerySetSetLabel querySetSetLabel;
167
- WGPUProcQuerySetAddRef querySetAddRef;
168
- WGPUProcQuerySetRelease querySetRelease;
169
-
170
- WGPUProcQueueCopyExternalTextureForBrowser queueCopyExternalTextureForBrowser;
171
- WGPUProcQueueCopyTextureForBrowser queueCopyTextureForBrowser;
172
- WGPUProcQueueOnSubmittedWorkDone queueOnSubmittedWorkDone;
173
- WGPUProcQueueSetLabel queueSetLabel;
174
- WGPUProcQueueSubmit queueSubmit;
175
- WGPUProcQueueWriteBuffer queueWriteBuffer;
176
- WGPUProcQueueWriteTexture queueWriteTexture;
177
- WGPUProcQueueAddRef queueAddRef;
178
- WGPUProcQueueRelease queueRelease;
179
-
180
- WGPUProcRenderBundleSetLabel renderBundleSetLabel;
181
- WGPUProcRenderBundleAddRef renderBundleAddRef;
182
- WGPUProcRenderBundleRelease renderBundleRelease;
183
-
184
- WGPUProcRenderBundleEncoderDraw renderBundleEncoderDraw;
185
- WGPUProcRenderBundleEncoderDrawIndexed renderBundleEncoderDrawIndexed;
186
- WGPUProcRenderBundleEncoderDrawIndexedIndirect renderBundleEncoderDrawIndexedIndirect;
187
- WGPUProcRenderBundleEncoderDrawIndirect renderBundleEncoderDrawIndirect;
188
- WGPUProcRenderBundleEncoderFinish renderBundleEncoderFinish;
189
- WGPUProcRenderBundleEncoderInsertDebugMarker renderBundleEncoderInsertDebugMarker;
190
- WGPUProcRenderBundleEncoderPopDebugGroup renderBundleEncoderPopDebugGroup;
191
- WGPUProcRenderBundleEncoderPushDebugGroup renderBundleEncoderPushDebugGroup;
192
- WGPUProcRenderBundleEncoderSetBindGroup renderBundleEncoderSetBindGroup;
193
- WGPUProcRenderBundleEncoderSetImmediates renderBundleEncoderSetImmediates;
194
- WGPUProcRenderBundleEncoderSetIndexBuffer renderBundleEncoderSetIndexBuffer;
195
- WGPUProcRenderBundleEncoderSetLabel renderBundleEncoderSetLabel;
196
- WGPUProcRenderBundleEncoderSetPipeline renderBundleEncoderSetPipeline;
197
- WGPUProcRenderBundleEncoderSetResourceTable renderBundleEncoderSetResourceTable;
198
- WGPUProcRenderBundleEncoderSetVertexBuffer renderBundleEncoderSetVertexBuffer;
199
- WGPUProcRenderBundleEncoderAddRef renderBundleEncoderAddRef;
200
- WGPUProcRenderBundleEncoderRelease renderBundleEncoderRelease;
201
-
202
- WGPUProcRenderPassEncoderBeginOcclusionQuery renderPassEncoderBeginOcclusionQuery;
203
- WGPUProcRenderPassEncoderDraw renderPassEncoderDraw;
204
- WGPUProcRenderPassEncoderDrawIndexed renderPassEncoderDrawIndexed;
205
- WGPUProcRenderPassEncoderDrawIndexedIndirect renderPassEncoderDrawIndexedIndirect;
206
- WGPUProcRenderPassEncoderDrawIndirect renderPassEncoderDrawIndirect;
207
- WGPUProcRenderPassEncoderEnd renderPassEncoderEnd;
208
- WGPUProcRenderPassEncoderEndOcclusionQuery renderPassEncoderEndOcclusionQuery;
209
- WGPUProcRenderPassEncoderExecuteBundles renderPassEncoderExecuteBundles;
210
- WGPUProcRenderPassEncoderInsertDebugMarker renderPassEncoderInsertDebugMarker;
211
- WGPUProcRenderPassEncoderMultiDrawIndexedIndirect renderPassEncoderMultiDrawIndexedIndirect;
212
- WGPUProcRenderPassEncoderMultiDrawIndirect renderPassEncoderMultiDrawIndirect;
213
- WGPUProcRenderPassEncoderPixelLocalStorageBarrier renderPassEncoderPixelLocalStorageBarrier;
214
- WGPUProcRenderPassEncoderPopDebugGroup renderPassEncoderPopDebugGroup;
215
- WGPUProcRenderPassEncoderPushDebugGroup renderPassEncoderPushDebugGroup;
216
- WGPUProcRenderPassEncoderSetBindGroup renderPassEncoderSetBindGroup;
217
- WGPUProcRenderPassEncoderSetBlendConstant renderPassEncoderSetBlendConstant;
218
- WGPUProcRenderPassEncoderSetImmediates renderPassEncoderSetImmediates;
219
- WGPUProcRenderPassEncoderSetIndexBuffer renderPassEncoderSetIndexBuffer;
220
- WGPUProcRenderPassEncoderSetLabel renderPassEncoderSetLabel;
221
- WGPUProcRenderPassEncoderSetPipeline renderPassEncoderSetPipeline;
222
- WGPUProcRenderPassEncoderSetResourceTable renderPassEncoderSetResourceTable;
223
- WGPUProcRenderPassEncoderSetScissorRect renderPassEncoderSetScissorRect;
224
- WGPUProcRenderPassEncoderSetStencilReference renderPassEncoderSetStencilReference;
225
- WGPUProcRenderPassEncoderSetVertexBuffer renderPassEncoderSetVertexBuffer;
226
- WGPUProcRenderPassEncoderSetViewport renderPassEncoderSetViewport;
227
- WGPUProcRenderPassEncoderWriteTimestamp renderPassEncoderWriteTimestamp;
228
- WGPUProcRenderPassEncoderAddRef renderPassEncoderAddRef;
229
- WGPUProcRenderPassEncoderRelease renderPassEncoderRelease;
230
-
231
- WGPUProcRenderPipelineGetBindGroupLayout renderPipelineGetBindGroupLayout;
232
- WGPUProcRenderPipelineSetLabel renderPipelineSetLabel;
233
- WGPUProcRenderPipelineAddRef renderPipelineAddRef;
234
- WGPUProcRenderPipelineRelease renderPipelineRelease;
235
-
236
- WGPUProcResourceTableDestroy resourceTableDestroy;
237
- WGPUProcResourceTableGetSize resourceTableGetSize;
238
- WGPUProcResourceTableInsertBinding resourceTableInsertBinding;
239
- WGPUProcResourceTableRemoveBinding resourceTableRemoveBinding;
240
- WGPUProcResourceTableUpdate resourceTableUpdate;
241
- WGPUProcResourceTableAddRef resourceTableAddRef;
242
- WGPUProcResourceTableRelease resourceTableRelease;
243
-
244
- WGPUProcSamplerSetLabel samplerSetLabel;
245
- WGPUProcSamplerAddRef samplerAddRef;
246
- WGPUProcSamplerRelease samplerRelease;
247
-
248
- WGPUProcShaderModuleGetCompilationInfo shaderModuleGetCompilationInfo;
249
- WGPUProcShaderModuleSetLabel shaderModuleSetLabel;
250
- WGPUProcShaderModuleAddRef shaderModuleAddRef;
251
- WGPUProcShaderModuleRelease shaderModuleRelease;
252
-
253
- WGPUProcSharedBufferMemoryBeginAccess sharedBufferMemoryBeginAccess;
254
- WGPUProcSharedBufferMemoryCreateBuffer sharedBufferMemoryCreateBuffer;
255
- WGPUProcSharedBufferMemoryEndAccess sharedBufferMemoryEndAccess;
256
- WGPUProcSharedBufferMemoryGetProperties sharedBufferMemoryGetProperties;
257
- WGPUProcSharedBufferMemoryIsDeviceLost sharedBufferMemoryIsDeviceLost;
258
- WGPUProcSharedBufferMemorySetLabel sharedBufferMemorySetLabel;
259
- WGPUProcSharedBufferMemoryAddRef sharedBufferMemoryAddRef;
260
- WGPUProcSharedBufferMemoryRelease sharedBufferMemoryRelease;
261
-
262
- WGPUProcSharedBufferMemoryEndAccessStateFreeMembers sharedBufferMemoryEndAccessStateFreeMembers;
263
-
264
- WGPUProcSharedFenceExportInfo sharedFenceExportInfo;
265
- WGPUProcSharedFenceAddRef sharedFenceAddRef;
266
- WGPUProcSharedFenceRelease sharedFenceRelease;
267
-
268
- WGPUProcSharedTextureMemoryBeginAccess sharedTextureMemoryBeginAccess;
269
- WGPUProcSharedTextureMemoryCreateTexture sharedTextureMemoryCreateTexture;
270
- WGPUProcSharedTextureMemoryEndAccess sharedTextureMemoryEndAccess;
271
- WGPUProcSharedTextureMemoryGetProperties sharedTextureMemoryGetProperties;
272
- WGPUProcSharedTextureMemoryIsDeviceLost sharedTextureMemoryIsDeviceLost;
273
- WGPUProcSharedTextureMemorySetLabel sharedTextureMemorySetLabel;
274
- WGPUProcSharedTextureMemoryAddRef sharedTextureMemoryAddRef;
275
- WGPUProcSharedTextureMemoryRelease sharedTextureMemoryRelease;
276
-
277
- WGPUProcSharedTextureMemoryEndAccessStateFreeMembers sharedTextureMemoryEndAccessStateFreeMembers;
278
-
279
- WGPUProcSupportedFeaturesFreeMembers supportedFeaturesFreeMembers;
280
-
281
- WGPUProcSupportedInstanceFeaturesFreeMembers supportedInstanceFeaturesFreeMembers;
282
-
283
- WGPUProcSupportedWGSLLanguageFeaturesFreeMembers supportedWGSLLanguageFeaturesFreeMembers;
284
-
285
- WGPUProcSurfaceConfigure surfaceConfigure;
286
- WGPUProcSurfaceGetCapabilities surfaceGetCapabilities;
287
- WGPUProcSurfaceGetCurrentTexture surfaceGetCurrentTexture;
288
- WGPUProcSurfacePresent surfacePresent;
289
- WGPUProcSurfaceSetLabel surfaceSetLabel;
290
- WGPUProcSurfaceUnconfigure surfaceUnconfigure;
291
- WGPUProcSurfaceAddRef surfaceAddRef;
292
- WGPUProcSurfaceRelease surfaceRelease;
293
-
294
- WGPUProcSurfaceCapabilitiesFreeMembers surfaceCapabilitiesFreeMembers;
295
-
296
- WGPUProcTexelBufferViewSetLabel texelBufferViewSetLabel;
297
- WGPUProcTexelBufferViewAddRef texelBufferViewAddRef;
298
- WGPUProcTexelBufferViewRelease texelBufferViewRelease;
299
-
300
- WGPUProcTextureCreateErrorView textureCreateErrorView;
301
- WGPUProcTextureCreateView textureCreateView;
302
- WGPUProcTextureDestroy textureDestroy;
303
- WGPUProcTextureGetDepthOrArrayLayers textureGetDepthOrArrayLayers;
304
- WGPUProcTextureGetDimension textureGetDimension;
305
- WGPUProcTextureGetFormat textureGetFormat;
306
- WGPUProcTextureGetHeight textureGetHeight;
307
- WGPUProcTextureGetMipLevelCount textureGetMipLevelCount;
308
- WGPUProcTextureGetSampleCount textureGetSampleCount;
309
- WGPUProcTextureGetTextureBindingViewDimension textureGetTextureBindingViewDimension;
310
- WGPUProcTextureGetUsage textureGetUsage;
311
- WGPUProcTextureGetWidth textureGetWidth;
312
- WGPUProcTexturePin texturePin;
313
- WGPUProcTextureSetLabel textureSetLabel;
314
- WGPUProcTextureSetOwnershipForMemoryDump textureSetOwnershipForMemoryDump;
315
- WGPUProcTextureUnpin textureUnpin;
316
- WGPUProcTextureAddRef textureAddRef;
317
- WGPUProcTextureRelease textureRelease;
318
-
319
- WGPUProcTextureViewSetLabel textureViewSetLabel;
320
- WGPUProcTextureViewAddRef textureViewAddRef;
321
- WGPUProcTextureViewRelease textureViewRelease;
322
-
323
-
324
- } DawnProcTable;
325
-
326
- #endif // DAWN_DAWN_PROC_TABLE_H_