@shopify/react-native-skia 2.11.0-next.2 → 2.12.0-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 (328) hide show
  1. package/cpp/api/recorder/Convertor.h +57 -9
  2. package/cpp/api/third_party/SkottieUtils.cpp +1 -1
  3. package/cpp/dawn/include/dawn/dawn_proc_table.h +4 -4
  4. package/cpp/dawn/include/dawn/dawn_version.h +1 -1
  5. package/cpp/dawn/include/dawn/native/D3D12Backend.h +18 -1
  6. package/cpp/dawn/include/dawn/native/DawnNative.h +1 -2
  7. package/cpp/dawn/include/dawn/platform/DawnPlatform.h +8 -11
  8. package/cpp/dawn/include/dawn/webgpu_cpp_print.h +91 -79
  9. package/cpp/dawn/include/tint/tint.h +1 -0
  10. package/cpp/dawn/include/webgpu/webgpu.h +86 -44
  11. package/cpp/dawn/include/webgpu/webgpu_cpp.h +556 -283
  12. package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +1 -1
  13. package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +2 -1
  14. package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +0 -2
  15. package/cpp/skia/include/android/vk/AndroidVulkanMemoryAllocator.h +1 -1
  16. package/cpp/skia/include/codec/SkAndroidCodec.h +1 -1
  17. package/cpp/skia/include/codec/SkAvifDecoder.h +1 -1
  18. package/cpp/skia/include/codec/SkBmpDecoder.h +1 -1
  19. package/cpp/skia/include/codec/SkBmpRustDecoder.h +42 -0
  20. package/cpp/skia/include/codec/SkCodec.h +3 -2
  21. package/cpp/skia/include/codec/SkGifDecoder.h +1 -1
  22. package/cpp/skia/include/codec/SkIcoDecoder.h +1 -1
  23. package/cpp/skia/include/codec/SkJpegDecoder.h +1 -1
  24. package/cpp/skia/include/codec/SkJpegxlDecoder.h +1 -1
  25. package/cpp/skia/include/codec/SkPixmapUtils.h +1 -1
  26. package/cpp/skia/include/codec/SkPngDecoder.h +1 -1
  27. package/cpp/skia/include/codec/SkPngRustDecoder.h +1 -1
  28. package/cpp/skia/include/codec/SkRawDecoder.h +1 -1
  29. package/cpp/skia/include/codec/SkWbmpDecoder.h +1 -1
  30. package/cpp/skia/include/codec/SkWebpDecoder.h +1 -1
  31. package/cpp/skia/include/core/SkBitmap.h +3 -3
  32. package/cpp/skia/include/core/SkCPUContext.h +1 -1
  33. package/cpp/skia/include/core/SkCPURecorder.h +2 -3
  34. package/cpp/skia/include/core/SkCanvas.h +23 -15
  35. package/cpp/skia/include/core/SkColor.h +2 -2
  36. package/cpp/skia/include/core/SkColorFilter.h +1 -1
  37. package/cpp/skia/include/core/SkColorSpace.h +2 -2
  38. package/cpp/skia/include/core/SkColorTable.h +1 -1
  39. package/cpp/skia/include/core/SkContourMeasure.h +1 -1
  40. package/cpp/skia/include/core/SkData.h +1 -1
  41. package/cpp/skia/include/core/SkDataTable.h +2 -2
  42. package/cpp/skia/include/core/SkDocument.h +1 -1
  43. package/cpp/skia/include/core/SkDrawable.h +1 -1
  44. package/cpp/skia/include/core/SkFont.h +2 -2
  45. package/cpp/skia/include/core/SkFontMetrics.h +1 -1
  46. package/cpp/skia/include/core/SkFontMgr.h +1 -1
  47. package/cpp/skia/include/core/SkFontScanner.h +3 -3
  48. package/cpp/skia/include/core/SkFontStyle.h +1 -1
  49. package/cpp/skia/include/core/SkGraphics.h +1 -1
  50. package/cpp/skia/include/core/SkImage.h +1 -1
  51. package/cpp/skia/include/core/SkImageFilter.h +1 -1
  52. package/cpp/skia/include/core/SkImageGenerator.h +1 -1
  53. package/cpp/skia/include/core/SkImageInfo.h +4 -4
  54. package/cpp/skia/include/core/SkMatrix.h +3 -3
  55. package/cpp/skia/include/core/SkMesh.h +2 -2
  56. package/cpp/skia/include/core/SkMilestone.h +1 -1
  57. package/cpp/skia/include/core/SkOverdrawCanvas.h +1 -1
  58. package/cpp/skia/include/core/SkPaint.h +4 -4
  59. package/cpp/skia/include/core/SkPath.h +5 -23
  60. package/cpp/skia/include/core/SkPathBuilder.h +4 -2
  61. package/cpp/skia/include/core/SkPathMeasure.h +1 -1
  62. package/cpp/skia/include/core/SkPictureRecorder.h +1 -1
  63. package/cpp/skia/include/core/SkPixelRef.h +3 -5
  64. package/cpp/skia/include/core/SkPixmap.h +7 -2
  65. package/cpp/skia/include/core/SkPoint.h +555 -5
  66. package/cpp/skia/include/core/SkPoint3.h +2 -2
  67. package/cpp/skia/include/core/SkRRect.h +9 -1
  68. package/cpp/skia/include/core/SkRSXform.h +1 -1
  69. package/cpp/skia/include/core/SkRecorder.h +2 -3
  70. package/cpp/skia/include/core/SkRect.h +3 -3
  71. package/cpp/skia/include/core/SkRefCnt.h +1 -1
  72. package/cpp/skia/include/core/SkRegion.h +4 -4
  73. package/cpp/skia/include/core/SkScalar.h +2 -3
  74. package/cpp/skia/include/core/SkSerialProcs.h +1 -1
  75. package/cpp/skia/include/core/SkShader.h +1 -1
  76. package/cpp/skia/include/core/SkSize.h +1 -1
  77. package/cpp/skia/include/core/SkSpan.h +165 -4
  78. package/cpp/skia/include/core/SkStream.h +2 -2
  79. package/cpp/skia/include/core/SkStrikeRef.h +16 -0
  80. package/cpp/skia/include/core/SkString.h +2 -2
  81. package/cpp/skia/include/core/SkStrokeRec.h +1 -1
  82. package/cpp/skia/include/core/SkSurfaceProps.h +1 -1
  83. package/cpp/skia/include/core/SkSwizzle.h +1 -1
  84. package/cpp/skia/include/core/SkTextBlob.h +2 -2
  85. package/cpp/skia/include/core/SkTiledImageUtils.h +1 -1
  86. package/cpp/skia/include/core/SkTypeface.h +8 -2
  87. package/cpp/skia/include/core/SkTypes.h +6 -6
  88. package/cpp/skia/include/core/SkUnPreMultiply.h +1 -1
  89. package/cpp/skia/include/core/SkVertices.h +1 -1
  90. package/cpp/skia/include/core/SkYUVAPixmaps.h +1 -1
  91. package/cpp/skia/include/docs/SkPDFDocument.h +9 -3
  92. package/cpp/skia/include/effects/SkGradient.h +1 -1
  93. package/cpp/skia/include/effects/SkPerlinNoiseShader.h +1 -1
  94. package/cpp/skia/include/effects/SkRuntimeEffect.h +4 -4
  95. package/cpp/skia/include/encode/SkEncoder.h +3 -3
  96. package/cpp/skia/include/encode/SkICC.h +1 -1
  97. package/cpp/skia/include/encode/SkJpegEncoder.h +1 -1
  98. package/cpp/skia/include/encode/SkPngEncoder.h +1 -1
  99. package/cpp/skia/include/encode/SkPngRustEncoder.h +16 -1
  100. package/cpp/skia/include/encode/SkWebpEncoder.h +1 -1
  101. package/cpp/skia/include/gpu/GpuTypes.h +1 -1
  102. package/cpp/skia/include/gpu/MutableTextureState.h +1 -1
  103. package/cpp/skia/include/gpu/ganesh/GrBackendSemaphore.h +2 -2
  104. package/cpp/skia/include/gpu/ganesh/GrBackendSurface.h +3 -3
  105. package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkaroundsAutogen.h +39 -37
  106. package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +1 -1
  107. package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +3 -2
  108. package/cpp/skia/include/gpu/ganesh/GrTypes.h +1 -1
  109. package/cpp/skia/include/gpu/ganesh/SkImageGanesh.h +1 -1
  110. package/cpp/skia/include/gpu/ganesh/SkMeshGanesh.h +1 -1
  111. package/cpp/skia/include/gpu/ganesh/SkSurfaceGanesh.h +1 -1
  112. package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSemaphore.h +1 -1
  113. package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSurface.h +1 -1
  114. package/cpp/skia/include/gpu/ganesh/d3d/GrD3DDirectContext.h +1 -1
  115. package/cpp/skia/include/gpu/ganesh/gl/GrGLAssembleInterface.h +1 -1
  116. package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +1 -1
  117. package/cpp/skia/include/gpu/ganesh/gl/GrGLConfig.h +1 -1
  118. package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +1 -1
  119. package/cpp/skia/include/gpu/ganesh/gl/GrGLExtensions.h +2 -2
  120. package/cpp/skia/include/gpu/ganesh/gl/GrGLFunctions.h +1 -1
  121. package/cpp/skia/include/gpu/ganesh/gl/GrGLMakeWebGLInterface.h +1 -1
  122. package/cpp/skia/include/gpu/ganesh/gl/epoxy/GrGLMakeEpoxyEGLInterface.h +1 -1
  123. package/cpp/skia/include/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.h +1 -1
  124. package/cpp/skia/include/gpu/ganesh/gl/ios/GrGLMakeIOSInterface.h +1 -1
  125. package/cpp/skia/include/gpu/ganesh/gl/mac/GrGLMakeMacInterface.h +1 -1
  126. package/cpp/skia/include/gpu/ganesh/gl/win/GrGLMakeWinInterface.h +1 -1
  127. package/cpp/skia/include/gpu/ganesh/mock/GrMockBackendSurface.h +1 -1
  128. package/cpp/skia/include/gpu/ganesh/mock/GrMockTypes.h +1 -1
  129. package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSemaphore.h +1 -1
  130. package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSurface.h +1 -1
  131. package/cpp/skia/include/gpu/ganesh/mtl/GrMtlDirectContext.h +1 -1
  132. package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +1 -1
  133. package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +1 -1
  134. package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +1 -1
  135. package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +2 -2
  136. package/cpp/skia/include/gpu/graphite/BackendTexture.h +2 -2
  137. package/cpp/skia/include/gpu/graphite/Context.h +3 -3
  138. package/cpp/skia/include/gpu/graphite/ContextOptions.h +8 -2
  139. package/cpp/skia/include/gpu/graphite/PersistentPipelineStorage.h +1 -1
  140. package/cpp/skia/include/gpu/graphite/PrecompileContext.h +16 -2
  141. package/cpp/skia/include/gpu/graphite/Recorder.h +8 -7
  142. package/cpp/skia/include/gpu/graphite/Recording.h +6 -4
  143. package/cpp/skia/include/gpu/graphite/TextureInfo.h +2 -2
  144. package/cpp/skia/include/gpu/graphite/dawn/DawnGraphiteTypes.h +1 -1
  145. package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +1 -1
  146. package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +1 -1
  147. package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes_cpp.h +1 -1
  148. package/cpp/skia/include/gpu/graphite/precompile/PaintOptions.h +2 -2
  149. package/cpp/skia/include/gpu/graphite/precompile/PrecompileImageFilter.h +1 -1
  150. package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteContext.h +1 -1
  151. package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +1 -1
  152. package/cpp/skia/include/gpu/vk/VulkanExtensions.h +3 -3
  153. package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +1 -1
  154. package/cpp/skia/include/gpu/vk/VulkanPreferredFeatures.h +1 -1
  155. package/cpp/skia/include/gpu/vk/VulkanTypes.h +1 -1
  156. package/cpp/skia/include/pathops/SkPathOps.h +2 -2
  157. package/cpp/skia/include/ports/SkImageGeneratorCG.h +2 -2
  158. package/cpp/skia/include/ports/SkImageGeneratorWIC.h +2 -2
  159. package/cpp/skia/include/private/{base/SingleOwner.h → SingleOwner.h} +5 -5
  160. package/cpp/skia/include/private/{base/SkAPI.h → SkAPI.h} +1 -1
  161. package/cpp/skia/include/private/{base/SkAlign.h → SkAlign.h} +1 -1
  162. package/cpp/skia/include/private/{base/SkAnySubclass.h → SkAnySubclass.h} +1 -1
  163. package/cpp/skia/include/private/{base/SkAssert.h → SkAssert.h} +4 -4
  164. package/cpp/skia/include/private/{base/SkAttributes.h → SkAttributes.h} +2 -2
  165. package/cpp/skia/include/private/{base/SkContainers.h → SkContainers.h} +3 -3
  166. package/cpp/skia/include/private/{base/SkDebug.h → SkDebug.h} +3 -3
  167. package/cpp/skia/include/private/{base/SkDeque.h → SkDeque.h} +1 -1
  168. package/cpp/skia/include/private/SkEncodedInfo.h +2 -2
  169. package/cpp/skia/include/private/SkEnumBitMask.h +92 -0
  170. package/cpp/skia/include/private/SkExif.h +1 -1
  171. package/cpp/skia/include/private/{base/SkFixed.h → SkFixed.h} +4 -4
  172. package/cpp/skia/include/private/{base/SkFloatingPoint.h → SkFloatingPoint.h} +2 -2
  173. package/cpp/skia/include/private/SkGainmapShader.h +1 -1
  174. package/cpp/skia/include/private/SkHdrMetadata.h +1 -1
  175. package/cpp/skia/include/private/SkIDChangeListener.h +3 -3
  176. package/cpp/skia/include/private/{base/SkLoadUserConfig.h → SkLoadUserConfig.h} +2 -2
  177. package/cpp/skia/include/private/{base/SkLog.h → SkLog.h} +4 -4
  178. package/cpp/skia/include/private/{base/SkMacros.h → SkMacros.h} +1 -1
  179. package/cpp/skia/include/private/{base/SkMalloc.h → SkMalloc.h} +1 -1
  180. package/cpp/skia/include/private/{base/SkMath.h → SkMath.h} +2 -2
  181. package/cpp/skia/include/private/{base/SkMutex.h → SkMutex.h} +5 -5
  182. package/cpp/skia/include/private/{base/SkNoncopyable.h → SkNoncopyable.h} +1 -1
  183. package/cpp/skia/include/private/{base/SkOnce.h → SkOnce.h} +1 -1
  184. package/cpp/skia/include/private/SkPathRef.h +4 -4
  185. package/cpp/skia/include/private/SkPixelStorage.h +20 -5
  186. package/cpp/skia/include/private/{base/SkSafe32.h → SkSafe32.h} +2 -2
  187. package/cpp/skia/include/private/{base/SkSemaphore.h → SkSemaphore.h} +3 -3
  188. package/cpp/skia/include/private/{base/SkTArray.h → SkTArray.h} +10 -11
  189. package/cpp/skia/include/private/{base/SkTDArray.h → SkTDArray.h} +4 -4
  190. package/cpp/skia/include/private/{base/SkTFitsIn.h → SkTFitsIn.h} +0 -2
  191. package/cpp/skia/include/private/{base/SkTLogic.h → SkTLogic.h} +1 -1
  192. package/cpp/skia/include/private/{base/SkTemplates.h → SkTemplates.h} +5 -6
  193. package/cpp/skia/include/private/{base/SkThreadAnnotations.h → SkThreadAnnotations.h} +1 -1
  194. package/cpp/skia/include/private/{base/SkThreadID.h → SkThreadID.h} +2 -2
  195. package/cpp/skia/include/private/{base/SkTo.h → SkTo.h} +2 -2
  196. package/cpp/skia/include/private/{base/SkTypeTraits.h → SkTypeTraits.h} +20 -0
  197. package/cpp/skia/include/private/SkXmp.h +1 -1
  198. package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +1 -1
  199. package/cpp/skia/include/private/chromium/GrSurfaceCharacterization.h +1 -1
  200. package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +1 -1
  201. package/cpp/skia/include/private/chromium/SkCodecsICCProfileChromium.h +1 -1
  202. package/cpp/skia/include/private/chromium/SkExifChromium.h +1 -1
  203. package/cpp/skia/include/private/chromium/SkImageChromium.h +1 -1
  204. package/cpp/skia/include/private/chromium/SkPMColor.h +1 -1
  205. package/cpp/skia/include/private/chromium/Slug.h +1 -1
  206. package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +1 -1
  207. package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +2 -2
  208. package/cpp/skia/include/private/gpu/ganesh/GrTextureGenerator.h +1 -1
  209. package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +4 -4
  210. package/cpp/skia/include/utils/SkCamera.h +1 -1
  211. package/cpp/skia/include/utils/SkNWayCanvas.h +1 -1
  212. package/cpp/skia/include/utils/SkPaintFilterCanvas.h +1 -1
  213. package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +6 -6
  214. package/cpp/skia/modules/jsonreader/SkJSONReader.h +2 -2
  215. package/cpp/skia/modules/skottie/include/SkottieProperty.h +1 -1
  216. package/cpp/skia/modules/skottie/include/SlotManager.h +2 -2
  217. package/cpp/skia/modules/skottie/include/TextShaper.h +1 -1
  218. package/cpp/skia/modules/skottie/src/text/Font.h +1 -1
  219. package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +1 -1
  220. package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +1 -1
  221. package/cpp/skia/modules/skresources/include/SkResources.h +1 -1
  222. package/cpp/skia/modules/sksg/include/SkSGNode.h +1 -1
  223. package/cpp/skia/modules/sksg/include/SkSGRect.h +1 -1
  224. package/cpp/skia/modules/sksg/include/SkSGRenderEffect.h +1 -1
  225. package/cpp/skia/modules/skunicode/include/SkUnicode.h +3 -3
  226. package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +1 -1
  227. package/cpp/skia/modules/svg/include/SkSVGCircle.h +1 -1
  228. package/cpp/skia/modules/svg/include/SkSVGClipPath.h +1 -1
  229. package/cpp/skia/modules/svg/include/SkSVGContainer.h +2 -2
  230. package/cpp/skia/modules/svg/include/SkSVGDOM.h +1 -1
  231. package/cpp/skia/modules/svg/include/SkSVGEllipse.h +1 -1
  232. package/cpp/skia/modules/svg/include/SkSVGFe.h +1 -1
  233. package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +1 -1
  234. package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +1 -1
  235. package/cpp/skia/modules/svg/include/SkSVGFeComponentTransfer.h +1 -1
  236. package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +1 -1
  237. package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +1 -1
  238. package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +1 -1
  239. package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +1 -1
  240. package/cpp/skia/modules/svg/include/SkSVGFeImage.h +1 -1
  241. package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +2 -2
  242. package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +1 -1
  243. package/cpp/skia/modules/svg/include/SkSVGFeMerge.h +1 -1
  244. package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +1 -1
  245. package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +1 -1
  246. package/cpp/skia/modules/svg/include/SkSVGFilter.h +1 -1
  247. package/cpp/skia/modules/svg/include/SkSVGGradient.h +2 -2
  248. package/cpp/skia/modules/svg/include/SkSVGImage.h +2 -2
  249. package/cpp/skia/modules/svg/include/SkSVGLine.h +1 -1
  250. package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +1 -1
  251. package/cpp/skia/modules/svg/include/SkSVGMask.h +1 -1
  252. package/cpp/skia/modules/svg/include/SkSVGNode.h +1 -1
  253. package/cpp/skia/modules/svg/include/SkSVGPath.h +1 -1
  254. package/cpp/skia/modules/svg/include/SkSVGPattern.h +1 -1
  255. package/cpp/skia/modules/svg/include/SkSVGPoly.h +1 -1
  256. package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +1 -1
  257. package/cpp/skia/modules/svg/include/SkSVGRect.h +1 -1
  258. package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +1 -1
  259. package/cpp/skia/modules/svg/include/SkSVGSVG.h +1 -1
  260. package/cpp/skia/modules/svg/include/SkSVGShape.h +1 -1
  261. package/cpp/skia/modules/svg/include/SkSVGStop.h +1 -1
  262. package/cpp/skia/modules/svg/include/SkSVGText.h +1 -1
  263. package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +1 -1
  264. package/cpp/skia/modules/svg/include/SkSVGUse.h +1 -1
  265. package/cpp/skia/modules/svg/include/SkSVGValue.h +1 -1
  266. package/cpp/skia/src/{base → core}/SkArenaAlloc.h +5 -5
  267. package/cpp/skia/src/{base → core}/SkAutoLocaleSetter.h +1 -1
  268. package/cpp/skia/src/core/SkChecksum.h +1 -1
  269. package/cpp/skia/src/core/SkLRUCache.h +1 -1
  270. package/cpp/skia/src/{base → core}/SkMathPriv.h +3 -3
  271. package/cpp/skia/src/core/SkTHash.h +1 -1
  272. package/cpp/skia/src/{base → core}/SkTInternalLList.h +3 -3
  273. package/cpp/skia/src/{base → core}/SkTLazy.h +1 -1
  274. package/cpp/skia/src/{base → core}/SkUTF.h +1 -1
  275. package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +1 -1
  276. package/cpp/skia/src/gpu/graphite/ResourceTypes.h +3 -3
  277. package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +27 -1
  278. package/lib/commonjs/renderer/processors/Animations/Animations.js +28 -0
  279. package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -1
  280. package/lib/commonjs/sksg/Recorder/Core.js +8 -1
  281. package/lib/commonjs/sksg/Recorder/Core.js.map +1 -1
  282. package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js +8 -0
  283. package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
  284. package/lib/commonjs/sksg/Recorder/Recorder.d.ts +1 -1
  285. package/lib/commonjs/sksg/Recorder/Recorder.js +4 -0
  286. package/lib/commonjs/sksg/Recorder/Recorder.js.map +1 -1
  287. package/lib/commonjs/sksg/utils.d.ts +4 -0
  288. package/lib/commonjs/sksg/utils.js +14 -1
  289. package/lib/commonjs/sksg/utils.js.map +1 -1
  290. package/lib/module/renderer/processors/Animations/Animations.d.ts +27 -1
  291. package/lib/module/renderer/processors/Animations/Animations.js +21 -0
  292. package/lib/module/renderer/processors/Animations/Animations.js.map +1 -1
  293. package/lib/module/sksg/Recorder/Core.js +8 -1
  294. package/lib/module/sksg/Recorder/Core.js.map +1 -1
  295. package/lib/module/sksg/Recorder/ReanimatedRecorder.js +9 -1
  296. package/lib/module/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
  297. package/lib/module/sksg/Recorder/Recorder.d.ts +1 -1
  298. package/lib/module/sksg/Recorder/Recorder.js +5 -1
  299. package/lib/module/sksg/Recorder/Recorder.js.map +1 -1
  300. package/lib/module/sksg/utils.d.ts +4 -0
  301. package/lib/module/sksg/utils.js +12 -0
  302. package/lib/module/sksg/utils.js.map +1 -1
  303. package/lib/typescript/lib/commonjs/renderer/processors/Animations/Animations.d.ts +22 -0
  304. package/lib/typescript/lib/commonjs/sksg/utils.d.ts +1 -0
  305. package/lib/typescript/lib/module/mock/index.d.ts +4 -0
  306. package/lib/typescript/lib/module/renderer/processors/Animations/Animations.d.ts +4 -0
  307. package/lib/typescript/lib/module/renderer/processors/Animations/index.d.ts +1 -1
  308. package/lib/typescript/lib/module/sksg/utils.d.ts +1 -0
  309. package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +27 -1
  310. package/lib/typescript/src/sksg/Recorder/Recorder.d.ts +1 -1
  311. package/lib/typescript/src/sksg/utils.d.ts +4 -0
  312. package/libs/.graphite +1 -1
  313. package/package.json +7 -7
  314. package/src/renderer/processors/Animations/Animations.ts +34 -1
  315. package/src/sksg/Recorder/Core.ts +11 -1
  316. package/src/sksg/Recorder/ReanimatedRecorder.ts +10 -1
  317. package/src/sksg/Recorder/Recorder.ts +7 -3
  318. package/src/sksg/utils.ts +18 -0
  319. package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteUtils.h +0 -10
  320. package/cpp/skia/include/private/base/README.md +0 -4
  321. package/cpp/skia/include/private/base/SkPoint_impl.h +0 -560
  322. package/cpp/skia/include/private/base/SkSpan_impl.h +0 -158
  323. /package/cpp/skia/include/private/{base/SkASAN.h → SkASAN.h} +0 -0
  324. /package/cpp/skia/include/private/{base/SkAlignedStorage.h → SkAlignedStorage.h} +0 -0
  325. /package/cpp/skia/include/private/{base/SkCPUTypes.h → SkCPUTypes.h} +0 -0
  326. /package/cpp/skia/include/private/{base/SkFeatures.h → SkFeatures.h} +0 -0
  327. /package/cpp/skia/include/private/{base/SkLogPriority.h → SkLogPriority.h} +0 -0
  328. /package/cpp/skia/include/private/{base/SkTPin.h → SkTPin.h} +0 -0
@@ -35,6 +35,7 @@
35
35
  // headers will need to be moved to include/tint/.
36
36
 
37
37
  #include "src/tint/api/common/binding_point.h" // IWYU pragma: export
38
+ #include "src/tint/api/common/bindings.h" // IWYU pragma: export
38
39
  #include "src/tint/api/common/resource_type.h" // IWYU pragma: export
39
40
  #include "src/tint/api/common/subgroup_matrix.h" // IWYU pragma: export
40
41
  #include "src/tint/api/common/substitute_overrides_config.h" // IWYU pragma: export
@@ -28,7 +28,7 @@
28
28
  // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
29
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
30
  #ifdef __EMSCRIPTEN__
31
- #error "Do not include this header. Emscripten already provides headers needed for WebGPU."
31
+ #error "Do not include this header. Use the headers provided by Emdawnwebgpu instead."
32
32
  #endif
33
33
 
34
34
  #ifndef WEBGPU_H_
@@ -214,8 +214,8 @@ struct WGPUShaderModuleCompilationOptions;
214
214
  struct WGPUShaderSourceSPIRV;
215
215
  struct WGPUShaderSourceWGSL;
216
216
  struct WGPUSharedBufferMemoryBeginAccessDescriptor;
217
- struct WGPUSharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor;
218
217
  struct WGPUSharedBufferMemoryEndAccessState;
218
+ struct WGPUSharedBufferMemoryFromWindowsHandleDescriptor;
219
219
  struct WGPUSharedBufferMemoryProperties;
220
220
  struct WGPUSharedFenceDXGISharedHandleDescriptor;
221
221
  struct WGPUSharedFenceDXGISharedHandleExportInfo;
@@ -332,6 +332,8 @@ struct WGPUBufferMapCallbackInfo;
332
332
  struct WGPUCompilationInfoCallbackInfo;
333
333
  struct WGPUCreateComputePipelineAsyncCallbackInfo;
334
334
  struct WGPUCreateRenderPipelineAsyncCallbackInfo;
335
+ struct WGPUDawnLoadCacheDataCallbackInfo;
336
+ struct WGPUDawnStoreCacheDataCallbackInfo;
335
337
  struct WGPUDeviceLostCallbackInfo;
336
338
  struct WGPULoggingCallbackInfo;
337
339
  struct WGPUPopErrorScopeCallbackInfo;
@@ -340,6 +342,8 @@ struct WGPURequestAdapterCallbackInfo;
340
342
  struct WGPURequestDeviceCallbackInfo;
341
343
  struct WGPUUncapturedErrorCallbackInfo;
342
344
 
345
+ // NOLINTBEGIN(cppcoreguidelines-use-enum-class)
346
+
343
347
  typedef enum WGPUAdapterType {
344
348
  WGPUAdapterType_DiscreteGPU = 0x00000001,
345
349
  WGPUAdapterType_IntegratedGPU = 0x00000002,
@@ -589,6 +593,7 @@ typedef enum WGPUFeatureName {
589
593
  WGPUFeatureName_TextureFormatsTier2 = 0x00000014,
590
594
  WGPUFeatureName_PrimitiveIndex = 0x00000015,
591
595
  WGPUFeatureName_TextureComponentSwizzle = 0x00000016,
596
+ WGPUFeatureName_SubgroupSizeControl = 0x00000017,
592
597
  WGPUFeatureName_DawnInternalUsages = 0x00050000,
593
598
  WGPUFeatureName_DawnMultiPlanarFormats = 0x00050001,
594
599
  WGPUFeatureName_DawnNative = 0x00050002,
@@ -644,16 +649,17 @@ typedef enum WGPUFeatureName {
644
649
  WGPUFeatureName_SharedFenceEGLSync = 0x00050035,
645
650
  WGPUFeatureName_DawnDeviceAllocatorControl = 0x00050036,
646
651
  WGPUFeatureName_AdapterPropertiesWGPU = 0x00050037,
647
- WGPUFeatureName_SharedBufferMemoryD3D12SharedMemoryFileMappingHandle = 0x00050038,
652
+ WGPUFeatureName_SharedBufferMemoryFromWindowsHandle = 0x00050038,
648
653
  WGPUFeatureName_SharedTextureMemoryD3D12Resource = 0x00050039,
649
654
  WGPUFeatureName_ChromiumExperimentalSamplingResourceTable = 0x0005003A,
650
- WGPUFeatureName_SubgroupSizeControl = 0x0005003B,
651
- WGPUFeatureName_AtomicVec2uMinMax = 0x0005003C,
652
- WGPUFeatureName_Unorm16FormatsForExternalTexture = 0x0005003D,
653
- WGPUFeatureName_OpaqueYCbCrAndroidForExternalTexture = 0x0005003E,
654
- WGPUFeatureName_Unorm16Filterable = 0x0005003F,
655
- WGPUFeatureName_RenderPassRenderArea = 0x00050040,
656
- WGPUFeatureName_AdapterPropertiesDrm = 0x00050041,
655
+ WGPUFeatureName_AtomicVec2uMinMax = 0x0005003B,
656
+ WGPUFeatureName_Unorm16FormatsForExternalTexture = 0x0005003C,
657
+ WGPUFeatureName_OpaqueYCbCrAndroidForExternalTexture = 0x0005003D,
658
+ WGPUFeatureName_Unorm16Filterable = 0x0005003E,
659
+ WGPUFeatureName_RenderPassRenderArea = 0x0005003F,
660
+ WGPUFeatureName_AdapterPropertiesDrm = 0x00050040,
661
+ WGPUFeatureName_TextureCompressionUnaligned = 0x00050041,
662
+ WGPUFeatureName_DawnAllowUndefinedLoadStoreOp = 0x00050042,
657
663
  WGPUFeatureName_Force32 = 0x7FFFFFFF
658
664
  } WGPUFeatureName WGPU_ENUM_ATTRIBUTE;
659
665
 
@@ -742,6 +748,7 @@ typedef enum WGPUPredefinedColorSpace {
742
748
  WGPUPredefinedColorSpace_DisplayP3 = 0x00000002,
743
749
  WGPUPredefinedColorSpace_SRGBLinear = 0x00050003,
744
750
  WGPUPredefinedColorSpace_DisplayP3Linear = 0x00050004,
751
+ WGPUPredefinedColorSpace_Rec2020Linear = 0x00050005,
745
752
  WGPUPredefinedColorSpace_Force32 = 0x7FFFFFFF
746
753
  } WGPUPredefinedColorSpace WGPU_ENUM_ATTRIBUTE;
747
754
 
@@ -938,7 +945,7 @@ typedef enum WGPUSType {
938
945
  WGPUSType_TexelBufferBindingLayout = 0x0005004A,
939
946
  WGPUSType_SharedTextureMemoryMetalEndAccessState = 0x0005004B,
940
947
  WGPUSType_AdapterPropertiesWGPU = 0x0005004C,
941
- WGPUSType_SharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor = 0x0005004D,
948
+ WGPUSType_SharedBufferMemoryFromWindowsHandleDescriptor = 0x0005004D,
942
949
  WGPUSType_SharedTextureMemoryD3D12ResourceDescriptor = 0x0005004E,
943
950
  WGPUSType_RequestAdapterOptionsAngleVirtualizationGroup = 0x0005004F,
944
951
  WGPUSType_PipelineLayoutResourceTable = 0x00050050,
@@ -1176,6 +1183,7 @@ typedef enum WGPUVertexFormat {
1176
1183
  WGPUVertexFormat_Sint32x4 = 0x00000027,
1177
1184
  WGPUVertexFormat_Unorm10_10_10_2 = 0x00000028,
1178
1185
  WGPUVertexFormat_Unorm8x4BGRA = 0x00000029,
1186
+ WGPUVertexFormat_Snorm10_10_10_2 = 0x0000002A,
1179
1187
  WGPUVertexFormat_Force32 = 0x7FFFFFFF
1180
1188
  } WGPUVertexFormat WGPU_ENUM_ATTRIBUTE;
1181
1189
 
@@ -1204,6 +1212,7 @@ typedef enum WGPUWGSLLanguageFeatureName {
1204
1212
  WGPUWGSLLanguageFeatureName_SubgroupUniformity = 0x00000008,
1205
1213
  WGPUWGSLLanguageFeatureName_TextureFormatsTier1 = 0x00000009,
1206
1214
  WGPUWGSLLanguageFeatureName_LinearIndexing = 0x0000000A,
1215
+ WGPUWGSLLanguageFeatureName_ImmediateAddressSpace = 0x0000000B,
1207
1216
  WGPUWGSLLanguageFeatureName_ChromiumTestingUnimplemented = 0x00050000,
1208
1217
  WGPUWGSLLanguageFeatureName_ChromiumTestingUnsafeExperimental = 0x00050001,
1209
1218
  WGPUWGSLLanguageFeatureName_ChromiumTestingExperimental = 0x00050002,
@@ -1213,12 +1222,13 @@ typedef enum WGPUWGSLLanguageFeatureName {
1213
1222
  WGPUWGSLLanguageFeatureName_TexelBuffers = 0x00050006,
1214
1223
  WGPUWGSLLanguageFeatureName_ChromiumPrint = 0x00050007,
1215
1224
  WGPUWGSLLanguageFeatureName_FragmentDepth = 0x00050008,
1216
- WGPUWGSLLanguageFeatureName_ImmediateAddressSpace = 0x00050009,
1217
- WGPUWGSLLanguageFeatureName_BufferView = 0x0005000B,
1218
- WGPUWGSLLanguageFeatureName_SwizzleAssignment = 0x0005000C,
1225
+ WGPUWGSLLanguageFeatureName_BufferView = 0x00050009,
1226
+ WGPUWGSLLanguageFeatureName_SwizzleAssignment = 0x0005000A,
1219
1227
  WGPUWGSLLanguageFeatureName_Force32 = 0x7FFFFFFF
1220
1228
  } WGPUWGSLLanguageFeatureName WGPU_ENUM_ATTRIBUTE;
1221
1229
 
1230
+ // NOLINTEND(cppcoreguidelines-use-enum-class)
1231
+
1222
1232
  typedef WGPUFlags WGPUBufferUsage;
1223
1233
  static const WGPUBufferUsage WGPUBufferUsage_None = 0x0000000000000000;
1224
1234
  static const WGPUBufferUsage WGPUBufferUsage_MapRead = 0x0000000000000001;
@@ -1284,6 +1294,10 @@ typedef void (*WGPUCreateComputePipelineAsyncCallback)(WGPUCreatePipelineAsyncSt
1284
1294
 
1285
1295
  typedef void (*WGPUCreateRenderPipelineAsyncCallback)(WGPUCreatePipelineAsyncStatus status, WGPURenderPipeline pipeline, WGPUStringView message, WGPU_NULLABLE void* userdata1, WGPU_NULLABLE void* userdata2) WGPU_FUNCTION_ATTRIBUTE;
1286
1296
 
1297
+ typedef size_t (*WGPUDawnLoadCacheDataCallback)(size_t keySize, uint8_t const * key, size_t valueSize, uint8_t * value, WGPU_NULLABLE void* userdata1, WGPU_NULLABLE void* userdata2) WGPU_FUNCTION_ATTRIBUTE;
1298
+
1299
+ typedef void (*WGPUDawnStoreCacheDataCallback)(size_t keySize, uint8_t const * key, size_t valueSize, uint8_t const * value, WGPU_NULLABLE void* userdata1, WGPU_NULLABLE void* userdata2) WGPU_FUNCTION_ATTRIBUTE;
1300
+
1287
1301
  typedef void (*WGPUDeviceLostCallback)(WGPUDevice const * device, WGPUDeviceLostReason reason, WGPUStringView message, WGPU_NULLABLE void* userdata1, WGPU_NULLABLE void* userdata2) WGPU_FUNCTION_ATTRIBUTE;
1288
1302
 
1289
1303
  typedef void (*WGPULoggingCallback)(WGPULoggingType type, WGPUStringView message, WGPU_NULLABLE void* userdata1, WGPU_NULLABLE void* userdata2) WGPU_FUNCTION_ATTRIBUTE;
@@ -1367,6 +1381,34 @@ typedef struct WGPUCreateRenderPipelineAsyncCallbackInfo {
1367
1381
  /*.userdata2=*/NULL _wgpu_COMMA \
1368
1382
  })
1369
1383
 
1384
+ typedef struct WGPUDawnLoadCacheDataCallbackInfo {
1385
+ WGPUChainedStruct * nextInChain;
1386
+ WGPUDawnLoadCacheDataCallback callback;
1387
+ WGPU_NULLABLE void* userdata1;
1388
+ WGPU_NULLABLE void* userdata2;
1389
+ } WGPUDawnLoadCacheDataCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1390
+
1391
+ #define WGPU_DAWN_LOAD_CACHE_DATA_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDawnLoadCacheDataCallbackInfo, { \
1392
+ /*.nextInChain=*/NULL _wgpu_COMMA \
1393
+ /*.callback=*/NULL _wgpu_COMMA \
1394
+ /*.userdata1=*/NULL _wgpu_COMMA \
1395
+ /*.userdata2=*/NULL _wgpu_COMMA \
1396
+ })
1397
+
1398
+ typedef struct WGPUDawnStoreCacheDataCallbackInfo {
1399
+ WGPUChainedStruct * nextInChain;
1400
+ WGPUDawnStoreCacheDataCallback callback;
1401
+ WGPU_NULLABLE void* userdata1;
1402
+ WGPU_NULLABLE void* userdata2;
1403
+ } WGPUDawnStoreCacheDataCallbackInfo WGPU_STRUCTURE_ATTRIBUTE;
1404
+
1405
+ #define WGPU_DAWN_STORE_CACHE_DATA_CALLBACK_INFO_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDawnStoreCacheDataCallbackInfo, { \
1406
+ /*.nextInChain=*/NULL _wgpu_COMMA \
1407
+ /*.callback=*/NULL _wgpu_COMMA \
1408
+ /*.userdata1=*/NULL _wgpu_COMMA \
1409
+ /*.userdata2=*/NULL _wgpu_COMMA \
1410
+ })
1411
+
1370
1412
  typedef struct WGPUDeviceLostCallbackInfo {
1371
1413
  WGPUChainedStruct * nextInChain;
1372
1414
  WGPUCallbackMode mode;
@@ -1623,6 +1665,7 @@ typedef struct WGPUColorSpaceDawn {
1623
1665
  WGPUColorSpaceTransferDawn transfer;
1624
1666
  WGPUColorSpaceYCbCrRangeDawn yCbCrRange;
1625
1667
  WGPUColorSpaceYCbCrMatrixDawn yCbCrMatrix;
1668
+ float hdrReferenceWhiteLuminance;
1626
1669
  } WGPUColorSpaceDawn WGPU_STRUCTURE_ATTRIBUTE;
1627
1670
 
1628
1671
  #define WGPU_COLOR_SPACE_DAWN_INIT _wgpu_MAKE_INIT_STRUCT(WGPUColorSpaceDawn, { \
@@ -1631,6 +1674,7 @@ typedef struct WGPUColorSpaceDawn {
1631
1674
  /*.transfer=*/WGPUColorSpaceTransferDawn_Identity _wgpu_COMMA \
1632
1675
  /*.yCbCrRange=*/WGPUColorSpaceYCbCrRangeDawn_Identity _wgpu_COMMA \
1633
1676
  /*.yCbCrMatrix=*/WGPUColorSpaceYCbCrMatrixDawn_Identity _wgpu_COMMA \
1677
+ /*.hdrReferenceWhiteLuminance=*/0 _wgpu_COMMA \
1634
1678
  })
1635
1679
 
1636
1680
  // Can be chained in WGPUColorTargetState
@@ -1745,9 +1789,8 @@ typedef struct WGPUDawnBufferDescriptorErrorInfoFromWireClient {
1745
1789
  typedef struct WGPUDawnCacheDeviceDescriptor {
1746
1790
  WGPUChainedStruct chain;
1747
1791
  WGPUStringView isolationKey;
1748
- WGPUDawnLoadCacheDataFunction loadDataFunction;
1749
- WGPUDawnStoreCacheDataFunction storeDataFunction;
1750
- void * functionUserdata;
1792
+ WGPUDawnLoadCacheDataCallbackInfo dawnLoadCacheDataCallbackInfo;
1793
+ WGPUDawnStoreCacheDataCallbackInfo dawnStoreCacheDataCallbackInfo;
1751
1794
  } WGPUDawnCacheDeviceDescriptor WGPU_STRUCTURE_ATTRIBUTE;
1752
1795
 
1753
1796
  #define WGPU_DAWN_CACHE_DEVICE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUDawnCacheDeviceDescriptor, { \
@@ -1756,9 +1799,8 @@ typedef struct WGPUDawnCacheDeviceDescriptor {
1756
1799
  /*.sType=*/WGPUSType_DawnCacheDeviceDescriptor _wgpu_COMMA \
1757
1800
  }) _wgpu_COMMA \
1758
1801
  /*.isolationKey=*/WGPU_STRING_VIEW_INIT _wgpu_COMMA \
1759
- /*.loadDataFunction=*/NULL _wgpu_COMMA \
1760
- /*.storeDataFunction=*/NULL _wgpu_COMMA \
1761
- /*.functionUserdata=*/nullptr _wgpu_COMMA \
1802
+ /*.dawnLoadCacheDataCallbackInfo=*/WGPU_DAWN_LOAD_CACHE_DATA_CALLBACK_INFO_INIT _wgpu_COMMA \
1803
+ /*.dawnStoreCacheDataCallbackInfo=*/WGPU_DAWN_STORE_CACHE_DATA_CALLBACK_INFO_INIT _wgpu_COMMA \
1762
1804
  })
1763
1805
 
1764
1806
  // Can be chained in WGPUCompilationMessage
@@ -2422,22 +2464,6 @@ typedef struct WGPUSharedBufferMemoryBeginAccessDescriptor {
2422
2464
  /*.signaledValues=*/NULL _wgpu_COMMA \
2423
2465
  })
2424
2466
 
2425
- // Can be chained in WGPUSharedBufferMemoryDescriptor
2426
- typedef struct WGPUSharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor {
2427
- WGPUChainedStruct chain;
2428
- void * handle;
2429
- uint64_t size;
2430
- } WGPUSharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
2431
-
2432
- #define WGPU_SHARED_BUFFER_MEMORY_D3D12_SHARED_MEMORY_FILE_MAPPING_HANDLE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor, { \
2433
- /*.chain=*/_wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \
2434
- /*.next=*/NULL _wgpu_COMMA \
2435
- /*.sType=*/WGPUSType_SharedBufferMemoryD3D12SharedMemoryFileMappingHandleDescriptor _wgpu_COMMA \
2436
- }) _wgpu_COMMA \
2437
- /*.handle=*/NULL _wgpu_COMMA \
2438
- /*.size=*/0 _wgpu_COMMA \
2439
- })
2440
-
2441
2467
  typedef struct WGPUSharedBufferMemoryEndAccessState {
2442
2468
  WGPUChainedStruct * nextInChain;
2443
2469
  WGPUBool initialized;
@@ -2456,6 +2482,22 @@ typedef struct WGPUSharedBufferMemoryEndAccessState {
2456
2482
  /*.signaledValues=*/NULL _wgpu_COMMA \
2457
2483
  })
2458
2484
 
2485
+ // Can be chained in WGPUSharedBufferMemoryDescriptor
2486
+ typedef struct WGPUSharedBufferMemoryFromWindowsHandleDescriptor {
2487
+ WGPUChainedStruct chain;
2488
+ void * handle;
2489
+ uint64_t size;
2490
+ } WGPUSharedBufferMemoryFromWindowsHandleDescriptor WGPU_STRUCTURE_ATTRIBUTE;
2491
+
2492
+ #define WGPU_SHARED_BUFFER_MEMORY_FROM_WINDOWS_HANDLE_DESCRIPTOR_INIT _wgpu_MAKE_INIT_STRUCT(WGPUSharedBufferMemoryFromWindowsHandleDescriptor, { \
2493
+ /*.chain=*/_wgpu_MAKE_INIT_STRUCT(WGPUChainedStruct, { \
2494
+ /*.next=*/NULL _wgpu_COMMA \
2495
+ /*.sType=*/WGPUSType_SharedBufferMemoryFromWindowsHandleDescriptor _wgpu_COMMA \
2496
+ }) _wgpu_COMMA \
2497
+ /*.handle=*/NULL _wgpu_COMMA \
2498
+ /*.size=*/0 _wgpu_COMMA \
2499
+ })
2500
+
2459
2501
  typedef struct WGPUSharedBufferMemoryProperties {
2460
2502
  WGPUChainedStruct * nextInChain;
2461
2503
  WGPUBufferUsage usage;
@@ -4378,7 +4420,9 @@ typedef WGPUCommandEncoder (*WGPUProcDeviceCreateCommandEncoder)(WGPUDevice devi
4378
4420
  typedef WGPUComputePipeline (*WGPUProcDeviceCreateComputePipeline)(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4379
4421
  typedef WGPUFuture (*WGPUProcDeviceCreateComputePipelineAsync)(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
4380
4422
  typedef WGPUBuffer (*WGPUProcDeviceCreateErrorBuffer)(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4423
+ typedef WGPUComputePipeline (*WGPUProcDeviceCreateErrorComputePipeline)(WGPUDevice device, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4381
4424
  typedef WGPUExternalTexture (*WGPUProcDeviceCreateErrorExternalTexture)(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
4425
+ typedef WGPURenderPipeline (*WGPUProcDeviceCreateErrorRenderPipeline)(WGPUDevice device, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4382
4426
  typedef WGPUShaderModule (*WGPUProcDeviceCreateErrorShaderModule)(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor, WGPUStringView errorMessage) WGPU_FUNCTION_ATTRIBUTE;
4383
4427
  typedef WGPUTexture (*WGPUProcDeviceCreateErrorTexture)(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4384
4428
  typedef WGPUExternalTexture (*WGPUProcDeviceCreateExternalTexture)(WGPUDevice device, WGPUExternalTextureDescriptor const * externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE;
@@ -4519,8 +4563,8 @@ typedef void (*WGPUProcRenderPipelineRelease)(WGPURenderPipeline renderPipeline)
4519
4563
  // Procs of ResourceTable
4520
4564
  typedef void (*WGPUProcResourceTableDestroy)(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
4521
4565
  typedef uint32_t (*WGPUProcResourceTableGetSize)(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
4522
- typedef uint32_t (*WGPUProcResourceTableInsertBinding)(WGPUResourceTable resourceTable, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4523
- typedef WGPUStatus (*WGPUProcResourceTableRemoveBinding)(WGPUResourceTable resourceTable, uint32_t slot) WGPU_FUNCTION_ATTRIBUTE;
4566
+ typedef uint32_t (*WGPUProcResourceTableInsert)(WGPUResourceTable resourceTable, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4567
+ typedef WGPUStatus (*WGPUProcResourceTableRemove)(WGPUResourceTable resourceTable, uint32_t slot) WGPU_FUNCTION_ATTRIBUTE;
4524
4568
  typedef void (*WGPUProcResourceTableSetLabel)(WGPUResourceTable resourceTable, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4525
4569
  typedef WGPUStatus (*WGPUProcResourceTableUpdate)(WGPUResourceTable resourceTable, uint32_t slot, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4526
4570
  typedef void (*WGPUProcResourceTableAddRef)(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
@@ -4609,10 +4653,8 @@ typedef uint32_t (*WGPUProcTextureGetSampleCount)(WGPUTexture texture) WGPU_FUNC
4609
4653
  typedef WGPUTextureViewDimension (*WGPUProcTextureGetTextureBindingViewDimension)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4610
4654
  typedef WGPUTextureUsage (*WGPUProcTextureGetUsage)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4611
4655
  typedef uint32_t (*WGPUProcTextureGetWidth)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4612
- typedef void (*WGPUProcTexturePin)(WGPUTexture texture, WGPUTextureUsage usage) WGPU_FUNCTION_ATTRIBUTE;
4613
4656
  typedef void (*WGPUProcTextureSetLabel)(WGPUTexture texture, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4614
4657
  typedef void (*WGPUProcTextureSetOwnershipForMemoryDump)(WGPUTexture texture, uint64_t ownerGuid) WGPU_FUNCTION_ATTRIBUTE;
4615
- typedef void (*WGPUProcTextureUnpin)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4616
4658
  typedef void (*WGPUProcTextureAddRef)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4617
4659
  typedef void (*WGPUProcTextureRelease)(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4618
4660
 
@@ -4735,7 +4777,9 @@ WGPU_EXPORT WGPUCommandEncoder wgpuDeviceCreateCommandEncoder(WGPUDevice device,
4735
4777
  WGPU_EXPORT WGPUComputePipeline wgpuDeviceCreateComputePipeline(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4736
4778
  WGPU_EXPORT WGPUFuture wgpuDeviceCreateComputePipelineAsync(WGPUDevice device, WGPUComputePipelineDescriptor const * descriptor, WGPUCreateComputePipelineAsyncCallbackInfo callbackInfo) WGPU_FUNCTION_ATTRIBUTE;
4737
4779
  WGPU_EXPORT WGPUBuffer wgpuDeviceCreateErrorBuffer(WGPUDevice device, WGPUBufferDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4780
+ WGPU_EXPORT WGPUComputePipeline wgpuDeviceCreateErrorComputePipeline(WGPUDevice device, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4738
4781
  WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateErrorExternalTexture(WGPUDevice device) WGPU_FUNCTION_ATTRIBUTE;
4782
+ WGPU_EXPORT WGPURenderPipeline wgpuDeviceCreateErrorRenderPipeline(WGPUDevice device, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4739
4783
  WGPU_EXPORT WGPUShaderModule wgpuDeviceCreateErrorShaderModule(WGPUDevice device, WGPUShaderModuleDescriptor const * descriptor, WGPUStringView errorMessage) WGPU_FUNCTION_ATTRIBUTE;
4740
4784
  WGPU_EXPORT WGPUTexture wgpuDeviceCreateErrorTexture(WGPUDevice device, WGPUTextureDescriptor const * descriptor) WGPU_FUNCTION_ATTRIBUTE;
4741
4785
  WGPU_EXPORT WGPUExternalTexture wgpuDeviceCreateExternalTexture(WGPUDevice device, WGPUExternalTextureDescriptor const * externalTextureDescriptor) WGPU_FUNCTION_ATTRIBUTE;
@@ -4876,8 +4920,8 @@ WGPU_EXPORT void wgpuRenderPipelineRelease(WGPURenderPipeline renderPipeline) WG
4876
4920
  // Methods of ResourceTable
4877
4921
  WGPU_EXPORT void wgpuResourceTableDestroy(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
4878
4922
  WGPU_EXPORT uint32_t wgpuResourceTableGetSize(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
4879
- WGPU_EXPORT uint32_t wgpuResourceTableInsertBinding(WGPUResourceTable resourceTable, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4880
- WGPU_EXPORT WGPUStatus wgpuResourceTableRemoveBinding(WGPUResourceTable resourceTable, uint32_t slot) WGPU_FUNCTION_ATTRIBUTE;
4923
+ WGPU_EXPORT uint32_t wgpuResourceTableInsert(WGPUResourceTable resourceTable, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4924
+ WGPU_EXPORT WGPUStatus wgpuResourceTableRemove(WGPUResourceTable resourceTable, uint32_t slot) WGPU_FUNCTION_ATTRIBUTE;
4881
4925
  WGPU_EXPORT void wgpuResourceTableSetLabel(WGPUResourceTable resourceTable, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4882
4926
  WGPU_EXPORT WGPUStatus wgpuResourceTableUpdate(WGPUResourceTable resourceTable, uint32_t slot, WGPUBindingResource const * resource) WGPU_FUNCTION_ATTRIBUTE;
4883
4927
  WGPU_EXPORT void wgpuResourceTableAddRef(WGPUResourceTable resourceTable) WGPU_FUNCTION_ATTRIBUTE;
@@ -4966,10 +5010,8 @@ WGPU_EXPORT uint32_t wgpuTextureGetSampleCount(WGPUTexture texture) WGPU_FUNCTIO
4966
5010
  WGPU_EXPORT WGPUTextureViewDimension wgpuTextureGetTextureBindingViewDimension(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4967
5011
  WGPU_EXPORT WGPUTextureUsage wgpuTextureGetUsage(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4968
5012
  WGPU_EXPORT uint32_t wgpuTextureGetWidth(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4969
- WGPU_EXPORT void wgpuTexturePin(WGPUTexture texture, WGPUTextureUsage usage) WGPU_FUNCTION_ATTRIBUTE;
4970
5013
  WGPU_EXPORT void wgpuTextureSetLabel(WGPUTexture texture, WGPUStringView label) WGPU_FUNCTION_ATTRIBUTE;
4971
5014
  WGPU_EXPORT void wgpuTextureSetOwnershipForMemoryDump(WGPUTexture texture, uint64_t ownerGuid) WGPU_FUNCTION_ATTRIBUTE;
4972
- WGPU_EXPORT void wgpuTextureUnpin(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4973
5015
  WGPU_EXPORT void wgpuTextureAddRef(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4974
5016
  WGPU_EXPORT void wgpuTextureRelease(WGPUTexture texture) WGPU_FUNCTION_ATTRIBUTE;
4975
5017