@shopify/react-native-skia 2.6.2 → 2.6.3-next.2
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/android/CMakeLists.txt +8 -4
- package/android/build.gradle +22 -3
- package/android/cpp/rnskia-android/RNSkAndroidPlatformContext.h +62 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaWebGPUViewManagerDelegate.java +35 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaWebGPUViewManagerInterface.java +17 -0
- package/apple/RNSkApplePlatformContext.h +2 -0
- package/apple/RNSkApplePlatformContext.mm +71 -0
- package/apple/RNWebGPUAppleNativeBuffer.mm +33 -0
- package/cpp/api/JsiNativeBuffer.h +9 -1
- package/cpp/api/JsiSkAnimatedImage.h +1 -1
- package/cpp/api/JsiSkAnimatedImageFactory.h +1 -1
- package/cpp/api/JsiSkApi.h +3 -3
- package/cpp/api/JsiSkCanvas.h +34 -1
- package/cpp/api/JsiSkColor.h +1 -1
- package/cpp/api/JsiSkDataFactory.h +2 -2
- package/cpp/api/JsiSkFont.h +1 -1
- package/cpp/api/JsiSkFontMgr.h +1 -1
- package/cpp/api/JsiSkHostObjects.h +3 -3
- package/cpp/api/JsiSkImage.h +15 -7
- package/cpp/api/JsiSkImageFactory.h +2 -2
- package/cpp/api/JsiSkPath.h +1 -1
- package/cpp/api/JsiSkPathFactory.h +1 -1
- package/cpp/api/JsiSkSkottie.h +1 -1
- package/cpp/api/JsiSkSurface.h +18 -6
- package/cpp/api/JsiSkTypeface.h +1 -1
- package/cpp/api/JsiSkTypefaceFontProvider.h +1 -1
- package/cpp/api/JsiSkiaContext.h +2 -2
- package/cpp/api/JsiTextureInfo.h +1 -1
- package/cpp/api/JsiVideo.h +2 -2
- package/cpp/api/recorder/Convertor.h +1 -1
- package/cpp/api/recorder/Drawings.h +1 -1
- package/cpp/api/recorder/JsiRecorder.h +4 -4
- package/cpp/api/recorder/RNRecorder.h +1 -1
- package/cpp/api/third_party/SkottieUtils.cpp +1 -1
- package/cpp/api/third_party/base64.cpp +1 -1
- package/cpp/jsi/JsiHostObject.cpp +5 -7
- package/cpp/jsi/JsiPromises.h +1 -1
- package/cpp/jsi/ViewProperty.h +1 -1
- package/cpp/rnskia/RNDawnContext.h +13 -0
- package/cpp/rnskia/RNDawnUtils.h +11 -1
- package/cpp/rnskia/RNSkJsiViewApi.h +2 -2
- package/cpp/rnskia/RNSkManager.cpp +88 -2
- package/cpp/rnskia/RNSkPictureView.h +4 -4
- package/cpp/rnskia/RNSkPlatformContext.h +7 -0
- package/cpp/rnskia/RNSkView.h +9 -6
- package/cpp/rnwgpu/ArrayBuffer.h +51 -7
- package/cpp/rnwgpu/api/AppleNativeBuffer.h +22 -0
- package/cpp/rnwgpu/api/Convertors.h +33 -11
- package/cpp/rnwgpu/api/GPU.cpp +0 -3
- package/cpp/rnwgpu/api/GPUAdapter.cpp +37 -7
- package/cpp/rnwgpu/api/GPUBuffer.h +1 -1
- package/cpp/rnwgpu/api/GPUDevice.cpp +84 -6
- package/cpp/rnwgpu/api/GPUDevice.h +12 -0
- package/cpp/rnwgpu/api/GPUExternalTexture.cpp +139 -0
- package/cpp/rnwgpu/api/GPUExternalTexture.h +52 -2
- package/cpp/rnwgpu/api/GPUQueue.cpp +50 -45
- package/cpp/rnwgpu/api/GPUShaderModule.cpp +1 -1
- package/cpp/rnwgpu/api/GPUSharedFence.cpp +80 -0
- package/cpp/rnwgpu/api/GPUSharedFence.h +53 -0
- package/cpp/rnwgpu/api/GPUSharedTextureMemory.cpp +135 -0
- package/cpp/rnwgpu/api/GPUSharedTextureMemory.h +75 -0
- package/cpp/rnwgpu/api/ImageBitmap.h +62 -0
- package/cpp/rnwgpu/api/NativeBufferUtils.h +87 -0
- package/cpp/rnwgpu/api/descriptors/GPUBindGroupEntry.h +4 -1
- package/cpp/rnwgpu/api/descriptors/GPUCanvasConfiguration.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUDawnTogglesDescriptor.h +56 -0
- package/cpp/rnwgpu/api/descriptors/GPUDeviceDescriptor.h +10 -0
- package/cpp/rnwgpu/api/descriptors/GPUExternalTextureDescriptor.h +43 -24
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyExternalImage.h +9 -9
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyTexture.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyTextureTagged.h +2 -2
- package/cpp/rnwgpu/api/descriptors/GPUSharedFenceDescriptor.h +58 -0
- package/cpp/rnwgpu/api/descriptors/GPUSharedFenceState.h +51 -0
- package/cpp/rnwgpu/api/descriptors/GPUSharedTextureMemoryDescriptor.h +73 -0
- package/cpp/rnwgpu/api/descriptors/GPUTextureDescriptor.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUUncapturedErrorEventInit.h +1 -1
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +1 -1
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +1 -1
- package/cpp/skia/include/android/SkAnimatedImage.h +1 -1
- package/cpp/skia/include/codec/SkCodec.h +0 -8
- package/cpp/skia/include/codec/SkEncodedOrigin.h +1 -1
- package/cpp/skia/include/codec/SkPngRustDecoder.h +1 -1
- package/cpp/skia/include/core/SkBitmap.h +2 -8
- package/cpp/skia/include/core/SkCPURecorder.h +3 -1
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +1 -1
- package/cpp/skia/include/core/SkColorType.h +5 -3
- package/cpp/skia/include/core/SkContourMeasure.h +1 -1
- package/cpp/skia/include/core/SkCoverageMode.h +1 -1
- package/cpp/skia/include/core/SkCubicMap.h +1 -1
- package/cpp/skia/include/core/SkExecutor.h +1 -1
- package/cpp/skia/include/core/SkFont.h +15 -0
- package/cpp/skia/include/core/SkFontArguments.h +6 -1
- package/cpp/skia/include/core/SkFontMetrics.h +1 -1
- package/cpp/skia/include/core/SkFontMgr.h +36 -1
- package/cpp/skia/include/core/SkFontParameters.h +1 -1
- package/cpp/skia/include/core/SkFontScanner.h +1 -1
- package/cpp/skia/include/core/SkFontTypes.h +1 -1
- package/cpp/skia/include/core/SkM44.h +1 -1
- package/cpp/skia/include/core/SkMilestone.h +1 -1
- package/cpp/skia/include/core/SkOpenTypeSVGDecoder.h +1 -1
- package/cpp/skia/include/core/SkPathBuilder.h +10 -4
- package/cpp/skia/include/core/SkPathIter.h +1 -1
- package/cpp/skia/include/core/SkPathTypes.h +1 -1
- package/cpp/skia/include/core/SkPixelRef.h +4 -1
- package/cpp/skia/include/core/SkRecorder.h +2 -1
- package/cpp/skia/include/core/SkRegion.h +17 -6
- package/cpp/skia/include/core/SkSamplingOptions.h +1 -1
- package/cpp/skia/include/core/SkSerialProcs.h +8 -1
- package/cpp/skia/include/core/SkShader.h +3 -5
- package/cpp/skia/include/core/SkSpan.h +1 -1
- package/cpp/skia/include/core/SkStream.h +1 -1
- package/cpp/skia/include/core/SkStrikeRef.h +80 -0
- package/cpp/skia/include/core/SkTileMode.h +1 -1
- package/cpp/skia/include/core/SkVertices.h +1 -1
- package/cpp/skia/include/core/SkYUVAPixmaps.h +3 -5
- package/cpp/skia/include/docs/SkPDFDocument.h +1 -1
- package/cpp/skia/include/docs/SkXPSDocument.h +1 -1
- package/cpp/skia/include/effects/SkGradient.h +1 -1
- package/cpp/skia/include/effects/SkHighContrastFilter.h +1 -1
- package/cpp/skia/include/effects/SkRuntimeEffect.h +2 -2
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +1 -1
- package/cpp/skia/include/effects/SkTrimPathEffect.h +1 -1
- package/cpp/skia/include/encode/SkEncoder.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 +1 -1
- package/cpp/skia/include/encode/SkWebpEncoder.h +1 -1
- package/cpp/skia/include/gpu/GpuTypes.h +2 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrBackendSemaphore.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrBackendSurface.h +6 -62
- package/cpp/skia/include/gpu/ganesh/GrContextThreadSafeProxy.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrDirectContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkarounds.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +2 -1
- package/cpp/skia/include/gpu/ganesh/mock/GrMockBackendSurface.h +59 -0
- package/cpp/skia/include/gpu/ganesh/mock/GrMockTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +1 -1
- package/cpp/skia/include/gpu/graphite/Context.h +12 -5
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +6 -0
- package/cpp/skia/include/gpu/graphite/Image.h +82 -9
- package/cpp/skia/include/gpu/graphite/PrecompileContext.h +7 -2
- package/cpp/skia/include/gpu/graphite/Recorder.h +6 -4
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileColorFilter.h +11 -1
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileShader.h +1 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +1 -1
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +1 -1
- package/cpp/skia/include/ports/SkCFObject.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_Fontations.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_android_ndk.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_data.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +1 -1
- package/cpp/skia/include/ports/SkFontScanner_Fontations.h +1 -1
- package/cpp/skia/include/ports/SkFontScanner_FreeType.h +1 -1
- package/cpp/skia/include/ports/SkTypeface_fontations.h +1 -1
- package/cpp/skia/include/private/SkExif.h +1 -1
- package/cpp/skia/include/private/SkGainmapInfo.h +1 -1
- package/cpp/skia/include/private/SkGainmapShader.h +1 -1
- package/cpp/skia/include/private/SkHdrMetadata.h +21 -0
- package/cpp/skia/include/private/SkJpegGainmapEncoder.h +1 -1
- package/cpp/skia/include/private/SkPixelStorage.h +37 -0
- package/cpp/skia/include/private/SkXmp.h +1 -1
- package/cpp/skia/include/private/base/SkAssert.h +6 -5
- package/cpp/skia/include/private/base/SkContainers.h +1 -1
- package/cpp/skia/include/private/base/SkFeatures.h +30 -30
- package/cpp/skia/include/private/base/SkLog.h +1 -7
- package/cpp/skia/include/private/base/SkLogPriority.h +4 -5
- package/cpp/skia/include/private/base/SkMacros.h +1 -1
- package/cpp/skia/include/private/base/SkMalloc.h +1 -1
- package/cpp/skia/include/private/base/SkSafe32.h +1 -1
- package/cpp/skia/include/private/base/SkSpan_impl.h +1 -1
- package/cpp/skia/include/private/base/SkTDArray.h +13 -1
- package/cpp/skia/include/private/base/SkTPin.h +1 -1
- package/cpp/skia/include/private/base/SkTo.h +1 -1
- package/cpp/skia/include/private/chromium/GrVkSecondaryCBDrawContext.h +1 -1
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +1 -1
- package/cpp/skia/include/private/chromium/SkCodecsICCProfileChromium.h +52 -0
- package/cpp/skia/include/private/chromium/SkExifChromium.h +26 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +2 -1
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +1 -1
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_icd.h +41 -51
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_layer.h +42 -53
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +2 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std.h +158 -154
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_decode.h +68 -65
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h +90 -87
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +9 -9
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +2 -2
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h +82 -79
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +24 -24
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +2 -2
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_encode.h +95 -96
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std.h +151 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std_decode.h +68 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codecs_common.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +5 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +7 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_beta.h +291 -158
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +13174 -10113
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_directfb.h +23 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_fuchsia.h +159 -165
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ggp.h +22 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +3 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +3 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_metal.h +94 -88
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ohos.h +120 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_screen.h +55 -51
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_vi.h +18 -15
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_wayland.h +23 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +31 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +5 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib.h +27 -27
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib_xrandr.h +20 -16
- package/cpp/skia/include/utils/SkEventTracer.h +6 -1
- package/cpp/skia/include/utils/SkOrderedFontMgr.h +1 -1
- package/cpp/skia/include/utils/SkShadowUtils.h +1 -1
- package/cpp/skia/include/utils/SkTextUtils.h +1 -1
- package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +20 -4
- package/cpp/skia/modules/skcms/src/Transform_inl.h +11 -15
- package/cpp/skia/modules/skcms/src/skcms_public.h +2 -0
- package/cpp/skia/modules/skottie/include/ExternalLayer.h +1 -1
- package/cpp/skia/modules/skottie/include/Skottie.h +1 -1
- package/cpp/skia/modules/skottie/include/SkottieProperty.h +1 -1
- package/cpp/skia/modules/skottie/include/SlotManager.h +1 -1
- package/cpp/skia/modules/skottie/include/TextShaper.h +1 -1
- package/cpp/skia/modules/skottie/src/SkottieValue.h +1 -1
- package/cpp/skia/modules/skottie/src/animator/Animator.h +1 -1
- package/cpp/skia/modules/skottie/src/text/Font.h +1 -1
- package/cpp/skia/modules/skottie/src/text/TextAdapter.h +1 -1
- package/cpp/skia/modules/skottie/src/text/TextAnimator.h +3 -2
- package/cpp/skia/modules/skottie/src/text/TextValue.h +1 -1
- package/cpp/skia/modules/skparagraph/include/DartTypes.h +1 -1
- package/cpp/skia/modules/skparagraph/include/FontArguments.h +1 -1
- package/cpp/skia/modules/skparagraph/include/FontCollection.h +5 -1
- package/cpp/skia/modules/skparagraph/include/Metrics.h +1 -1
- package/cpp/skia/modules/skparagraph/include/Paragraph.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphBuilder.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +12 -5
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +1 -1
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +1 -1
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGClipEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGColorFilter.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGDraw.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGEffectNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGeometryEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGeometryNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGradient.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGroup.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGImage.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGInvalidationController.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGMaskEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGMerge.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGOpacityEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPaint.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPath.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPlane.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/sksg/include/SkSGRenderNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGScene.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGText.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGTransform.h +1 -1
- package/cpp/skia/modules/skshaper/include/SkShaper_coretext.h +8 -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 +1 -1
- 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/SkSVGFeMorphology.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/SkSVGFilterContext.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGImage.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGMask.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGText.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGUse.h +1 -1
- package/cpp/skia/src/base/SkAutoLocaleSetter.h +94 -0
- package/cpp/skia/src/base/SkUTF.h +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/types/WebGPU.d.ts +153 -0
- package/lib/commonjs/skia/types/WebGPU.js +6 -0
- package/lib/commonjs/skia/types/WebGPU.js.map +1 -0
- package/lib/commonjs/skia/types/index.d.ts +1 -0
- package/lib/commonjs/skia/types/index.js +11 -0
- package/lib/commonjs/skia/types/index.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +19 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/module/skia/types/WebGPU.d.ts +153 -0
- package/lib/module/skia/types/WebGPU.js +2 -0
- package/lib/module/skia/types/WebGPU.js.map +1 -0
- package/lib/module/skia/types/index.d.ts +1 -0
- package/lib/module/skia/types/index.js +1 -0
- package/lib/module/skia/types/index.js.map +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +19 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/web/LoadSkiaWeb.js +1 -2
- package/lib/module/web/LoadSkiaWeb.js.map +1 -1
- package/lib/typescript/lib/commonjs/skia/types/WebGPU.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/WebGPU.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/typescript/src/skia/types/WebGPU.d.ts +153 -0
- package/lib/typescript/src/skia/types/index.d.ts +1 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/package.json +18 -15
- package/react-native-skia.podspec +59 -7
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +10 -1
- package/src/skia/types/WebGPU.ts +186 -0
- package/src/skia/types/index.ts +1 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +20 -0
- package/src/skia/web/JsiSkPath.ts +8 -2
- package/scripts/install-libs.js +0 -133
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_DIRECTFB_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -12,40 +12,44 @@
|
|
|
12
12
|
**
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
#ifdef __cplusplus
|
|
16
17
|
extern "C" {
|
|
17
18
|
#endif
|
|
18
19
|
|
|
20
|
+
|
|
21
|
+
|
|
19
22
|
// VK_EXT_directfb_surface is a preprocessor guard. Do not pass it to API calls.
|
|
20
23
|
#define VK_EXT_directfb_surface 1
|
|
21
24
|
#define VK_EXT_DIRECTFB_SURFACE_SPEC_VERSION 1
|
|
22
25
|
#define VK_EXT_DIRECTFB_SURFACE_EXTENSION_NAME "VK_EXT_directfb_surface"
|
|
23
26
|
typedef VkFlags VkDirectFBSurfaceCreateFlagsEXT;
|
|
24
27
|
typedef struct VkDirectFBSurfaceCreateInfoEXT {
|
|
25
|
-
VkStructureType
|
|
26
|
-
const void*
|
|
27
|
-
VkDirectFBSurfaceCreateFlagsEXT
|
|
28
|
-
IDirectFB*
|
|
29
|
-
IDirectFBSurface*
|
|
28
|
+
VkStructureType sType;
|
|
29
|
+
const void* pNext;
|
|
30
|
+
VkDirectFBSurfaceCreateFlagsEXT flags;
|
|
31
|
+
IDirectFB* dfb;
|
|
32
|
+
IDirectFBSurface* surface;
|
|
30
33
|
} VkDirectFBSurfaceCreateInfoEXT;
|
|
31
34
|
|
|
32
|
-
typedef VkResult(VKAPI_PTR*
|
|
33
|
-
|
|
34
|
-
const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo,
|
|
35
|
-
const VkAllocationCallbacks* pAllocator,
|
|
36
|
-
VkSurfaceKHR* pSurface);
|
|
37
|
-
typedef VkBool32(VKAPI_PTR* PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT)(
|
|
38
|
-
VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, IDirectFB* dfb);
|
|
35
|
+
typedef VkResult (VKAPI_PTR *PFN_vkCreateDirectFBSurfaceEXT)(VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
36
|
+
typedef VkBool32 (VKAPI_PTR *PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, IDirectFB* dfb);
|
|
39
37
|
|
|
40
38
|
#ifndef VK_NO_PROTOTYPES
|
|
41
|
-
|
|
42
|
-
vkCreateDirectFBSurfaceEXT(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
40
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkCreateDirectFBSurfaceEXT(
|
|
41
|
+
VkInstance instance,
|
|
42
|
+
const VkDirectFBSurfaceCreateInfoEXT* pCreateInfo,
|
|
43
|
+
const VkAllocationCallbacks* pAllocator,
|
|
44
|
+
VkSurfaceKHR* pSurface);
|
|
45
|
+
#endif
|
|
46
46
|
|
|
47
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
47
48
|
VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceDirectFBPresentationSupportEXT(
|
|
48
|
-
|
|
49
|
+
VkPhysicalDevice physicalDevice,
|
|
50
|
+
uint32_t queueFamilyIndex,
|
|
51
|
+
IDirectFB* dfb);
|
|
52
|
+
#endif
|
|
49
53
|
#endif
|
|
50
54
|
|
|
51
55
|
#ifdef __cplusplus
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_FUCHSIA_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -12,121 +12,121 @@
|
|
|
12
12
|
**
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
#ifdef __cplusplus
|
|
16
17
|
extern "C" {
|
|
17
18
|
#endif
|
|
18
19
|
|
|
20
|
+
|
|
21
|
+
|
|
19
22
|
// VK_FUCHSIA_imagepipe_surface is a preprocessor guard. Do not pass it to API calls.
|
|
20
23
|
#define VK_FUCHSIA_imagepipe_surface 1
|
|
21
24
|
#define VK_FUCHSIA_IMAGEPIPE_SURFACE_SPEC_VERSION 1
|
|
22
25
|
#define VK_FUCHSIA_IMAGEPIPE_SURFACE_EXTENSION_NAME "VK_FUCHSIA_imagepipe_surface"
|
|
23
26
|
typedef VkFlags VkImagePipeSurfaceCreateFlagsFUCHSIA;
|
|
24
27
|
typedef struct VkImagePipeSurfaceCreateInfoFUCHSIA {
|
|
25
|
-
VkStructureType
|
|
26
|
-
const void*
|
|
27
|
-
VkImagePipeSurfaceCreateFlagsFUCHSIA
|
|
28
|
-
zx_handle_t
|
|
28
|
+
VkStructureType sType;
|
|
29
|
+
const void* pNext;
|
|
30
|
+
VkImagePipeSurfaceCreateFlagsFUCHSIA flags;
|
|
31
|
+
zx_handle_t imagePipeHandle;
|
|
29
32
|
} VkImagePipeSurfaceCreateInfoFUCHSIA;
|
|
30
33
|
|
|
31
|
-
typedef VkResult(VKAPI_PTR*
|
|
32
|
-
VkInstance instance,
|
|
33
|
-
const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo,
|
|
34
|
-
const VkAllocationCallbacks* pAllocator,
|
|
35
|
-
VkSurfaceKHR* pSurface);
|
|
34
|
+
typedef VkResult (VKAPI_PTR *PFN_vkCreateImagePipeSurfaceFUCHSIA)(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
36
35
|
|
|
37
36
|
#ifndef VK_NO_PROTOTYPES
|
|
38
|
-
|
|
39
|
-
vkCreateImagePipeSurfaceFUCHSIA(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
38
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkCreateImagePipeSurfaceFUCHSIA(
|
|
39
|
+
VkInstance instance,
|
|
40
|
+
const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo,
|
|
41
|
+
const VkAllocationCallbacks* pAllocator,
|
|
42
|
+
VkSurfaceKHR* pSurface);
|
|
43
43
|
#endif
|
|
44
|
+
#endif
|
|
45
|
+
|
|
44
46
|
|
|
45
47
|
// VK_FUCHSIA_external_memory is a preprocessor guard. Do not pass it to API calls.
|
|
46
48
|
#define VK_FUCHSIA_external_memory 1
|
|
47
49
|
#define VK_FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION 1
|
|
48
50
|
#define VK_FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME "VK_FUCHSIA_external_memory"
|
|
49
51
|
typedef struct VkImportMemoryZirconHandleInfoFUCHSIA {
|
|
50
|
-
VkStructureType
|
|
51
|
-
const void*
|
|
52
|
-
VkExternalMemoryHandleTypeFlagBits
|
|
53
|
-
zx_handle_t
|
|
52
|
+
VkStructureType sType;
|
|
53
|
+
const void* pNext;
|
|
54
|
+
VkExternalMemoryHandleTypeFlagBits handleType;
|
|
55
|
+
zx_handle_t handle;
|
|
54
56
|
} VkImportMemoryZirconHandleInfoFUCHSIA;
|
|
55
57
|
|
|
56
58
|
typedef struct VkMemoryZirconHandlePropertiesFUCHSIA {
|
|
57
|
-
VkStructureType
|
|
58
|
-
void*
|
|
59
|
-
uint32_t
|
|
59
|
+
VkStructureType sType;
|
|
60
|
+
void* pNext;
|
|
61
|
+
uint32_t memoryTypeBits;
|
|
60
62
|
} VkMemoryZirconHandlePropertiesFUCHSIA;
|
|
61
63
|
|
|
62
64
|
typedef struct VkMemoryGetZirconHandleInfoFUCHSIA {
|
|
63
|
-
VkStructureType
|
|
64
|
-
const void*
|
|
65
|
-
VkDeviceMemory
|
|
66
|
-
VkExternalMemoryHandleTypeFlagBits
|
|
65
|
+
VkStructureType sType;
|
|
66
|
+
const void* pNext;
|
|
67
|
+
VkDeviceMemory memory;
|
|
68
|
+
VkExternalMemoryHandleTypeFlagBits handleType;
|
|
67
69
|
} VkMemoryGetZirconHandleInfoFUCHSIA;
|
|
68
70
|
|
|
69
|
-
typedef VkResult(VKAPI_PTR*
|
|
70
|
-
|
|
71
|
-
const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
|
|
72
|
-
zx_handle_t* pZirconHandle);
|
|
73
|
-
typedef VkResult(VKAPI_PTR* PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)(
|
|
74
|
-
VkDevice device,
|
|
75
|
-
VkExternalMemoryHandleTypeFlagBits handleType,
|
|
76
|
-
zx_handle_t zirconHandle,
|
|
77
|
-
VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties);
|
|
71
|
+
typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandleFUCHSIA)(VkDevice device, const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle);
|
|
72
|
+
typedef VkResult (VKAPI_PTR *PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA)(VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties);
|
|
78
73
|
|
|
79
74
|
#ifndef VK_NO_PROTOTYPES
|
|
80
|
-
|
|
81
|
-
vkGetMemoryZirconHandleFUCHSIA(
|
|
82
|
-
|
|
83
|
-
|
|
75
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
76
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandleFUCHSIA(
|
|
77
|
+
VkDevice device,
|
|
78
|
+
const VkMemoryGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
|
|
79
|
+
zx_handle_t* pZirconHandle);
|
|
80
|
+
#endif
|
|
84
81
|
|
|
82
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
85
83
|
VKAPI_ATTR VkResult VKAPI_CALL vkGetMemoryZirconHandlePropertiesFUCHSIA(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
VkDevice device,
|
|
85
|
+
VkExternalMemoryHandleTypeFlagBits handleType,
|
|
86
|
+
zx_handle_t zirconHandle,
|
|
87
|
+
VkMemoryZirconHandlePropertiesFUCHSIA* pMemoryZirconHandleProperties);
|
|
88
|
+
#endif
|
|
90
89
|
#endif
|
|
91
90
|
|
|
91
|
+
|
|
92
92
|
// VK_FUCHSIA_external_semaphore is a preprocessor guard. Do not pass it to API calls.
|
|
93
93
|
#define VK_FUCHSIA_external_semaphore 1
|
|
94
94
|
#define VK_FUCHSIA_EXTERNAL_SEMAPHORE_SPEC_VERSION 1
|
|
95
95
|
#define VK_FUCHSIA_EXTERNAL_SEMAPHORE_EXTENSION_NAME "VK_FUCHSIA_external_semaphore"
|
|
96
96
|
typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA {
|
|
97
|
-
VkStructureType
|
|
98
|
-
const void*
|
|
99
|
-
VkSemaphore
|
|
100
|
-
VkSemaphoreImportFlags
|
|
101
|
-
VkExternalSemaphoreHandleTypeFlagBits
|
|
102
|
-
zx_handle_t
|
|
97
|
+
VkStructureType sType;
|
|
98
|
+
const void* pNext;
|
|
99
|
+
VkSemaphore semaphore;
|
|
100
|
+
VkSemaphoreImportFlags flags;
|
|
101
|
+
VkExternalSemaphoreHandleTypeFlagBits handleType;
|
|
102
|
+
zx_handle_t zirconHandle;
|
|
103
103
|
} VkImportSemaphoreZirconHandleInfoFUCHSIA;
|
|
104
104
|
|
|
105
105
|
typedef struct VkSemaphoreGetZirconHandleInfoFUCHSIA {
|
|
106
|
-
VkStructureType
|
|
107
|
-
const void*
|
|
108
|
-
VkSemaphore
|
|
109
|
-
VkExternalSemaphoreHandleTypeFlagBits
|
|
106
|
+
VkStructureType sType;
|
|
107
|
+
const void* pNext;
|
|
108
|
+
VkSemaphore semaphore;
|
|
109
|
+
VkExternalSemaphoreHandleTypeFlagBits handleType;
|
|
110
110
|
} VkSemaphoreGetZirconHandleInfoFUCHSIA;
|
|
111
111
|
|
|
112
|
-
typedef VkResult(VKAPI_PTR*
|
|
113
|
-
|
|
114
|
-
const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo);
|
|
115
|
-
typedef VkResult(VKAPI_PTR* PFN_vkGetSemaphoreZirconHandleFUCHSIA)(
|
|
116
|
-
VkDevice device,
|
|
117
|
-
const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
|
|
118
|
-
zx_handle_t* pZirconHandle);
|
|
112
|
+
typedef VkResult (VKAPI_PTR *PFN_vkImportSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo);
|
|
113
|
+
typedef VkResult (VKAPI_PTR *PFN_vkGetSemaphoreZirconHandleFUCHSIA)(VkDevice device, const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo, zx_handle_t* pZirconHandle);
|
|
119
114
|
|
|
120
115
|
#ifndef VK_NO_PROTOTYPES
|
|
116
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
121
117
|
VKAPI_ATTR VkResult VKAPI_CALL vkImportSemaphoreZirconHandleFUCHSIA(
|
|
122
|
-
|
|
123
|
-
|
|
118
|
+
VkDevice device,
|
|
119
|
+
const VkImportSemaphoreZirconHandleInfoFUCHSIA* pImportSemaphoreZirconHandleInfo);
|
|
120
|
+
#endif
|
|
124
121
|
|
|
125
|
-
|
|
126
|
-
vkGetSemaphoreZirconHandleFUCHSIA(
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
123
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkGetSemaphoreZirconHandleFUCHSIA(
|
|
124
|
+
VkDevice device,
|
|
125
|
+
const VkSemaphoreGetZirconHandleInfoFUCHSIA* pGetZirconHandleInfo,
|
|
126
|
+
zx_handle_t* pZirconHandle);
|
|
129
127
|
#endif
|
|
128
|
+
#endif
|
|
129
|
+
|
|
130
130
|
|
|
131
131
|
// VK_FUCHSIA_buffer_collection is a preprocessor guard. Do not pass it to API calls.
|
|
132
132
|
#define VK_FUCHSIA_buffer_collection 1
|
|
@@ -145,140 +145,134 @@ typedef enum VkImageConstraintsInfoFlagBitsFUCHSIA {
|
|
|
145
145
|
} VkImageConstraintsInfoFlagBitsFUCHSIA;
|
|
146
146
|
typedef VkFlags VkImageConstraintsInfoFlagsFUCHSIA;
|
|
147
147
|
typedef struct VkBufferCollectionCreateInfoFUCHSIA {
|
|
148
|
-
VkStructureType
|
|
149
|
-
const void*
|
|
150
|
-
zx_handle_t
|
|
148
|
+
VkStructureType sType;
|
|
149
|
+
const void* pNext;
|
|
150
|
+
zx_handle_t collectionToken;
|
|
151
151
|
} VkBufferCollectionCreateInfoFUCHSIA;
|
|
152
152
|
|
|
153
153
|
typedef struct VkImportMemoryBufferCollectionFUCHSIA {
|
|
154
|
-
VkStructureType
|
|
155
|
-
const void*
|
|
156
|
-
VkBufferCollectionFUCHSIA
|
|
157
|
-
uint32_t
|
|
154
|
+
VkStructureType sType;
|
|
155
|
+
const void* pNext;
|
|
156
|
+
VkBufferCollectionFUCHSIA collection;
|
|
157
|
+
uint32_t index;
|
|
158
158
|
} VkImportMemoryBufferCollectionFUCHSIA;
|
|
159
159
|
|
|
160
160
|
typedef struct VkBufferCollectionImageCreateInfoFUCHSIA {
|
|
161
|
-
VkStructureType
|
|
162
|
-
const void*
|
|
163
|
-
VkBufferCollectionFUCHSIA
|
|
164
|
-
uint32_t
|
|
161
|
+
VkStructureType sType;
|
|
162
|
+
const void* pNext;
|
|
163
|
+
VkBufferCollectionFUCHSIA collection;
|
|
164
|
+
uint32_t index;
|
|
165
165
|
} VkBufferCollectionImageCreateInfoFUCHSIA;
|
|
166
166
|
|
|
167
167
|
typedef struct VkBufferCollectionConstraintsInfoFUCHSIA {
|
|
168
|
-
VkStructureType
|
|
169
|
-
const void*
|
|
170
|
-
uint32_t
|
|
171
|
-
uint32_t
|
|
172
|
-
uint32_t
|
|
173
|
-
uint32_t
|
|
174
|
-
uint32_t
|
|
168
|
+
VkStructureType sType;
|
|
169
|
+
const void* pNext;
|
|
170
|
+
uint32_t minBufferCount;
|
|
171
|
+
uint32_t maxBufferCount;
|
|
172
|
+
uint32_t minBufferCountForCamping;
|
|
173
|
+
uint32_t minBufferCountForDedicatedSlack;
|
|
174
|
+
uint32_t minBufferCountForSharedSlack;
|
|
175
175
|
} VkBufferCollectionConstraintsInfoFUCHSIA;
|
|
176
176
|
|
|
177
177
|
typedef struct VkBufferConstraintsInfoFUCHSIA {
|
|
178
|
-
VkStructureType
|
|
179
|
-
const void*
|
|
180
|
-
VkBufferCreateInfo
|
|
181
|
-
VkFormatFeatureFlags
|
|
182
|
-
VkBufferCollectionConstraintsInfoFUCHSIA
|
|
178
|
+
VkStructureType sType;
|
|
179
|
+
const void* pNext;
|
|
180
|
+
VkBufferCreateInfo createInfo;
|
|
181
|
+
VkFormatFeatureFlags requiredFormatFeatures;
|
|
182
|
+
VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints;
|
|
183
183
|
} VkBufferConstraintsInfoFUCHSIA;
|
|
184
184
|
|
|
185
185
|
typedef struct VkBufferCollectionBufferCreateInfoFUCHSIA {
|
|
186
|
-
VkStructureType
|
|
187
|
-
const void*
|
|
188
|
-
VkBufferCollectionFUCHSIA
|
|
189
|
-
uint32_t
|
|
186
|
+
VkStructureType sType;
|
|
187
|
+
const void* pNext;
|
|
188
|
+
VkBufferCollectionFUCHSIA collection;
|
|
189
|
+
uint32_t index;
|
|
190
190
|
} VkBufferCollectionBufferCreateInfoFUCHSIA;
|
|
191
191
|
|
|
192
192
|
typedef struct VkSysmemColorSpaceFUCHSIA {
|
|
193
|
-
VkStructureType
|
|
194
|
-
const void*
|
|
195
|
-
uint32_t
|
|
193
|
+
VkStructureType sType;
|
|
194
|
+
const void* pNext;
|
|
195
|
+
uint32_t colorSpace;
|
|
196
196
|
} VkSysmemColorSpaceFUCHSIA;
|
|
197
197
|
|
|
198
198
|
typedef struct VkBufferCollectionPropertiesFUCHSIA {
|
|
199
|
-
VkStructureType
|
|
200
|
-
void*
|
|
201
|
-
uint32_t
|
|
202
|
-
uint32_t
|
|
203
|
-
uint32_t
|
|
204
|
-
uint64_t
|
|
205
|
-
VkFormatFeatureFlags
|
|
206
|
-
VkSysmemColorSpaceFUCHSIA
|
|
207
|
-
VkComponentMapping
|
|
208
|
-
VkSamplerYcbcrModelConversion
|
|
209
|
-
VkSamplerYcbcrRange
|
|
210
|
-
VkChromaLocation
|
|
211
|
-
VkChromaLocation
|
|
199
|
+
VkStructureType sType;
|
|
200
|
+
void* pNext;
|
|
201
|
+
uint32_t memoryTypeBits;
|
|
202
|
+
uint32_t bufferCount;
|
|
203
|
+
uint32_t createInfoIndex;
|
|
204
|
+
uint64_t sysmemPixelFormat;
|
|
205
|
+
VkFormatFeatureFlags formatFeatures;
|
|
206
|
+
VkSysmemColorSpaceFUCHSIA sysmemColorSpaceIndex;
|
|
207
|
+
VkComponentMapping samplerYcbcrConversionComponents;
|
|
208
|
+
VkSamplerYcbcrModelConversion suggestedYcbcrModel;
|
|
209
|
+
VkSamplerYcbcrRange suggestedYcbcrRange;
|
|
210
|
+
VkChromaLocation suggestedXChromaOffset;
|
|
211
|
+
VkChromaLocation suggestedYChromaOffset;
|
|
212
212
|
} VkBufferCollectionPropertiesFUCHSIA;
|
|
213
213
|
|
|
214
214
|
typedef struct VkImageFormatConstraintsInfoFUCHSIA {
|
|
215
|
-
VkStructureType
|
|
216
|
-
const void*
|
|
217
|
-
VkImageCreateInfo
|
|
218
|
-
VkFormatFeatureFlags
|
|
219
|
-
VkImageFormatConstraintsFlagsFUCHSIA
|
|
220
|
-
uint64_t
|
|
221
|
-
uint32_t
|
|
222
|
-
const VkSysmemColorSpaceFUCHSIA*
|
|
215
|
+
VkStructureType sType;
|
|
216
|
+
const void* pNext;
|
|
217
|
+
VkImageCreateInfo imageCreateInfo;
|
|
218
|
+
VkFormatFeatureFlags requiredFormatFeatures;
|
|
219
|
+
VkImageFormatConstraintsFlagsFUCHSIA flags;
|
|
220
|
+
uint64_t sysmemPixelFormat;
|
|
221
|
+
uint32_t colorSpaceCount;
|
|
222
|
+
const VkSysmemColorSpaceFUCHSIA* pColorSpaces;
|
|
223
223
|
} VkImageFormatConstraintsInfoFUCHSIA;
|
|
224
224
|
|
|
225
225
|
typedef struct VkImageConstraintsInfoFUCHSIA {
|
|
226
|
-
VkStructureType
|
|
227
|
-
const void*
|
|
228
|
-
uint32_t
|
|
229
|
-
const VkImageFormatConstraintsInfoFUCHSIA*
|
|
230
|
-
VkBufferCollectionConstraintsInfoFUCHSIA
|
|
231
|
-
VkImageConstraintsInfoFlagsFUCHSIA
|
|
226
|
+
VkStructureType sType;
|
|
227
|
+
const void* pNext;
|
|
228
|
+
uint32_t formatConstraintsCount;
|
|
229
|
+
const VkImageFormatConstraintsInfoFUCHSIA* pFormatConstraints;
|
|
230
|
+
VkBufferCollectionConstraintsInfoFUCHSIA bufferCollectionConstraints;
|
|
231
|
+
VkImageConstraintsInfoFlagsFUCHSIA flags;
|
|
232
232
|
} VkImageConstraintsInfoFUCHSIA;
|
|
233
233
|
|
|
234
|
-
typedef VkResult(VKAPI_PTR*
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
typedef VkResult(VKAPI_PTR* PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)(
|
|
240
|
-
VkDevice device,
|
|
241
|
-
VkBufferCollectionFUCHSIA collection,
|
|
242
|
-
const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo);
|
|
243
|
-
typedef VkResult(VKAPI_PTR* PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)(
|
|
244
|
-
VkDevice device,
|
|
245
|
-
VkBufferCollectionFUCHSIA collection,
|
|
246
|
-
const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
|
|
247
|
-
typedef void(VKAPI_PTR* PFN_vkDestroyBufferCollectionFUCHSIA)(
|
|
248
|
-
VkDevice device,
|
|
249
|
-
VkBufferCollectionFUCHSIA collection,
|
|
250
|
-
const VkAllocationCallbacks* pAllocator);
|
|
251
|
-
typedef VkResult(VKAPI_PTR* PFN_vkGetBufferCollectionPropertiesFUCHSIA)(
|
|
252
|
-
VkDevice device,
|
|
253
|
-
VkBufferCollectionFUCHSIA collection,
|
|
254
|
-
VkBufferCollectionPropertiesFUCHSIA* pProperties);
|
|
234
|
+
typedef VkResult (VKAPI_PTR *PFN_vkCreateBufferCollectionFUCHSIA)(VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferCollectionFUCHSIA* pCollection);
|
|
235
|
+
typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionImageConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo);
|
|
236
|
+
typedef VkResult (VKAPI_PTR *PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
|
|
237
|
+
typedef void (VKAPI_PTR *PFN_vkDestroyBufferCollectionFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, const VkAllocationCallbacks* pAllocator);
|
|
238
|
+
typedef VkResult (VKAPI_PTR *PFN_vkGetBufferCollectionPropertiesFUCHSIA)(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA* pProperties);
|
|
255
239
|
|
|
256
240
|
#ifndef VK_NO_PROTOTYPES
|
|
257
|
-
|
|
258
|
-
vkCreateBufferCollectionFUCHSIA(
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
241
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
242
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkCreateBufferCollectionFUCHSIA(
|
|
243
|
+
VkDevice device,
|
|
244
|
+
const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo,
|
|
245
|
+
const VkAllocationCallbacks* pAllocator,
|
|
246
|
+
VkBufferCollectionFUCHSIA* pCollection);
|
|
247
|
+
#endif
|
|
262
248
|
|
|
249
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
263
250
|
VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionImageConstraintsFUCHSIA(
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
251
|
+
VkDevice device,
|
|
252
|
+
VkBufferCollectionFUCHSIA collection,
|
|
253
|
+
const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo);
|
|
254
|
+
#endif
|
|
267
255
|
|
|
256
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
268
257
|
VKAPI_ATTR VkResult VKAPI_CALL vkSetBufferCollectionBufferConstraintsFUCHSIA(
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
258
|
+
VkDevice device,
|
|
259
|
+
VkBufferCollectionFUCHSIA collection,
|
|
260
|
+
const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo);
|
|
261
|
+
#endif
|
|
262
|
+
|
|
263
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
264
|
+
VKAPI_ATTR void VKAPI_CALL vkDestroyBufferCollectionFUCHSIA(
|
|
265
|
+
VkDevice device,
|
|
266
|
+
VkBufferCollectionFUCHSIA collection,
|
|
267
|
+
const VkAllocationCallbacks* pAllocator);
|
|
268
|
+
#endif
|
|
269
|
+
|
|
270
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
271
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkGetBufferCollectionPropertiesFUCHSIA(
|
|
272
|
+
VkDevice device,
|
|
273
|
+
VkBufferCollectionFUCHSIA collection,
|
|
274
|
+
VkBufferCollectionPropertiesFUCHSIA* pProperties);
|
|
275
|
+
#endif
|
|
282
276
|
#endif
|
|
283
277
|
|
|
284
278
|
#ifdef __cplusplus
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_GGP_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -12,46 +12,49 @@
|
|
|
12
12
|
**
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
#ifdef __cplusplus
|
|
16
17
|
extern "C" {
|
|
17
18
|
#endif
|
|
18
19
|
|
|
20
|
+
|
|
21
|
+
|
|
19
22
|
// VK_GGP_stream_descriptor_surface is a preprocessor guard. Do not pass it to API calls.
|
|
20
23
|
#define VK_GGP_stream_descriptor_surface 1
|
|
21
24
|
#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_SPEC_VERSION 1
|
|
22
25
|
#define VK_GGP_STREAM_DESCRIPTOR_SURFACE_EXTENSION_NAME "VK_GGP_stream_descriptor_surface"
|
|
23
26
|
typedef VkFlags VkStreamDescriptorSurfaceCreateFlagsGGP;
|
|
24
27
|
typedef struct VkStreamDescriptorSurfaceCreateInfoGGP {
|
|
25
|
-
VkStructureType
|
|
26
|
-
const void*
|
|
27
|
-
VkStreamDescriptorSurfaceCreateFlagsGGP
|
|
28
|
-
GgpStreamDescriptor
|
|
28
|
+
VkStructureType sType;
|
|
29
|
+
const void* pNext;
|
|
30
|
+
VkStreamDescriptorSurfaceCreateFlagsGGP flags;
|
|
31
|
+
GgpStreamDescriptor streamDescriptor;
|
|
29
32
|
} VkStreamDescriptorSurfaceCreateInfoGGP;
|
|
30
33
|
|
|
31
|
-
typedef VkResult(VKAPI_PTR*
|
|
32
|
-
VkInstance instance,
|
|
33
|
-
const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
|
|
34
|
-
const VkAllocationCallbacks* pAllocator,
|
|
35
|
-
VkSurfaceKHR* pSurface);
|
|
34
|
+
typedef VkResult (VKAPI_PTR *PFN_vkCreateStreamDescriptorSurfaceGGP)(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
36
35
|
|
|
37
36
|
#ifndef VK_NO_PROTOTYPES
|
|
38
|
-
|
|
39
|
-
vkCreateStreamDescriptorSurfaceGGP(
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
38
|
+
VKAPI_ATTR VkResult VKAPI_CALL vkCreateStreamDescriptorSurfaceGGP(
|
|
39
|
+
VkInstance instance,
|
|
40
|
+
const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo,
|
|
41
|
+
const VkAllocationCallbacks* pAllocator,
|
|
42
|
+
VkSurfaceKHR* pSurface);
|
|
43
43
|
#endif
|
|
44
|
+
#endif
|
|
45
|
+
|
|
44
46
|
|
|
45
47
|
// VK_GGP_frame_token is a preprocessor guard. Do not pass it to API calls.
|
|
46
48
|
#define VK_GGP_frame_token 1
|
|
47
|
-
#define VK_GGP_FRAME_TOKEN_SPEC_VERSION
|
|
49
|
+
#define VK_GGP_FRAME_TOKEN_SPEC_VERSION 1
|
|
48
50
|
#define VK_GGP_FRAME_TOKEN_EXTENSION_NAME "VK_GGP_frame_token"
|
|
49
51
|
typedef struct VkPresentFrameTokenGGP {
|
|
50
|
-
VkStructureType
|
|
51
|
-
const void*
|
|
52
|
-
GgpFrameToken
|
|
52
|
+
VkStructureType sType;
|
|
53
|
+
const void* pNext;
|
|
54
|
+
GgpFrameToken frameToken;
|
|
53
55
|
} VkPresentFrameTokenGGP;
|
|
54
56
|
|
|
57
|
+
|
|
55
58
|
#ifdef __cplusplus
|
|
56
59
|
}
|
|
57
60
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_IOS_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -34,12 +34,14 @@ typedef struct VkIOSSurfaceCreateInfoMVK {
|
|
|
34
34
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateIOSSurfaceMVK)(VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
35
35
|
|
|
36
36
|
#ifndef VK_NO_PROTOTYPES
|
|
37
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
37
38
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateIOSSurfaceMVK(
|
|
38
39
|
VkInstance instance,
|
|
39
40
|
const VkIOSSurfaceCreateInfoMVK* pCreateInfo,
|
|
40
41
|
const VkAllocationCallbacks* pAllocator,
|
|
41
42
|
VkSurfaceKHR* pSurface);
|
|
42
43
|
#endif
|
|
44
|
+
#endif
|
|
43
45
|
|
|
44
46
|
#ifdef __cplusplus
|
|
45
47
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_MACOS_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -34,12 +34,14 @@ typedef struct VkMacOSSurfaceCreateInfoMVK {
|
|
|
34
34
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
35
35
|
|
|
36
36
|
#ifndef VK_NO_PROTOTYPES
|
|
37
|
+
#ifndef VK_ONLY_EXPORTED_PROTOTYPES
|
|
37
38
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateMacOSSurfaceMVK(
|
|
38
39
|
VkInstance instance,
|
|
39
40
|
const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
|
|
40
41
|
const VkAllocationCallbacks* pAllocator,
|
|
41
42
|
VkSurfaceKHR* pSurface);
|
|
42
43
|
#endif
|
|
44
|
+
#endif
|
|
43
45
|
|
|
44
46
|
#ifdef __cplusplus
|
|
45
47
|
}
|