Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: d475dd8824a5353998281da54c246aa89e4677bb https://github.com/WebKit/WebKit/commit/d475dd8824a5353998281da54c246aa89e4677bb Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths: M Source/WTF/wtf/SwiftBridging.h M Source/WTF/wtf/text/WTFString.h M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCommandEncoderImpl.cpp M Source/WebGPU/WebGPU/APIConversions.h M Source/WebGPU/WebGPU/Buffer.h M Source/WebGPU/WebGPU/CommandEncoder.h M Source/WebGPU/WebGPU/CommandEncoder.mm M Source/WebGPU/WebGPU/CommandEncoder.swift M Source/WebGPU/WebGPU/Internal/WebGPUSwiftInternal.h M Source/WebGPU/WebGPU/QuerySet.h M Source/WebGPU/WebGPU/QuerySet.mm M Source/WebGPU/WebGPU/Queue.h M Source/WebGPU/WebGPU/Texture.h M Source/WebGPU/WebGPU/TextureView.h M Source/WebGPU/WebGPU/WebGPU.h Log Message: ----------- [WebGPU] Reduce usages of unsafe in Swift https://bugs.webkit.org/show_bug.cgi?id=296998 rdar://157660610 Reviewed by Mike Wyrzykowski. Add annotations to reduce usages of `unsafe`. * Source/WebGPU/WebGPU/APIConversions.h: * Source/WebGPU/WebGPU/Buffer.h: * Source/WebGPU/WebGPU/CommandBuffer.h: * Source/WebGPU/WebGPU/CommandBuffer.mm: * Source/WebGPU/WebGPU/CommandEncoder.swift: (CommandEncoder_finish_thunk(_:descriptor:)): (WebGPU.finish(_:)): (WebGPU.errorValidatingCopyTextureToTexture(_:destination:copySize:)): (WebGPU.errorValidatingCopyTextureToBuffer(_:destination:copySize:)): (WebGPU.errorValidatingImageCopyBuffer(_:)): (WebGPU.errorValidatingCopyBufferToTexture(_:destination:copySize:)): (WebGPU.errorValidatingRenderPassDescriptor(_:)): (WebGPU.errorValidatingTimestampWrites(_:)): (WebGPU.errorValidatingComputePassDescriptor(_:)): (WebGPU.beginRenderPass(_:)): (WebGPU.copyTextureToBuffer(_:destination:copySize:)): (WebGPU.copyBufferToTexture(_:destination:copySize:)): (WebGPU.copyTextureToTexture(_:destination:copySize:)): (WebGPU.beginComputePass(_:)): * Source/WebGPU/WebGPU/ComputePassEncoder.h: * Source/WebGPU/WebGPU/ComputePassEncoder.mm: * Source/WebGPU/WebGPU/QuerySet.h: * Source/WebGPU/WebGPU/RenderPassEncoder.h: * Source/WebGPU/WebGPU/RenderPassEncoder.mm: * Source/WebGPU/WebGPU/Texture.h: * Source/WebGPU/WebGPU/WebGPU.h: (wgpuGetCommandBufferDescriptorNextChainedStruct): (wgpuGetComputePassDescriptorNextChainedStruct): (wgpuGetComputePassDescriptorTimestampWrites): (wgpuGetRenderPassDescriptorNextChainedStruct): (wgpuGetRenderPassDescriptorTimestampWrites): Canonical link: https://commits.webkit.org/299114@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes