@shopify/react-native-skia 2.11.0-next.1 → 2.11.0
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/JsiSkConverters.h +2 -2
- package/cpp/api/JsiSkNativeObjects.h +9 -9
- package/cpp/api/JsiSkRuntimeEffect.h +2 -2
- package/cpp/api/recorder/Convertor.h +57 -9
- package/cpp/api/third_party/SkottieUtils.cpp +1 -1
- package/cpp/jsi/EnumMapper.h +2 -2
- package/cpp/jsi/JSIConverter.h +2 -2
- package/cpp/jsi/NativeObject.h +13 -13
- package/cpp/jsi/Promise.cpp +2 -2
- package/cpp/jsi/Promise.h +2 -2
- 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/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/package.json +9 -9
- 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/dawn/include/dawn/dawn_proc.h +0 -53
- package/cpp/dawn/include/dawn/dawn_proc_table.h +0 -330
- package/cpp/dawn/include/dawn/dawn_thread_dispatch_proc.h +0 -47
- package/cpp/dawn/include/dawn/dawn_version.h +0 -41
- package/cpp/dawn/include/dawn/native/D3D11Backend.h +0 -65
- package/cpp/dawn/include/dawn/native/D3D12Backend.h +0 -86
- package/cpp/dawn/include/dawn/native/D3DBackend.h +0 -56
- package/cpp/dawn/include/dawn/native/DawnNative.h +0 -369
- package/cpp/dawn/include/dawn/native/MetalBackend.h +0 -56
- package/cpp/dawn/include/dawn/native/NullBackend.h +0 -39
- package/cpp/dawn/include/dawn/native/OpenGLBackend.h +0 -89
- package/cpp/dawn/include/dawn/native/VulkanBackend.h +0 -183
- package/cpp/dawn/include/dawn/native/WebGPUBackend.h +0 -49
- package/cpp/dawn/include/dawn/native/dawn_native_export.h +0 -49
- package/cpp/dawn/include/dawn/platform/DawnPlatform.h +0 -210
- package/cpp/dawn/include/dawn/platform/dawn_platform_export.h +0 -49
- package/cpp/dawn/include/dawn/replay/Replay.h +0 -99
- package/cpp/dawn/include/dawn/replay/dawn_replay_export.h +0 -49
- package/cpp/dawn/include/dawn/webgpu_cpp_print.h +0 -2844
- package/cpp/dawn/include/tint/tint.h +0 -90
- package/cpp/dawn/include/webgpu/webgpu.h +0 -4987
- package/cpp/dawn/include/webgpu/webgpu_cpp.h +0 -10080
- package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +0 -57
- package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +0 -161
- package/cpp/dawn/include/webgpu/webgpu_glfw.h +0 -88
- 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/src/gpu/graphite/ContextOptionsPriv.h +0 -45
- package/cpp/skia/src/gpu/graphite/ResourceTypes.h +0 -360
- package/cpp/skia/src/gpu/graphite/TextureProxyView.h +0 -105
- package/libs/.graphite +0 -1
- /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
|
@@ -31,9 +31,10 @@
|
|
|
31
31
|
#include "include/core/SkSurfaceProps.h"
|
|
32
32
|
#include "include/core/SkTileMode.h"
|
|
33
33
|
#include "include/core/SkTypes.h"
|
|
34
|
-
#include "include/private/
|
|
35
|
-
#include "include/private/
|
|
36
|
-
#include "include/private/
|
|
34
|
+
#include "include/private/SkCPUTypes.h"
|
|
35
|
+
#include "include/private/SkDeque.h"
|
|
36
|
+
#include "include/private/SkEnumBitMask.h"
|
|
37
|
+
#include "include/private/SkTArray.h"
|
|
37
38
|
|
|
38
39
|
#include <cstddef>
|
|
39
40
|
#include <cstdint>
|
|
@@ -45,11 +46,6 @@
|
|
|
45
46
|
#define SK_SUPPORT_LEGACY_GETTOTALMATRIX
|
|
46
47
|
#endif
|
|
47
48
|
|
|
48
|
-
namespace sktext {
|
|
49
|
-
class GlyphRunBuilder;
|
|
50
|
-
class GlyphRunList;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
49
|
class AutoLayerForImageFilter;
|
|
54
50
|
class GrRecordingContext;
|
|
55
51
|
|
|
@@ -81,6 +77,12 @@ struct SkDrawShadowRec;
|
|
|
81
77
|
template<typename E>
|
|
82
78
|
class SkEnumBitMask;
|
|
83
79
|
|
|
80
|
+
namespace sktext {
|
|
81
|
+
class GlyphRunBuilder;
|
|
82
|
+
class GlyphRun;
|
|
83
|
+
class GlyphRunList;
|
|
84
|
+
} // namespace sktext
|
|
85
|
+
|
|
84
86
|
namespace skgpu::graphite { class Recorder; }
|
|
85
87
|
namespace sktext::gpu { class Slug; }
|
|
86
88
|
namespace SkRecords { class Draw; }
|
|
@@ -2415,11 +2417,7 @@ private:
|
|
|
2415
2417
|
kCheckForOverwrite = 4, // Check if the draw would overwrite the entire surface
|
|
2416
2418
|
kSkipMaskFilterAutoLayer = 8, // Do not apply mask filters in the AutoLayer
|
|
2417
2419
|
};
|
|
2418
|
-
|
|
2419
|
-
friend constexpr SkEnumBitMask<PredrawFlags> operator|(PredrawFlags, PredrawFlags);
|
|
2420
|
-
friend constexpr SkEnumBitMask<PredrawFlags> operator&(PredrawFlags, PredrawFlags);
|
|
2421
|
-
friend constexpr SkEnumBitMask<PredrawFlags> operator^(PredrawFlags, PredrawFlags);
|
|
2422
|
-
friend constexpr SkEnumBitMask<PredrawFlags> operator~(PredrawFlags);
|
|
2420
|
+
SK_DECL_BITMASK_OPS_FRIENDS(PredrawFlags)
|
|
2423
2421
|
|
|
2424
2422
|
// notify our surface (if we have one) that we are about to draw, so it
|
|
2425
2423
|
// can perform copy-on-write or invalidate any cached images
|
|
@@ -2531,12 +2529,13 @@ private:
|
|
|
2531
2529
|
std::unique_ptr<SkRasterHandleAllocator> fAllocator;
|
|
2532
2530
|
|
|
2533
2531
|
SkSurface_Base* fSurfaceBase;
|
|
2534
|
-
SkSurface_Base* getSurfaceBase() const { return fSurfaceBase; }
|
|
2532
|
+
virtual SkSurface_Base* getSurfaceBase() const { return fSurfaceBase; }
|
|
2535
2533
|
void setSurfaceBase(SkSurface_Base* sb) {
|
|
2536
2534
|
fSurfaceBase = sb;
|
|
2537
2535
|
}
|
|
2538
2536
|
friend class SkSurface_Base;
|
|
2539
2537
|
friend class SkSurface_Ganesh;
|
|
2538
|
+
friend class SkCaptureCanvas;
|
|
2540
2539
|
|
|
2541
2540
|
SkIRect fClipRestrictionRect = SkIRect::MakeEmpty();
|
|
2542
2541
|
int fClipRestrictionSaveCount = -1;
|
|
@@ -2559,6 +2558,7 @@ private:
|
|
|
2559
2558
|
friend class SkRecords::Draw;
|
|
2560
2559
|
template <typename Key>
|
|
2561
2560
|
friend class skiatest::TestCanvas;
|
|
2561
|
+
friend class AutoGlyphRunBuilder;
|
|
2562
2562
|
|
|
2563
2563
|
protected:
|
|
2564
2564
|
// For use by SkNoDrawCanvas (via SkCanvasVirtualEnforcer, which can't be a friend)
|
|
@@ -2704,7 +2704,15 @@ private:
|
|
|
2704
2704
|
class AutoUpdateQRBounds;
|
|
2705
2705
|
void validateClip() const;
|
|
2706
2706
|
|
|
2707
|
-
|
|
2707
|
+
sktext::GlyphRunBuilder* obtainGlyphRunBuilder();
|
|
2708
|
+
|
|
2709
|
+
void releaseGlyphRunBuilder();
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* fRunBuilders will be reused across text drawing commands
|
|
2713
|
+
*/
|
|
2714
|
+
skia_private::STArray<1, std::unique_ptr<sktext::GlyphRunBuilder>> fRunBuilders;
|
|
2715
|
+
int fRunBuildersUsed = 0;
|
|
2708
2716
|
};
|
|
2709
2717
|
|
|
2710
2718
|
/** \class SkAutoCanvasRestore
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
#include "include/core/SkAlphaType.h"
|
|
12
12
|
#include "include/core/SkScalar.h"
|
|
13
13
|
#include "include/core/SkTypes.h"
|
|
14
|
-
#include "include/private/
|
|
15
|
-
#include "include/private/
|
|
14
|
+
#include "include/private/SkCPUTypes.h"
|
|
15
|
+
#include "include/private/SkTPin.h"
|
|
16
16
|
|
|
17
17
|
#include <array>
|
|
18
18
|
#include <cstdint>
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
#include "include/core/SkRefCnt.h"
|
|
12
12
|
#include "include/core/SkTypes.h"
|
|
13
|
-
#include "include/private/
|
|
14
|
-
#include "include/private/
|
|
13
|
+
#include "include/private/SkFixed.h"
|
|
14
|
+
#include "include/private/SkOnce.h"
|
|
15
15
|
#include "modules/skcms/skcms.h"
|
|
16
16
|
|
|
17
17
|
#include <cstddef>
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
#define SkDataTable_DEFINED
|
|
10
10
|
|
|
11
11
|
#include "include/core/SkRefCnt.h"
|
|
12
|
-
#include "include/private/
|
|
13
|
-
#include "include/private/
|
|
12
|
+
#include "include/private/SkAPI.h"
|
|
13
|
+
#include "include/private/SkAssert.h"
|
|
14
14
|
|
|
15
15
|
#include <cstdint>
|
|
16
16
|
#include <cstring>
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
#include "include/core/SkSpan.h"
|
|
17
17
|
#include "include/core/SkTypeface.h"
|
|
18
18
|
#include "include/core/SkTypes.h"
|
|
19
|
-
#include "include/private/
|
|
20
|
-
#include "include/private/
|
|
19
|
+
#include "include/private/SkTo.h"
|
|
20
|
+
#include "include/private/SkTypeTraits.h"
|
|
21
21
|
|
|
22
22
|
#include <cstddef>
|
|
23
23
|
#include <cstdint>
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
#include "include/core/SkFontParameters.h"
|
|
13
13
|
#include "include/core/SkRefCnt.h"
|
|
14
14
|
#include "include/core/SkTypes.h"
|
|
15
|
-
#include "include/private/
|
|
16
|
-
#include "include/private/
|
|
17
|
-
#include "include/private/
|
|
15
|
+
#include "include/private/SkFixed.h"
|
|
16
|
+
#include "include/private/SkNoncopyable.h"
|
|
17
|
+
#include "include/private/SkTArray.h"
|
|
18
18
|
class SkFontStyle;
|
|
19
19
|
class SkStreamAsset;
|
|
20
20
|
class SkString;
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
#include "include/core/SkRect.h"
|
|
14
14
|
#include "include/core/SkRefCnt.h"
|
|
15
15
|
#include "include/core/SkSize.h"
|
|
16
|
-
#include "include/private/
|
|
17
|
-
#include "include/private/
|
|
18
|
-
#include "include/private/
|
|
19
|
-
#include "include/private/
|
|
16
|
+
#include "include/private/SkAPI.h"
|
|
17
|
+
#include "include/private/SkDebug.h"
|
|
18
|
+
#include "include/private/SkMath.h"
|
|
19
|
+
#include "include/private/SkTFitsIn.h"
|
|
20
20
|
|
|
21
21
|
#include <cstddef>
|
|
22
22
|
#include <cstdint>
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
#include "include/core/SkScalar.h"
|
|
15
15
|
#include "include/core/SkSpan.h"
|
|
16
16
|
#include "include/core/SkTypes.h"
|
|
17
|
-
#include "include/private/
|
|
18
|
-
#include "include/private/
|
|
19
|
-
#include "include/private/
|
|
17
|
+
#include "include/private/SkFloatingPoint.h"
|
|
18
|
+
#include "include/private/SkMacros.h"
|
|
19
|
+
#include "include/private/SkTo.h"
|
|
20
20
|
|
|
21
21
|
#include <cstdint>
|
|
22
22
|
#include <cstring>
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
#include "include/core/SkSpan.h"
|
|
15
15
|
#include "include/core/SkString.h"
|
|
16
16
|
#include "include/effects/SkRuntimeEffect.h"
|
|
17
|
-
#include "include/private/
|
|
18
|
-
#include "include/private/
|
|
17
|
+
#include "include/private/SkAPI.h"
|
|
18
|
+
#include "include/private/SkTArray.h"
|
|
19
19
|
|
|
20
20
|
#include <cstddef>
|
|
21
21
|
#include <cstdint>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
#include "include/core/SkPaint.h"
|
|
15
15
|
#include "include/core/SkSamplingOptions.h"
|
|
16
16
|
#include "include/core/SkScalar.h"
|
|
17
|
-
#include "include/private/
|
|
17
|
+
#include "include/private/SkAPI.h"
|
|
18
18
|
#include "include/utils/SkNWayCanvas.h"
|
|
19
19
|
|
|
20
20
|
#include <cstddef>
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
#include "include/core/SkRefCnt.h"
|
|
13
13
|
#include "include/core/SkScalar.h"
|
|
14
14
|
#include "include/core/SkTypes.h"
|
|
15
|
-
#include "include/private/
|
|
16
|
-
#include "include/private/
|
|
17
|
-
#include "include/private/
|
|
18
|
-
#include "include/private/
|
|
15
|
+
#include "include/private/SkCPUTypes.h"
|
|
16
|
+
#include "include/private/SkFloatingPoint.h"
|
|
17
|
+
#include "include/private/SkTo.h"
|
|
18
|
+
#include "include/private/SkTypeTraits.h"
|
|
19
19
|
|
|
20
20
|
#include <cstdint>
|
|
21
21
|
#include <optional>
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
#include "include/core/SkScalar.h"
|
|
18
18
|
#include "include/core/SkSpan.h"
|
|
19
19
|
#include "include/core/SkTypes.h"
|
|
20
|
-
#include "include/private/
|
|
21
|
-
#include "include/private/
|
|
22
|
-
#include "include/private/
|
|
20
|
+
#include "include/private/SkDebug.h"
|
|
21
|
+
#include "include/private/SkTo.h"
|
|
22
|
+
#include "include/private/SkTypeTraits.h"
|
|
23
23
|
|
|
24
24
|
#include <atomic>
|
|
25
25
|
#include <cstddef>
|
|
@@ -56,8 +56,7 @@ class SkPathData;
|
|
|
56
56
|
outside the geometry. SkPath also describes the winding rule used to fill
|
|
57
57
|
overlapping contours.
|
|
58
58
|
|
|
59
|
-
Internally, SkPath lazily computes
|
|
60
|
-
SkPath::updateBoundsCache to make SkPath thread safe.
|
|
59
|
+
Internally, SkPath lazily computes convexity.
|
|
61
60
|
*/
|
|
62
61
|
class SK_API SkPath {
|
|
63
62
|
public:
|
|
@@ -510,19 +509,6 @@ public:
|
|
|
510
509
|
*/
|
|
511
510
|
const SkRect& getBounds() const;
|
|
512
511
|
|
|
513
|
-
/** Updates internal bounds so that subsequent calls to getBounds() are instantaneous.
|
|
514
|
-
Unaltered copies of SkPath may also access cached bounds through getBounds().
|
|
515
|
-
|
|
516
|
-
For now, identical to calling getBounds() and ignoring the returned value.
|
|
517
|
-
|
|
518
|
-
Call to prepare SkPath subsequently drawn from multiple threads,
|
|
519
|
-
to avoid a race condition where each draw separately computes the bounds.
|
|
520
|
-
*/
|
|
521
|
-
void updateBoundsCache() const {
|
|
522
|
-
// for now, just calling getBounds() is sufficient
|
|
523
|
-
this->getBounds();
|
|
524
|
-
}
|
|
525
|
-
|
|
526
512
|
/** Returns minimum and maximum axes values of the lines and curves in SkPath.
|
|
527
513
|
Returns (0, 0, 0, 0) if SkPath contains no points.
|
|
528
514
|
Returned bounds width and height may be larger or smaller than area affected
|
|
@@ -1093,15 +1079,11 @@ public:
|
|
|
1093
1079
|
static std::optional<SkPath> ReadFromMemory(const void* buffer, size_t length,
|
|
1094
1080
|
size_t* bytesRead = nullptr);
|
|
1095
1081
|
|
|
1096
|
-
/**
|
|
1097
|
-
Returns a non-zero, globally unique value. A different value is returned
|
|
1082
|
+
/** Returns a non-zero, globally unique value. A different value is returned
|
|
1098
1083
|
if verb array, SkPoint array, or conic weight changes.
|
|
1099
1084
|
|
|
1100
1085
|
Setting SkPath::FillType does not change generation identifier.
|
|
1101
1086
|
|
|
1102
|
-
Each time the path is modified, a different generation identifier will be returned.
|
|
1103
|
-
SkPath::FillType does affect generation identifier on Android framework.
|
|
1104
|
-
|
|
1105
1087
|
@return non-zero, globally unique value
|
|
1106
1088
|
|
|
1107
1089
|
example: https://fiddle.skia.org/c/@Path_getGenerationID
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
#include "include/core/SkSpan.h"
|
|
20
20
|
#include "include/core/SkTypes.h"
|
|
21
21
|
#include "include/private/SkPathRef.h"
|
|
22
|
-
#include "include/private/
|
|
22
|
+
#include "include/private/SkTArray.h"
|
|
23
23
|
|
|
24
24
|
#include <cstdint>
|
|
25
25
|
#include <optional>
|
|
@@ -252,12 +252,14 @@ public:
|
|
|
252
252
|
|
|
253
253
|
Appends kMove_Verb to verb array and (0, 0) to SkPoint array, if needed.
|
|
254
254
|
|
|
255
|
-
If w is finite and not one, appends kConic_Verb to verb array;
|
|
255
|
+
If w is finite, positive, and not one, appends kConic_Verb to verb array;
|
|
256
256
|
and pt1, pt2 to SkPoint array; and w to conic weights.
|
|
257
257
|
|
|
258
258
|
If w is one, appends kQuad_Verb to verb array, and
|
|
259
259
|
pt1, pt2 to SkPoint array.
|
|
260
260
|
|
|
261
|
+
If w is zero, this is the same as lineTo(pt2)
|
|
262
|
+
|
|
261
263
|
If w is not finite, appends kLine_Verb twice to verb array, and
|
|
262
264
|
pt1, pt2 to SkPoint array.
|
|
263
265
|
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
#include "include/core/SkRefCnt.h"
|
|
12
12
|
#include "include/core/SkSize.h"
|
|
13
|
+
#include "include/private/SkAPI.h"
|
|
13
14
|
#include "include/private/SkIDChangeListener.h"
|
|
14
15
|
#include "include/private/SkPixelStorage.h"
|
|
15
|
-
#include "include/private/
|
|
16
|
-
#include "include/private/base/SkTo.h"
|
|
16
|
+
#include "include/private/SkTo.h"
|
|
17
17
|
|
|
18
18
|
#include <atomic>
|
|
19
19
|
#include <cstddef>
|
|
@@ -26,13 +26,11 @@ class SkDiscardableMemory;
|
|
|
26
26
|
This class is the smart container for pixel memory, and is used with SkBitmap.
|
|
27
27
|
This class can be shared/accessed between multiple threads.
|
|
28
28
|
*/
|
|
29
|
-
class SK_API SkPixelRef : public SkPixelStorage
|
|
29
|
+
class SK_API SkPixelRef : public SkPixelStorage {
|
|
30
30
|
public:
|
|
31
31
|
SkPixelRef(int width, int height, void* addr, size_t rowBytes);
|
|
32
32
|
~SkPixelRef() override;
|
|
33
33
|
|
|
34
|
-
Type type() const override;
|
|
35
|
-
|
|
36
34
|
SkISize dimensions() const { return {fWidth, fHeight}; }
|
|
37
35
|
int width() const { return fWidth; }
|
|
38
36
|
int height() const { return fHeight; }
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
#include "include/core/SkRefCnt.h"
|
|
16
16
|
#include "include/core/SkSamplingOptions.h"
|
|
17
17
|
#include "include/core/SkSize.h"
|
|
18
|
-
#include "include/private/
|
|
19
|
-
#include "include/private/
|
|
18
|
+
#include "include/private/SkAPI.h"
|
|
19
|
+
#include "include/private/SkAssert.h"
|
|
20
20
|
|
|
21
21
|
#include <cstddef>
|
|
22
22
|
#include <cstdint>
|
|
@@ -165,6 +165,11 @@ public:
|
|
|
165
165
|
*/
|
|
166
166
|
int height() const { return fInfo.height(); }
|
|
167
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Returns if the pixmap is empty (from its ImageInfo).
|
|
170
|
+
*/
|
|
171
|
+
bool isEmpty() const { return fInfo.isEmpty(); }
|
|
172
|
+
|
|
168
173
|
/**
|
|
169
174
|
* Return the dimensions of the pixmap (from its ImageInfo)
|
|
170
175
|
*/
|