@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.
- package/cpp/api/recorder/Convertor.h +57 -9
- package/cpp/api/third_party/SkottieUtils.cpp +1 -1
- package/cpp/dawn/include/dawn/dawn_proc_table.h +4 -4
- package/cpp/dawn/include/dawn/dawn_version.h +1 -1
- package/cpp/dawn/include/dawn/native/D3D12Backend.h +18 -1
- package/cpp/dawn/include/dawn/native/DawnNative.h +1 -2
- package/cpp/dawn/include/dawn/platform/DawnPlatform.h +8 -11
- package/cpp/dawn/include/dawn/webgpu_cpp_print.h +91 -79
- package/cpp/dawn/include/tint/tint.h +1 -0
- package/cpp/dawn/include/webgpu/webgpu.h +86 -44
- package/cpp/dawn/include/webgpu/webgpu_cpp.h +556 -283
- package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +1 -1
- package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +2 -1
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +0 -2
- package/cpp/skia/include/android/vk/AndroidVulkanMemoryAllocator.h +1 -1
- package/cpp/skia/include/codec/SkAndroidCodec.h +1 -1
- package/cpp/skia/include/codec/SkAvifDecoder.h +1 -1
- package/cpp/skia/include/codec/SkBmpDecoder.h +1 -1
- package/cpp/skia/include/codec/SkBmpRustDecoder.h +42 -0
- package/cpp/skia/include/codec/SkCodec.h +3 -2
- package/cpp/skia/include/codec/SkGifDecoder.h +1 -1
- package/cpp/skia/include/codec/SkIcoDecoder.h +1 -1
- package/cpp/skia/include/codec/SkJpegDecoder.h +1 -1
- package/cpp/skia/include/codec/SkJpegxlDecoder.h +1 -1
- package/cpp/skia/include/codec/SkPixmapUtils.h +1 -1
- package/cpp/skia/include/codec/SkPngDecoder.h +1 -1
- package/cpp/skia/include/codec/SkPngRustDecoder.h +1 -1
- package/cpp/skia/include/codec/SkRawDecoder.h +1 -1
- package/cpp/skia/include/codec/SkWbmpDecoder.h +1 -1
- package/cpp/skia/include/codec/SkWebpDecoder.h +1 -1
- package/cpp/skia/include/core/SkBitmap.h +3 -3
- package/cpp/skia/include/core/SkCPUContext.h +1 -1
- package/cpp/skia/include/core/SkCPURecorder.h +2 -3
- package/cpp/skia/include/core/SkCanvas.h +23 -15
- package/cpp/skia/include/core/SkColor.h +2 -2
- package/cpp/skia/include/core/SkColorFilter.h +1 -1
- package/cpp/skia/include/core/SkColorSpace.h +2 -2
- package/cpp/skia/include/core/SkColorTable.h +1 -1
- package/cpp/skia/include/core/SkContourMeasure.h +1 -1
- package/cpp/skia/include/core/SkData.h +1 -1
- package/cpp/skia/include/core/SkDataTable.h +2 -2
- package/cpp/skia/include/core/SkDocument.h +1 -1
- package/cpp/skia/include/core/SkDrawable.h +1 -1
- package/cpp/skia/include/core/SkFont.h +2 -2
- package/cpp/skia/include/core/SkFontMetrics.h +1 -1
- package/cpp/skia/include/core/SkFontMgr.h +1 -1
- package/cpp/skia/include/core/SkFontScanner.h +3 -3
- package/cpp/skia/include/core/SkFontStyle.h +1 -1
- package/cpp/skia/include/core/SkGraphics.h +1 -1
- package/cpp/skia/include/core/SkImage.h +1 -1
- package/cpp/skia/include/core/SkImageFilter.h +1 -1
- package/cpp/skia/include/core/SkImageGenerator.h +1 -1
- package/cpp/skia/include/core/SkImageInfo.h +4 -4
- package/cpp/skia/include/core/SkMatrix.h +3 -3
- package/cpp/skia/include/core/SkMesh.h +2 -2
- package/cpp/skia/include/core/SkMilestone.h +1 -1
- package/cpp/skia/include/core/SkOverdrawCanvas.h +1 -1
- package/cpp/skia/include/core/SkPaint.h +4 -4
- package/cpp/skia/include/core/SkPath.h +5 -23
- package/cpp/skia/include/core/SkPathBuilder.h +4 -2
- package/cpp/skia/include/core/SkPathMeasure.h +1 -1
- package/cpp/skia/include/core/SkPictureRecorder.h +1 -1
- package/cpp/skia/include/core/SkPixelRef.h +3 -5
- package/cpp/skia/include/core/SkPixmap.h +7 -2
- package/cpp/skia/include/core/SkPoint.h +555 -5
- package/cpp/skia/include/core/SkPoint3.h +2 -2
- package/cpp/skia/include/core/SkRRect.h +9 -1
- package/cpp/skia/include/core/SkRSXform.h +1 -1
- package/cpp/skia/include/core/SkRecorder.h +2 -3
- package/cpp/skia/include/core/SkRect.h +3 -3
- package/cpp/skia/include/core/SkRefCnt.h +1 -1
- package/cpp/skia/include/core/SkRegion.h +4 -4
- package/cpp/skia/include/core/SkScalar.h +2 -3
- package/cpp/skia/include/core/SkSerialProcs.h +1 -1
- package/cpp/skia/include/core/SkShader.h +1 -1
- package/cpp/skia/include/core/SkSize.h +1 -1
- package/cpp/skia/include/core/SkSpan.h +165 -4
- package/cpp/skia/include/core/SkStream.h +2 -2
- package/cpp/skia/include/core/SkStrikeRef.h +16 -0
- package/cpp/skia/include/core/SkString.h +2 -2
- package/cpp/skia/include/core/SkStrokeRec.h +1 -1
- package/cpp/skia/include/core/SkSurfaceProps.h +1 -1
- package/cpp/skia/include/core/SkSwizzle.h +1 -1
- package/cpp/skia/include/core/SkTextBlob.h +2 -2
- package/cpp/skia/include/core/SkTiledImageUtils.h +1 -1
- package/cpp/skia/include/core/SkTypeface.h +8 -2
- package/cpp/skia/include/core/SkTypes.h +6 -6
- package/cpp/skia/include/core/SkUnPreMultiply.h +1 -1
- package/cpp/skia/include/core/SkVertices.h +1 -1
- package/cpp/skia/include/core/SkYUVAPixmaps.h +1 -1
- package/cpp/skia/include/docs/SkPDFDocument.h +9 -3
- package/cpp/skia/include/effects/SkGradient.h +1 -1
- package/cpp/skia/include/effects/SkPerlinNoiseShader.h +1 -1
- package/cpp/skia/include/effects/SkRuntimeEffect.h +4 -4
- package/cpp/skia/include/encode/SkEncoder.h +3 -3
- package/cpp/skia/include/encode/SkICC.h +1 -1
- package/cpp/skia/include/encode/SkJpegEncoder.h +1 -1
- package/cpp/skia/include/encode/SkPngEncoder.h +1 -1
- package/cpp/skia/include/encode/SkPngRustEncoder.h +16 -1
- package/cpp/skia/include/encode/SkWebpEncoder.h +1 -1
- package/cpp/skia/include/gpu/GpuTypes.h +1 -1
- package/cpp/skia/include/gpu/MutableTextureState.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrBackendSemaphore.h +2 -2
- package/cpp/skia/include/gpu/ganesh/GrBackendSurface.h +3 -3
- package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkaroundsAutogen.h +39 -37
- package/cpp/skia/include/gpu/ganesh/GrExternalTextureGenerator.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +3 -2
- package/cpp/skia/include/gpu/ganesh/GrTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/SkImageGanesh.h +1 -1
- package/cpp/skia/include/gpu/ganesh/SkMeshGanesh.h +1 -1
- package/cpp/skia/include/gpu/ganesh/SkSurfaceGanesh.h +1 -1
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSemaphore.h +1 -1
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DBackendSurface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/d3d/GrD3DDirectContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLAssembleInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLBackendSurface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLConfig.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLDirectContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLExtensions.h +2 -2
- package/cpp/skia/include/gpu/ganesh/gl/GrGLFunctions.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/GrGLMakeWebGLInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/epoxy/GrGLMakeEpoxyEGLInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/ios/GrGLMakeIOSInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/mac/GrGLMakeMacInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/gl/win/GrGLMakeWinInterface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mock/GrMockBackendSurface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mock/GrMockTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSemaphore.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendSurface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlDirectContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSemaphore.h +1 -1
- package/cpp/skia/include/gpu/ganesh/vk/GrVkBackendSurface.h +1 -1
- package/cpp/skia/include/gpu/ganesh/vk/GrVkDirectContext.h +1 -1
- package/cpp/skia/include/gpu/graphite/BackendSemaphore.h +2 -2
- package/cpp/skia/include/gpu/graphite/BackendTexture.h +2 -2
- package/cpp/skia/include/gpu/graphite/Context.h +3 -3
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +8 -2
- package/cpp/skia/include/gpu/graphite/PersistentPipelineStorage.h +1 -1
- package/cpp/skia/include/gpu/graphite/PrecompileContext.h +16 -2
- package/cpp/skia/include/gpu/graphite/Recorder.h +8 -7
- package/cpp/skia/include/gpu/graphite/Recording.h +6 -4
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +2 -2
- package/cpp/skia/include/gpu/graphite/dawn/DawnGraphiteTypes.h +1 -1
- package/cpp/skia/include/gpu/graphite/mtl/MtlBackendContext.h +1 -1
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes.h +1 -1
- package/cpp/skia/include/gpu/graphite/mtl/MtlGraphiteTypes_cpp.h +1 -1
- package/cpp/skia/include/gpu/graphite/precompile/PaintOptions.h +2 -2
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileImageFilter.h +1 -1
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteContext.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +3 -3
- package/cpp/skia/include/gpu/vk/VulkanMutableTextureState.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanPreferredFeatures.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +1 -1
- package/cpp/skia/include/pathops/SkPathOps.h +2 -2
- package/cpp/skia/include/ports/SkImageGeneratorCG.h +2 -2
- package/cpp/skia/include/ports/SkImageGeneratorWIC.h +2 -2
- package/cpp/skia/include/private/{base/SingleOwner.h → SingleOwner.h} +5 -5
- package/cpp/skia/include/private/{base/SkAPI.h → SkAPI.h} +1 -1
- package/cpp/skia/include/private/{base/SkAlign.h → SkAlign.h} +1 -1
- package/cpp/skia/include/private/{base/SkAnySubclass.h → SkAnySubclass.h} +1 -1
- package/cpp/skia/include/private/{base/SkAssert.h → SkAssert.h} +4 -4
- package/cpp/skia/include/private/{base/SkAttributes.h → SkAttributes.h} +2 -2
- package/cpp/skia/include/private/{base/SkContainers.h → SkContainers.h} +3 -3
- package/cpp/skia/include/private/{base/SkDebug.h → SkDebug.h} +3 -3
- package/cpp/skia/include/private/{base/SkDeque.h → SkDeque.h} +1 -1
- package/cpp/skia/include/private/SkEncodedInfo.h +2 -2
- package/cpp/skia/include/private/SkEnumBitMask.h +92 -0
- package/cpp/skia/include/private/SkExif.h +1 -1
- package/cpp/skia/include/private/{base/SkFixed.h → SkFixed.h} +4 -4
- package/cpp/skia/include/private/{base/SkFloatingPoint.h → SkFloatingPoint.h} +2 -2
- package/cpp/skia/include/private/SkGainmapShader.h +1 -1
- package/cpp/skia/include/private/SkHdrMetadata.h +1 -1
- package/cpp/skia/include/private/SkIDChangeListener.h +3 -3
- package/cpp/skia/include/private/{base/SkLoadUserConfig.h → SkLoadUserConfig.h} +2 -2
- package/cpp/skia/include/private/{base/SkLog.h → SkLog.h} +4 -4
- package/cpp/skia/include/private/{base/SkMacros.h → SkMacros.h} +1 -1
- package/cpp/skia/include/private/{base/SkMalloc.h → SkMalloc.h} +1 -1
- package/cpp/skia/include/private/{base/SkMath.h → SkMath.h} +2 -2
- package/cpp/skia/include/private/{base/SkMutex.h → SkMutex.h} +5 -5
- package/cpp/skia/include/private/{base/SkNoncopyable.h → SkNoncopyable.h} +1 -1
- package/cpp/skia/include/private/{base/SkOnce.h → SkOnce.h} +1 -1
- package/cpp/skia/include/private/SkPathRef.h +4 -4
- package/cpp/skia/include/private/SkPixelStorage.h +20 -5
- package/cpp/skia/include/private/{base/SkSafe32.h → SkSafe32.h} +2 -2
- package/cpp/skia/include/private/{base/SkSemaphore.h → SkSemaphore.h} +3 -3
- package/cpp/skia/include/private/{base/SkTArray.h → SkTArray.h} +10 -11
- package/cpp/skia/include/private/{base/SkTDArray.h → SkTDArray.h} +4 -4
- package/cpp/skia/include/private/{base/SkTFitsIn.h → SkTFitsIn.h} +0 -2
- package/cpp/skia/include/private/{base/SkTLogic.h → SkTLogic.h} +1 -1
- package/cpp/skia/include/private/{base/SkTemplates.h → SkTemplates.h} +5 -6
- package/cpp/skia/include/private/{base/SkThreadAnnotations.h → SkThreadAnnotations.h} +1 -1
- package/cpp/skia/include/private/{base/SkThreadID.h → SkThreadID.h} +2 -2
- package/cpp/skia/include/private/{base/SkTo.h → SkTo.h} +2 -2
- package/cpp/skia/include/private/{base/SkTypeTraits.h → SkTypeTraits.h} +20 -0
- package/cpp/skia/include/private/SkXmp.h +1 -1
- package/cpp/skia/include/private/chromium/GrDeferredDisplayList.h +1 -1
- package/cpp/skia/include/private/chromium/GrSurfaceCharacterization.h +1 -1
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +1 -1
- package/cpp/skia/include/private/chromium/SkCodecsICCProfileChromium.h +1 -1
- package/cpp/skia/include/private/chromium/SkExifChromium.h +1 -1
- package/cpp/skia/include/private/chromium/SkImageChromium.h +1 -1
- package/cpp/skia/include/private/chromium/SkPMColor.h +1 -1
- package/cpp/skia/include/private/chromium/Slug.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +2 -2
- package/cpp/skia/include/private/gpu/ganesh/GrTextureGenerator.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +4 -4
- package/cpp/skia/include/utils/SkCamera.h +1 -1
- package/cpp/skia/include/utils/SkNWayCanvas.h +1 -1
- package/cpp/skia/include/utils/SkPaintFilterCanvas.h +1 -1
- package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +6 -6
- package/cpp/skia/modules/jsonreader/SkJSONReader.h +2 -2
- package/cpp/skia/modules/skottie/include/SkottieProperty.h +1 -1
- package/cpp/skia/modules/skottie/include/SlotManager.h +2 -2
- package/cpp/skia/modules/skottie/include/TextShaper.h +1 -1
- package/cpp/skia/modules/skottie/src/text/Font.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +1 -1
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +1 -1
- package/cpp/skia/modules/skresources/include/SkResources.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGRect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGRenderEffect.h +1 -1
- package/cpp/skia/modules/skunicode/include/SkUnicode.h +3 -3
- package/cpp/skia/modules/svg/include/SkSVGAttributeParser.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGCircle.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGClipPath.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGContainer.h +2 -2
- package/cpp/skia/modules/svg/include/SkSVGDOM.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGEllipse.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFe.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeComponentTransfer.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +2 -2
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeMerge.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +2 -2
- package/cpp/skia/modules/svg/include/SkSVGImage.h +2 -2
- package/cpp/skia/modules/svg/include/SkSVGLine.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGLinearGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGMask.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGNode.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGPath.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGPoly.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGRect.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGRenderContext.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGSVG.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGShape.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGStop.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGText.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGTransformableNode.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGUse.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGValue.h +1 -1
- package/cpp/skia/src/{base → core}/SkArenaAlloc.h +5 -5
- package/cpp/skia/src/{base → core}/SkAutoLocaleSetter.h +1 -1
- package/cpp/skia/src/core/SkChecksum.h +1 -1
- package/cpp/skia/src/core/SkLRUCache.h +1 -1
- package/cpp/skia/src/{base → core}/SkMathPriv.h +3 -3
- package/cpp/skia/src/core/SkTHash.h +1 -1
- package/cpp/skia/src/{base → core}/SkTInternalLList.h +3 -3
- package/cpp/skia/src/{base → core}/SkTLazy.h +1 -1
- package/cpp/skia/src/{base → core}/SkUTF.h +1 -1
- package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +1 -1
- package/cpp/skia/src/gpu/graphite/ResourceTypes.h +3 -3
- package/lib/commonjs/renderer/processors/Animations/Animations.d.ts +27 -1
- package/lib/commonjs/renderer/processors/Animations/Animations.js +28 -0
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/Core.js +8 -1
- package/lib/commonjs/sksg/Recorder/Core.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js +8 -0
- package/lib/commonjs/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/Recorder.d.ts +1 -1
- package/lib/commonjs/sksg/Recorder/Recorder.js +4 -0
- package/lib/commonjs/sksg/Recorder/Recorder.js.map +1 -1
- package/lib/commonjs/sksg/utils.d.ts +4 -0
- package/lib/commonjs/sksg/utils.js +14 -1
- package/lib/commonjs/sksg/utils.js.map +1 -1
- package/lib/module/renderer/processors/Animations/Animations.d.ts +27 -1
- package/lib/module/renderer/processors/Animations/Animations.js +21 -0
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/module/sksg/Recorder/Core.js +8 -1
- package/lib/module/sksg/Recorder/Core.js.map +1 -1
- package/lib/module/sksg/Recorder/ReanimatedRecorder.js +9 -1
- package/lib/module/sksg/Recorder/ReanimatedRecorder.js.map +1 -1
- package/lib/module/sksg/Recorder/Recorder.d.ts +1 -1
- package/lib/module/sksg/Recorder/Recorder.js +5 -1
- package/lib/module/sksg/Recorder/Recorder.js.map +1 -1
- package/lib/module/sksg/utils.d.ts +4 -0
- package/lib/module/sksg/utils.js +12 -0
- package/lib/module/sksg/utils.js.map +1 -1
- package/lib/typescript/lib/commonjs/renderer/processors/Animations/Animations.d.ts +22 -0
- package/lib/typescript/lib/commonjs/sksg/utils.d.ts +1 -0
- package/lib/typescript/lib/module/mock/index.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/Animations.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/index.d.ts +1 -1
- package/lib/typescript/lib/module/sksg/utils.d.ts +1 -0
- package/lib/typescript/src/renderer/processors/Animations/Animations.d.ts +27 -1
- package/lib/typescript/src/sksg/Recorder/Recorder.d.ts +1 -1
- package/lib/typescript/src/sksg/utils.d.ts +4 -0
- package/libs/.graphite +1 -1
- package/package.json +7 -7
- package/src/renderer/processors/Animations/Animations.ts +34 -1
- package/src/sksg/Recorder/Core.ts +11 -1
- package/src/sksg/Recorder/ReanimatedRecorder.ts +10 -1
- package/src/sksg/Recorder/Recorder.ts +7 -3
- package/src/sksg/utils.ts +18 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteUtils.h +0 -10
- package/cpp/skia/include/private/base/README.md +0 -4
- package/cpp/skia/include/private/base/SkPoint_impl.h +0 -560
- package/cpp/skia/include/private/base/SkSpan_impl.h +0 -158
- /package/cpp/skia/include/private/{base/SkASAN.h → SkASAN.h} +0 -0
- /package/cpp/skia/include/private/{base/SkAlignedStorage.h → SkAlignedStorage.h} +0 -0
- /package/cpp/skia/include/private/{base/SkCPUTypes.h → SkCPUTypes.h} +0 -0
- /package/cpp/skia/include/private/{base/SkFeatures.h → SkFeatures.h} +0 -0
- /package/cpp/skia/include/private/{base/SkLogPriority.h → SkLogPriority.h} +0 -0
- /package/cpp/skia/include/private/{base/SkTPin.h → SkTPin.h} +0 -0
|
@@ -53,7 +53,7 @@ namespace wgpu {
|
|
|
53
53
|
o << "AdapterType::Unknown";
|
|
54
54
|
break;
|
|
55
55
|
default:
|
|
56
|
-
o << "AdapterType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
56
|
+
o << "AdapterType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<AdapterType>::type>(value);
|
|
57
57
|
}
|
|
58
58
|
return o;
|
|
59
59
|
}
|
|
@@ -73,7 +73,7 @@ namespace wgpu {
|
|
|
73
73
|
o << "AddressMode::MirrorRepeat";
|
|
74
74
|
break;
|
|
75
75
|
default:
|
|
76
|
-
o << "AddressMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
76
|
+
o << "AddressMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<AddressMode>::type>(value);
|
|
77
77
|
}
|
|
78
78
|
return o;
|
|
79
79
|
}
|
|
@@ -90,7 +90,7 @@ namespace wgpu {
|
|
|
90
90
|
o << "AlphaMode::Unpremultiplied";
|
|
91
91
|
break;
|
|
92
92
|
default:
|
|
93
|
-
o << "AlphaMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
93
|
+
o << "AlphaMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<AlphaMode>::type>(value);
|
|
94
94
|
}
|
|
95
95
|
return o;
|
|
96
96
|
}
|
|
@@ -125,7 +125,7 @@ namespace wgpu {
|
|
|
125
125
|
o << "BackendType::OpenGLES";
|
|
126
126
|
break;
|
|
127
127
|
default:
|
|
128
|
-
o << "BackendType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
128
|
+
o << "BackendType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BackendType>::type>(value);
|
|
129
129
|
}
|
|
130
130
|
return o;
|
|
131
131
|
}
|
|
@@ -187,7 +187,7 @@ namespace wgpu {
|
|
|
187
187
|
o << "BlendFactor::OneMinusSrc1Alpha";
|
|
188
188
|
break;
|
|
189
189
|
default:
|
|
190
|
-
o << "BlendFactor::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
190
|
+
o << "BlendFactor::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BlendFactor>::type>(value);
|
|
191
191
|
}
|
|
192
192
|
return o;
|
|
193
193
|
}
|
|
@@ -213,7 +213,7 @@ namespace wgpu {
|
|
|
213
213
|
o << "BlendOperation::Max";
|
|
214
214
|
break;
|
|
215
215
|
default:
|
|
216
|
-
o << "BlendOperation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
216
|
+
o << "BlendOperation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BlendOperation>::type>(value);
|
|
217
217
|
}
|
|
218
218
|
return o;
|
|
219
219
|
}
|
|
@@ -236,7 +236,7 @@ namespace wgpu {
|
|
|
236
236
|
o << "BufferBindingType::ReadOnlyStorage";
|
|
237
237
|
break;
|
|
238
238
|
default:
|
|
239
|
-
o << "BufferBindingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
239
|
+
o << "BufferBindingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BufferBindingType>::type>(value);
|
|
240
240
|
}
|
|
241
241
|
return o;
|
|
242
242
|
}
|
|
@@ -253,7 +253,7 @@ namespace wgpu {
|
|
|
253
253
|
o << "BufferMapState::Mapped";
|
|
254
254
|
break;
|
|
255
255
|
default:
|
|
256
|
-
o << "BufferMapState::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
256
|
+
o << "BufferMapState::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BufferMapState>::type>(value);
|
|
257
257
|
}
|
|
258
258
|
return o;
|
|
259
259
|
}
|
|
@@ -270,7 +270,7 @@ namespace wgpu {
|
|
|
270
270
|
o << "CallbackMode::AllowSpontaneous";
|
|
271
271
|
break;
|
|
272
272
|
default:
|
|
273
|
-
o << "CallbackMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
273
|
+
o << "CallbackMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CallbackMode>::type>(value);
|
|
274
274
|
}
|
|
275
275
|
return o;
|
|
276
276
|
}
|
|
@@ -290,7 +290,7 @@ namespace wgpu {
|
|
|
290
290
|
o << "ColorSpacePrimariesDawn::DisplayP3";
|
|
291
291
|
break;
|
|
292
292
|
default:
|
|
293
|
-
o << "ColorSpacePrimariesDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
293
|
+
o << "ColorSpacePrimariesDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ColorSpacePrimariesDawn>::type>(value);
|
|
294
294
|
}
|
|
295
295
|
return o;
|
|
296
296
|
}
|
|
@@ -316,7 +316,7 @@ namespace wgpu {
|
|
|
316
316
|
o << "ColorSpaceTransferDawn::PQ";
|
|
317
317
|
break;
|
|
318
318
|
default:
|
|
319
|
-
o << "ColorSpaceTransferDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
319
|
+
o << "ColorSpaceTransferDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ColorSpaceTransferDawn>::type>(value);
|
|
320
320
|
}
|
|
321
321
|
return o;
|
|
322
322
|
}
|
|
@@ -336,7 +336,7 @@ namespace wgpu {
|
|
|
336
336
|
o << "ColorSpaceYCbCrMatrixDawn::Rec2020";
|
|
337
337
|
break;
|
|
338
338
|
default:
|
|
339
|
-
o << "ColorSpaceYCbCrMatrixDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
339
|
+
o << "ColorSpaceYCbCrMatrixDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ColorSpaceYCbCrMatrixDawn>::type>(value);
|
|
340
340
|
}
|
|
341
341
|
return o;
|
|
342
342
|
}
|
|
@@ -353,7 +353,7 @@ namespace wgpu {
|
|
|
353
353
|
o << "ColorSpaceYCbCrRangeDawn::Full";
|
|
354
354
|
break;
|
|
355
355
|
default:
|
|
356
|
-
o << "ColorSpaceYCbCrRangeDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
356
|
+
o << "ColorSpaceYCbCrRangeDawn::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ColorSpaceYCbCrRangeDawn>::type>(value);
|
|
357
357
|
}
|
|
358
358
|
return o;
|
|
359
359
|
}
|
|
@@ -388,7 +388,7 @@ namespace wgpu {
|
|
|
388
388
|
o << "CompareFunction::Always";
|
|
389
389
|
break;
|
|
390
390
|
default:
|
|
391
|
-
o << "CompareFunction::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
391
|
+
o << "CompareFunction::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CompareFunction>::type>(value);
|
|
392
392
|
}
|
|
393
393
|
return o;
|
|
394
394
|
}
|
|
@@ -402,7 +402,7 @@ namespace wgpu {
|
|
|
402
402
|
o << "CompilationInfoRequestStatus::CallbackCancelled";
|
|
403
403
|
break;
|
|
404
404
|
default:
|
|
405
|
-
o << "CompilationInfoRequestStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
405
|
+
o << "CompilationInfoRequestStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CompilationInfoRequestStatus>::type>(value);
|
|
406
406
|
}
|
|
407
407
|
return o;
|
|
408
408
|
}
|
|
@@ -419,7 +419,7 @@ namespace wgpu {
|
|
|
419
419
|
o << "CompilationMessageType::Info";
|
|
420
420
|
break;
|
|
421
421
|
default:
|
|
422
|
-
o << "CompilationMessageType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
422
|
+
o << "CompilationMessageType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CompilationMessageType>::type>(value);
|
|
423
423
|
}
|
|
424
424
|
return o;
|
|
425
425
|
}
|
|
@@ -448,7 +448,7 @@ namespace wgpu {
|
|
|
448
448
|
o << "ComponentSwizzle::A";
|
|
449
449
|
break;
|
|
450
450
|
default:
|
|
451
|
-
o << "ComponentSwizzle::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
451
|
+
o << "ComponentSwizzle::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ComponentSwizzle>::type>(value);
|
|
452
452
|
}
|
|
453
453
|
return o;
|
|
454
454
|
}
|
|
@@ -471,7 +471,7 @@ namespace wgpu {
|
|
|
471
471
|
o << "CompositeAlphaMode::Inherit";
|
|
472
472
|
break;
|
|
473
473
|
default:
|
|
474
|
-
o << "CompositeAlphaMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
474
|
+
o << "CompositeAlphaMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CompositeAlphaMode>::type>(value);
|
|
475
475
|
}
|
|
476
476
|
return o;
|
|
477
477
|
}
|
|
@@ -491,7 +491,7 @@ namespace wgpu {
|
|
|
491
491
|
o << "CreatePipelineAsyncStatus::InternalError";
|
|
492
492
|
break;
|
|
493
493
|
default:
|
|
494
|
-
o << "CreatePipelineAsyncStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
494
|
+
o << "CreatePipelineAsyncStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CreatePipelineAsyncStatus>::type>(value);
|
|
495
495
|
}
|
|
496
496
|
return o;
|
|
497
497
|
}
|
|
@@ -511,7 +511,7 @@ namespace wgpu {
|
|
|
511
511
|
o << "CullMode::Back";
|
|
512
512
|
break;
|
|
513
513
|
default:
|
|
514
|
-
o << "CullMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
514
|
+
o << "CullMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<CullMode>::type>(value);
|
|
515
515
|
}
|
|
516
516
|
return o;
|
|
517
517
|
}
|
|
@@ -531,7 +531,7 @@ namespace wgpu {
|
|
|
531
531
|
o << "DeviceLostReason::FailedCreation";
|
|
532
532
|
break;
|
|
533
533
|
default:
|
|
534
|
-
o << "DeviceLostReason::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
534
|
+
o << "DeviceLostReason::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<DeviceLostReason>::type>(value);
|
|
535
535
|
}
|
|
536
536
|
return o;
|
|
537
537
|
}
|
|
@@ -548,7 +548,7 @@ namespace wgpu {
|
|
|
548
548
|
o << "ErrorFilter::Internal";
|
|
549
549
|
break;
|
|
550
550
|
default:
|
|
551
|
-
o << "ErrorFilter::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
551
|
+
o << "ErrorFilter::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ErrorFilter>::type>(value);
|
|
552
552
|
}
|
|
553
553
|
return o;
|
|
554
554
|
}
|
|
@@ -571,7 +571,7 @@ namespace wgpu {
|
|
|
571
571
|
o << "ErrorType::Unknown";
|
|
572
572
|
break;
|
|
573
573
|
default:
|
|
574
|
-
o << "ErrorType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
574
|
+
o << "ErrorType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ErrorType>::type>(value);
|
|
575
575
|
}
|
|
576
576
|
return o;
|
|
577
577
|
}
|
|
@@ -591,7 +591,7 @@ namespace wgpu {
|
|
|
591
591
|
o << "ExternalTextureRotation::Rotate270Degrees";
|
|
592
592
|
break;
|
|
593
593
|
default:
|
|
594
|
-
o << "ExternalTextureRotation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
594
|
+
o << "ExternalTextureRotation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ExternalTextureRotation>::type>(value);
|
|
595
595
|
}
|
|
596
596
|
return o;
|
|
597
597
|
}
|
|
@@ -608,7 +608,7 @@ namespace wgpu {
|
|
|
608
608
|
o << "FeatureLevel::Core";
|
|
609
609
|
break;
|
|
610
610
|
default:
|
|
611
|
-
o << "FeatureLevel::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
611
|
+
o << "FeatureLevel::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<FeatureLevel>::type>(value);
|
|
612
612
|
}
|
|
613
613
|
return o;
|
|
614
614
|
}
|
|
@@ -681,6 +681,9 @@ namespace wgpu {
|
|
|
681
681
|
case FeatureName::TextureComponentSwizzle:
|
|
682
682
|
o << "FeatureName::TextureComponentSwizzle";
|
|
683
683
|
break;
|
|
684
|
+
case FeatureName::SubgroupSizeControl:
|
|
685
|
+
o << "FeatureName::SubgroupSizeControl";
|
|
686
|
+
break;
|
|
684
687
|
case FeatureName::DawnInternalUsages:
|
|
685
688
|
o << "FeatureName::DawnInternalUsages";
|
|
686
689
|
break;
|
|
@@ -846,8 +849,8 @@ namespace wgpu {
|
|
|
846
849
|
case FeatureName::AdapterPropertiesWGPU:
|
|
847
850
|
o << "FeatureName::AdapterPropertiesWGPU";
|
|
848
851
|
break;
|
|
849
|
-
case FeatureName::
|
|
850
|
-
o << "FeatureName::
|
|
852
|
+
case FeatureName::SharedBufferMemoryFromWindowsHandle:
|
|
853
|
+
o << "FeatureName::SharedBufferMemoryFromWindowsHandle";
|
|
851
854
|
break;
|
|
852
855
|
case FeatureName::SharedTextureMemoryD3D12Resource:
|
|
853
856
|
o << "FeatureName::SharedTextureMemoryD3D12Resource";
|
|
@@ -855,9 +858,6 @@ namespace wgpu {
|
|
|
855
858
|
case FeatureName::ChromiumExperimentalSamplingResourceTable:
|
|
856
859
|
o << "FeatureName::ChromiumExperimentalSamplingResourceTable";
|
|
857
860
|
break;
|
|
858
|
-
case FeatureName::SubgroupSizeControl:
|
|
859
|
-
o << "FeatureName::SubgroupSizeControl";
|
|
860
|
-
break;
|
|
861
861
|
case FeatureName::AtomicVec2uMinMax:
|
|
862
862
|
o << "FeatureName::AtomicVec2uMinMax";
|
|
863
863
|
break;
|
|
@@ -875,9 +875,15 @@ namespace wgpu {
|
|
|
875
875
|
break;
|
|
876
876
|
case FeatureName::AdapterPropertiesDrm:
|
|
877
877
|
o << "FeatureName::AdapterPropertiesDrm";
|
|
878
|
+
break;
|
|
879
|
+
case FeatureName::TextureCompressionUnaligned:
|
|
880
|
+
o << "FeatureName::TextureCompressionUnaligned";
|
|
881
|
+
break;
|
|
882
|
+
case FeatureName::DawnAllowUndefinedLoadStoreOp:
|
|
883
|
+
o << "FeatureName::DawnAllowUndefinedLoadStoreOp";
|
|
878
884
|
break;
|
|
879
885
|
default:
|
|
880
|
-
o << "FeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
886
|
+
o << "FeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<FeatureName>::type>(value);
|
|
881
887
|
}
|
|
882
888
|
return o;
|
|
883
889
|
}
|
|
@@ -894,7 +900,7 @@ namespace wgpu {
|
|
|
894
900
|
o << "FilterMode::Linear";
|
|
895
901
|
break;
|
|
896
902
|
default:
|
|
897
|
-
o << "FilterMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
903
|
+
o << "FilterMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<FilterMode>::type>(value);
|
|
898
904
|
}
|
|
899
905
|
return o;
|
|
900
906
|
}
|
|
@@ -911,7 +917,7 @@ namespace wgpu {
|
|
|
911
917
|
o << "FrontFace::CW";
|
|
912
918
|
break;
|
|
913
919
|
default:
|
|
914
|
-
o << "FrontFace::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
920
|
+
o << "FrontFace::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<FrontFace>::type>(value);
|
|
915
921
|
}
|
|
916
922
|
return o;
|
|
917
923
|
}
|
|
@@ -928,7 +934,7 @@ namespace wgpu {
|
|
|
928
934
|
o << "IndexFormat::Uint32";
|
|
929
935
|
break;
|
|
930
936
|
default:
|
|
931
|
-
o << "IndexFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
937
|
+
o << "IndexFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<IndexFormat>::type>(value);
|
|
932
938
|
}
|
|
933
939
|
return o;
|
|
934
940
|
}
|
|
@@ -945,7 +951,7 @@ namespace wgpu {
|
|
|
945
951
|
o << "InstanceFeatureName::MultipleDevicesPerAdapter";
|
|
946
952
|
break;
|
|
947
953
|
default:
|
|
948
|
-
o << "InstanceFeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
954
|
+
o << "InstanceFeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<InstanceFeatureName>::type>(value);
|
|
949
955
|
}
|
|
950
956
|
return o;
|
|
951
957
|
}
|
|
@@ -965,7 +971,7 @@ namespace wgpu {
|
|
|
965
971
|
o << "LoadOp::ExpandResolveTexture";
|
|
966
972
|
break;
|
|
967
973
|
default:
|
|
968
|
-
o << "LoadOp::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
974
|
+
o << "LoadOp::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<LoadOp>::type>(value);
|
|
969
975
|
}
|
|
970
976
|
return o;
|
|
971
977
|
}
|
|
@@ -985,7 +991,7 @@ namespace wgpu {
|
|
|
985
991
|
o << "LoggingType::Error";
|
|
986
992
|
break;
|
|
987
993
|
default:
|
|
988
|
-
o << "LoggingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
994
|
+
o << "LoggingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<LoggingType>::type>(value);
|
|
989
995
|
}
|
|
990
996
|
return o;
|
|
991
997
|
}
|
|
@@ -1005,7 +1011,7 @@ namespace wgpu {
|
|
|
1005
1011
|
o << "MapAsyncStatus::Aborted";
|
|
1006
1012
|
break;
|
|
1007
1013
|
default:
|
|
1008
|
-
o << "MapAsyncStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1014
|
+
o << "MapAsyncStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<MapAsyncStatus>::type>(value);
|
|
1009
1015
|
}
|
|
1010
1016
|
return o;
|
|
1011
1017
|
}
|
|
@@ -1022,7 +1028,7 @@ namespace wgpu {
|
|
|
1022
1028
|
o << "MipmapFilterMode::Linear";
|
|
1023
1029
|
break;
|
|
1024
1030
|
default:
|
|
1025
|
-
o << "MipmapFilterMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1031
|
+
o << "MipmapFilterMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<MipmapFilterMode>::type>(value);
|
|
1026
1032
|
}
|
|
1027
1033
|
return o;
|
|
1028
1034
|
}
|
|
@@ -1039,7 +1045,7 @@ namespace wgpu {
|
|
|
1039
1045
|
o << "PopErrorScopeStatus::Error";
|
|
1040
1046
|
break;
|
|
1041
1047
|
default:
|
|
1042
|
-
o << "PopErrorScopeStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1048
|
+
o << "PopErrorScopeStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<PopErrorScopeStatus>::type>(value);
|
|
1043
1049
|
}
|
|
1044
1050
|
return o;
|
|
1045
1051
|
}
|
|
@@ -1056,7 +1062,7 @@ namespace wgpu {
|
|
|
1056
1062
|
o << "PowerPreference::HighPerformance";
|
|
1057
1063
|
break;
|
|
1058
1064
|
default:
|
|
1059
|
-
o << "PowerPreference::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1065
|
+
o << "PowerPreference::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<PowerPreference>::type>(value);
|
|
1060
1066
|
}
|
|
1061
1067
|
return o;
|
|
1062
1068
|
}
|
|
@@ -1074,9 +1080,12 @@ namespace wgpu {
|
|
|
1074
1080
|
break;
|
|
1075
1081
|
case PredefinedColorSpace::DisplayP3Linear:
|
|
1076
1082
|
o << "PredefinedColorSpace::DisplayP3Linear";
|
|
1083
|
+
break;
|
|
1084
|
+
case PredefinedColorSpace::Rec2020Linear:
|
|
1085
|
+
o << "PredefinedColorSpace::Rec2020Linear";
|
|
1077
1086
|
break;
|
|
1078
1087
|
default:
|
|
1079
|
-
o << "PredefinedColorSpace::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1088
|
+
o << "PredefinedColorSpace::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<PredefinedColorSpace>::type>(value);
|
|
1080
1089
|
}
|
|
1081
1090
|
return o;
|
|
1082
1091
|
}
|
|
@@ -1099,7 +1108,7 @@ namespace wgpu {
|
|
|
1099
1108
|
o << "PresentMode::Mailbox";
|
|
1100
1109
|
break;
|
|
1101
1110
|
default:
|
|
1102
|
-
o << "PresentMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1111
|
+
o << "PresentMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<PresentMode>::type>(value);
|
|
1103
1112
|
}
|
|
1104
1113
|
return o;
|
|
1105
1114
|
}
|
|
@@ -1125,7 +1134,7 @@ namespace wgpu {
|
|
|
1125
1134
|
o << "PrimitiveTopology::TriangleStrip";
|
|
1126
1135
|
break;
|
|
1127
1136
|
default:
|
|
1128
|
-
o << "PrimitiveTopology::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1137
|
+
o << "PrimitiveTopology::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<PrimitiveTopology>::type>(value);
|
|
1129
1138
|
}
|
|
1130
1139
|
return o;
|
|
1131
1140
|
}
|
|
@@ -1139,7 +1148,7 @@ namespace wgpu {
|
|
|
1139
1148
|
o << "QueryType::Timestamp";
|
|
1140
1149
|
break;
|
|
1141
1150
|
default:
|
|
1142
|
-
o << "QueryType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1151
|
+
o << "QueryType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<QueryType>::type>(value);
|
|
1143
1152
|
}
|
|
1144
1153
|
return o;
|
|
1145
1154
|
}
|
|
@@ -1156,7 +1165,7 @@ namespace wgpu {
|
|
|
1156
1165
|
o << "QueueWorkDoneStatus::Error";
|
|
1157
1166
|
break;
|
|
1158
1167
|
default:
|
|
1159
|
-
o << "QueueWorkDoneStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1168
|
+
o << "QueueWorkDoneStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<QueueWorkDoneStatus>::type>(value);
|
|
1160
1169
|
}
|
|
1161
1170
|
return o;
|
|
1162
1171
|
}
|
|
@@ -1176,7 +1185,7 @@ namespace wgpu {
|
|
|
1176
1185
|
o << "RequestAdapterStatus::Error";
|
|
1177
1186
|
break;
|
|
1178
1187
|
default:
|
|
1179
|
-
o << "RequestAdapterStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1188
|
+
o << "RequestAdapterStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<RequestAdapterStatus>::type>(value);
|
|
1180
1189
|
}
|
|
1181
1190
|
return o;
|
|
1182
1191
|
}
|
|
@@ -1193,7 +1202,7 @@ namespace wgpu {
|
|
|
1193
1202
|
o << "RequestDeviceStatus::Error";
|
|
1194
1203
|
break;
|
|
1195
1204
|
default:
|
|
1196
|
-
o << "RequestDeviceStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1205
|
+
o << "RequestDeviceStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<RequestDeviceStatus>::type>(value);
|
|
1197
1206
|
}
|
|
1198
1207
|
return o;
|
|
1199
1208
|
}
|
|
@@ -1216,7 +1225,7 @@ namespace wgpu {
|
|
|
1216
1225
|
o << "SamplerBindingType::Comparison";
|
|
1217
1226
|
break;
|
|
1218
1227
|
default:
|
|
1219
|
-
o << "SamplerBindingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1228
|
+
o << "SamplerBindingType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<SamplerBindingType>::type>(value);
|
|
1220
1229
|
}
|
|
1221
1230
|
return o;
|
|
1222
1231
|
}
|
|
@@ -1242,7 +1251,7 @@ namespace wgpu {
|
|
|
1242
1251
|
o << "SharedFenceType::EGLSync";
|
|
1243
1252
|
break;
|
|
1244
1253
|
default:
|
|
1245
|
-
o << "SharedFenceType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1254
|
+
o << "SharedFenceType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<SharedFenceType>::type>(value);
|
|
1246
1255
|
}
|
|
1247
1256
|
return o;
|
|
1248
1257
|
}
|
|
@@ -1256,7 +1265,7 @@ namespace wgpu {
|
|
|
1256
1265
|
o << "Status::Error";
|
|
1257
1266
|
break;
|
|
1258
1267
|
default:
|
|
1259
|
-
o << "Status::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1268
|
+
o << "Status::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<Status>::type>(value);
|
|
1260
1269
|
}
|
|
1261
1270
|
return o;
|
|
1262
1271
|
}
|
|
@@ -1291,7 +1300,7 @@ namespace wgpu {
|
|
|
1291
1300
|
o << "StencilOperation::DecrementWrap";
|
|
1292
1301
|
break;
|
|
1293
1302
|
default:
|
|
1294
|
-
o << "StencilOperation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1303
|
+
o << "StencilOperation::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<StencilOperation>::type>(value);
|
|
1295
1304
|
}
|
|
1296
1305
|
return o;
|
|
1297
1306
|
}
|
|
@@ -1314,7 +1323,7 @@ namespace wgpu {
|
|
|
1314
1323
|
o << "StorageTextureAccess::ReadWrite";
|
|
1315
1324
|
break;
|
|
1316
1325
|
default:
|
|
1317
|
-
o << "StorageTextureAccess::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1326
|
+
o << "StorageTextureAccess::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<StorageTextureAccess>::type>(value);
|
|
1318
1327
|
}
|
|
1319
1328
|
return o;
|
|
1320
1329
|
}
|
|
@@ -1331,7 +1340,7 @@ namespace wgpu {
|
|
|
1331
1340
|
o << "StoreOp::Discard";
|
|
1332
1341
|
break;
|
|
1333
1342
|
default:
|
|
1334
|
-
o << "StoreOp::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1343
|
+
o << "StoreOp::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<StoreOp>::type>(value);
|
|
1335
1344
|
}
|
|
1336
1345
|
return o;
|
|
1337
1346
|
}
|
|
@@ -1608,8 +1617,8 @@ namespace wgpu {
|
|
|
1608
1617
|
case SType::AdapterPropertiesWGPU:
|
|
1609
1618
|
o << "SType::AdapterPropertiesWGPU";
|
|
1610
1619
|
break;
|
|
1611
|
-
case SType::
|
|
1612
|
-
o << "SType::
|
|
1620
|
+
case SType::SharedBufferMemoryFromWindowsHandleDescriptor:
|
|
1621
|
+
o << "SType::SharedBufferMemoryFromWindowsHandleDescriptor";
|
|
1613
1622
|
break;
|
|
1614
1623
|
case SType::SharedTextureMemoryD3D12ResourceDescriptor:
|
|
1615
1624
|
o << "SType::SharedTextureMemoryD3D12ResourceDescriptor";
|
|
@@ -1624,7 +1633,7 @@ namespace wgpu {
|
|
|
1624
1633
|
o << "SType::AdapterPropertiesDrm";
|
|
1625
1634
|
break;
|
|
1626
1635
|
default:
|
|
1627
|
-
o << "SType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1636
|
+
o << "SType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<SType>::type>(value);
|
|
1628
1637
|
}
|
|
1629
1638
|
return o;
|
|
1630
1639
|
}
|
|
@@ -1650,7 +1659,7 @@ namespace wgpu {
|
|
|
1650
1659
|
o << "SubgroupMatrixComponentType::I8";
|
|
1651
1660
|
break;
|
|
1652
1661
|
default:
|
|
1653
|
-
o << "SubgroupMatrixComponentType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1662
|
+
o << "SubgroupMatrixComponentType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<SubgroupMatrixComponentType>::type>(value);
|
|
1654
1663
|
}
|
|
1655
1664
|
return o;
|
|
1656
1665
|
}
|
|
@@ -1676,7 +1685,7 @@ namespace wgpu {
|
|
|
1676
1685
|
o << "SurfaceGetCurrentTextureStatus::Error";
|
|
1677
1686
|
break;
|
|
1678
1687
|
default:
|
|
1679
|
-
o << "SurfaceGetCurrentTextureStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1688
|
+
o << "SurfaceGetCurrentTextureStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<SurfaceGetCurrentTextureStatus>::type>(value);
|
|
1680
1689
|
}
|
|
1681
1690
|
return o;
|
|
1682
1691
|
}
|
|
@@ -1693,7 +1702,7 @@ namespace wgpu {
|
|
|
1693
1702
|
o << "TexelBufferAccess::ReadWrite";
|
|
1694
1703
|
break;
|
|
1695
1704
|
default:
|
|
1696
|
-
o << "TexelBufferAccess::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1705
|
+
o << "TexelBufferAccess::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TexelBufferAccess>::type>(value);
|
|
1697
1706
|
}
|
|
1698
1707
|
return o;
|
|
1699
1708
|
}
|
|
@@ -1722,7 +1731,7 @@ namespace wgpu {
|
|
|
1722
1731
|
o << "TextureAspect::Plane2Only";
|
|
1723
1732
|
break;
|
|
1724
1733
|
default:
|
|
1725
|
-
o << "TextureAspect::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1734
|
+
o << "TextureAspect::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureAspect>::type>(value);
|
|
1726
1735
|
}
|
|
1727
1736
|
return o;
|
|
1728
1737
|
}
|
|
@@ -1742,7 +1751,7 @@ namespace wgpu {
|
|
|
1742
1751
|
o << "TextureDimension::e3D";
|
|
1743
1752
|
break;
|
|
1744
1753
|
default:
|
|
1745
|
-
o << "TextureDimension::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
1754
|
+
o << "TextureDimension::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureDimension>::type>(value);
|
|
1746
1755
|
}
|
|
1747
1756
|
return o;
|
|
1748
1757
|
}
|
|
@@ -2080,7 +2089,7 @@ namespace wgpu {
|
|
|
2080
2089
|
o << "TextureFormat::OpaqueYCbCrAndroid";
|
|
2081
2090
|
break;
|
|
2082
2091
|
default:
|
|
2083
|
-
o << "TextureFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2092
|
+
o << "TextureFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureFormat>::type>(value);
|
|
2084
2093
|
}
|
|
2085
2094
|
return o;
|
|
2086
2095
|
}
|
|
@@ -2109,7 +2118,7 @@ namespace wgpu {
|
|
|
2109
2118
|
o << "TextureSampleType::Uint";
|
|
2110
2119
|
break;
|
|
2111
2120
|
default:
|
|
2112
|
-
o << "TextureSampleType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2121
|
+
o << "TextureSampleType::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureSampleType>::type>(value);
|
|
2113
2122
|
}
|
|
2114
2123
|
return o;
|
|
2115
2124
|
}
|
|
@@ -2138,7 +2147,7 @@ namespace wgpu {
|
|
|
2138
2147
|
o << "TextureViewDimension::e3D";
|
|
2139
2148
|
break;
|
|
2140
2149
|
default:
|
|
2141
|
-
o << "TextureViewDimension::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2150
|
+
o << "TextureViewDimension::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureViewDimension>::type>(value);
|
|
2142
2151
|
}
|
|
2143
2152
|
return o;
|
|
2144
2153
|
}
|
|
@@ -2152,7 +2161,7 @@ namespace wgpu {
|
|
|
2152
2161
|
o << "ToneMappingMode::Extended";
|
|
2153
2162
|
break;
|
|
2154
2163
|
default:
|
|
2155
|
-
o << "ToneMappingMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2164
|
+
o << "ToneMappingMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ToneMappingMode>::type>(value);
|
|
2156
2165
|
}
|
|
2157
2166
|
return o;
|
|
2158
2167
|
}
|
|
@@ -2281,9 +2290,12 @@ namespace wgpu {
|
|
|
2281
2290
|
break;
|
|
2282
2291
|
case VertexFormat::Unorm8x4BGRA:
|
|
2283
2292
|
o << "VertexFormat::Unorm8x4BGRA";
|
|
2293
|
+
break;
|
|
2294
|
+
case VertexFormat::Snorm10_10_10_2:
|
|
2295
|
+
o << "VertexFormat::Snorm10_10_10_2";
|
|
2284
2296
|
break;
|
|
2285
2297
|
default:
|
|
2286
|
-
o << "VertexFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2298
|
+
o << "VertexFormat::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<VertexFormat>::type>(value);
|
|
2287
2299
|
}
|
|
2288
2300
|
return o;
|
|
2289
2301
|
}
|
|
@@ -2300,7 +2312,7 @@ namespace wgpu {
|
|
|
2300
2312
|
o << "VertexStepMode::Instance";
|
|
2301
2313
|
break;
|
|
2302
2314
|
default:
|
|
2303
|
-
o << "VertexStepMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2315
|
+
o << "VertexStepMode::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<VertexStepMode>::type>(value);
|
|
2304
2316
|
}
|
|
2305
2317
|
return o;
|
|
2306
2318
|
}
|
|
@@ -2317,7 +2329,7 @@ namespace wgpu {
|
|
|
2317
2329
|
o << "WaitStatus::Error";
|
|
2318
2330
|
break;
|
|
2319
2331
|
default:
|
|
2320
|
-
o << "WaitStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2332
|
+
o << "WaitStatus::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<WaitStatus>::type>(value);
|
|
2321
2333
|
}
|
|
2322
2334
|
return o;
|
|
2323
2335
|
}
|
|
@@ -2354,6 +2366,9 @@ namespace wgpu {
|
|
|
2354
2366
|
case WGSLLanguageFeatureName::LinearIndexing:
|
|
2355
2367
|
o << "WGSLLanguageFeatureName::LinearIndexing";
|
|
2356
2368
|
break;
|
|
2369
|
+
case WGSLLanguageFeatureName::ImmediateAddressSpace:
|
|
2370
|
+
o << "WGSLLanguageFeatureName::ImmediateAddressSpace";
|
|
2371
|
+
break;
|
|
2357
2372
|
case WGSLLanguageFeatureName::ChromiumTestingUnimplemented:
|
|
2358
2373
|
o << "WGSLLanguageFeatureName::ChromiumTestingUnimplemented";
|
|
2359
2374
|
break;
|
|
@@ -2381,9 +2396,6 @@ namespace wgpu {
|
|
|
2381
2396
|
case WGSLLanguageFeatureName::FragmentDepth:
|
|
2382
2397
|
o << "WGSLLanguageFeatureName::FragmentDepth";
|
|
2383
2398
|
break;
|
|
2384
|
-
case WGSLLanguageFeatureName::ImmediateAddressSpace:
|
|
2385
|
-
o << "WGSLLanguageFeatureName::ImmediateAddressSpace";
|
|
2386
|
-
break;
|
|
2387
2399
|
case WGSLLanguageFeatureName::BufferView:
|
|
2388
2400
|
o << "WGSLLanguageFeatureName::BufferView";
|
|
2389
2401
|
break;
|
|
@@ -2391,7 +2403,7 @@ namespace wgpu {
|
|
|
2391
2403
|
o << "WGSLLanguageFeatureName::SwizzleAssignment";
|
|
2392
2404
|
break;
|
|
2393
2405
|
default:
|
|
2394
|
-
o << "WGSLLanguageFeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2406
|
+
o << "WGSLLanguageFeatureName::" << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<WGSLLanguageFeatureName>::type>(value);
|
|
2395
2407
|
}
|
|
2396
2408
|
return o;
|
|
2397
2409
|
}
|
|
@@ -2504,7 +2516,7 @@ namespace wgpu {
|
|
|
2504
2516
|
if (!first) {
|
|
2505
2517
|
o << "|";
|
|
2506
2518
|
}
|
|
2507
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2519
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<BufferUsage>::type>(value);
|
|
2508
2520
|
}
|
|
2509
2521
|
|
|
2510
2522
|
if (moreThanOneBit) {
|
|
@@ -2572,7 +2584,7 @@ namespace wgpu {
|
|
|
2572
2584
|
if (!first) {
|
|
2573
2585
|
o << "|";
|
|
2574
2586
|
}
|
|
2575
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2587
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ColorWriteMask>::type>(value);
|
|
2576
2588
|
}
|
|
2577
2589
|
|
|
2578
2590
|
if (moreThanOneBit) {
|
|
@@ -2640,7 +2652,7 @@ namespace wgpu {
|
|
|
2640
2652
|
if (!first) {
|
|
2641
2653
|
o << "|";
|
|
2642
2654
|
}
|
|
2643
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2655
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<HeapProperty>::type>(value);
|
|
2644
2656
|
}
|
|
2645
2657
|
|
|
2646
2658
|
if (moreThanOneBit) {
|
|
@@ -2684,7 +2696,7 @@ namespace wgpu {
|
|
|
2684
2696
|
if (!first) {
|
|
2685
2697
|
o << "|";
|
|
2686
2698
|
}
|
|
2687
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2699
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<MapMode>::type>(value);
|
|
2688
2700
|
}
|
|
2689
2701
|
|
|
2690
2702
|
if (moreThanOneBit) {
|
|
@@ -2736,7 +2748,7 @@ namespace wgpu {
|
|
|
2736
2748
|
if (!first) {
|
|
2737
2749
|
o << "|";
|
|
2738
2750
|
}
|
|
2739
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2751
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<ShaderStage>::type>(value);
|
|
2740
2752
|
}
|
|
2741
2753
|
|
|
2742
2754
|
if (moreThanOneBit) {
|
|
@@ -2820,7 +2832,7 @@ namespace wgpu {
|
|
|
2820
2832
|
if (!first) {
|
|
2821
2833
|
o << "|";
|
|
2822
2834
|
}
|
|
2823
|
-
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<
|
|
2835
|
+
o << std::showbase << std::hex << std::setfill('0') << std::setw(4) << static_cast<std::underlying_type<TextureUsage>::type>(value);
|
|
2824
2836
|
}
|
|
2825
2837
|
|
|
2826
2838
|
if (moreThanOneBit) {
|