Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7f0745387b13f48683c6891635ebf60fa8122359
https://github.com/WebKit/WebKit/commit/7f0745387b13f48683c6891635ebf60fa8122359
Author: Richard Robinson <[email protected]>
Date: 2025-12-19 (Fri, 19 Dec 2025)
Changed paths:
M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj
M Source/WebGPU/WebGPU/Buffer.h
M Source/WebGPU/WebGPU/Buffer.mm
M Source/WebGPU/WebGPU/Buffer.swift
M Source/WebGPU/WebGPU/CommandBuffer.h
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/CommandEncoder.swift
M Source/WebGPU/WebGPU/ComputePassEncoder.h
M Source/WebGPU/WebGPU/CxxBridging.h
A Source/WebGPU/WebGPU/CxxBridgingPublic.h
M Source/WebGPU/WebGPU/Device.h
M Source/WebGPU/WebGPU/Device.mm
M Source/WebGPU/WebGPU/HardwareCapabilities.h
M Source/WebGPU/WebGPU/QuerySet.h
M Source/WebGPU/WebGPU/Queue.mm
M Source/WebGPU/WebGPU/Queue.swift
M Source/WebGPU/WebGPU/Texture.h
M Source/WebGPU/WebGPU/TextureView.h
A Source/WebGPU/WebGPU/WGPUBufferImpl.h
A Source/WebGPU/WebGPU/WGPUQuerySetImpl.h
A Source/WebGPU/WebGPU/WGPUTextureImpl.h
A Source/WebGPU/WebGPU/WGPUTextureViewImpl.h
M Source/WebGPU/WebGPU/WebGPU.modulemap
Log Message:
-----------
Re-land [Swift in WebKit] Fix the modularization of WebGPU (part 1)
https://bugs.webkit.org/show_bug.cgi?id=304454
rdar://166832914
Reviewed by Mike Wyrzykowski.
This is effectively the same as 304590@main, but only the part that fixes the
public module and not the private or internal ones.
* Source/WebGPU/WebGPU.xcodeproj/project.pbxproj:
* Source/WebGPU/WebGPU/Buffer.h:
* Source/WebGPU/WebGPU/Buffer.mm:
* Source/WebGPU/WebGPU/Buffer.swift:
(Buffer_copyFrom_thunk(_:from:offset:)):
(Buffer_getMappedRange_thunk(_:offset:size:)):
(WebGPU.getMappedRange(_:size:)):
* Source/WebGPU/WebGPU/CommandBuffer.h:
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
* Source/WebGPU/WebGPU/CommandEncoder.swift:
(WebGPU.clearTextureIfNeeded(_:slice:)):
(resolveQuerySet(_:querySet:firstQuery:queryCount:destination:destinationOffset:)):
Deleted.
(CommandEncoder_copyBufferToBuffer_thunk(_:source:sourceOffset:destination:destinationOffset:size:)):
Deleted.
(WebGPU.clearTextureIfNeeded(_:slice:device:blitCommandEncoder:)): Deleted.
* Source/WebGPU/WebGPU/ComputePassEncoder.h:
* Source/WebGPU/WebGPU/CxxBridging.h:
* Source/WebGPU/WebGPU/CxxBridgingPublic.h: Copied from
Source/WebGPU/WebGPU/HardwareCapabilities.h.
* Source/WebGPU/WebGPU/Device.h:
(WebGPU::Device::vertexBufferIndexForBindGroup const): Deleted.
* Source/WebGPU/WebGPU/Device.mm:
* Source/WebGPU/WebGPU/HardwareCapabilities.h:
* Source/WebGPU/WebGPU/QuerySet.h:
* Source/WebGPU/WebGPU/Queue.mm:
* Source/WebGPU/WebGPU/Queue.swift:
(Queue_writeBuffer_thunk(_:buffer:bufferOffset:data:)):
(WebGPU.writeBuffer(_:bufferOffset:data:)):
* Source/WebGPU/WebGPU/Texture.h:
* Source/WebGPU/WebGPU/TextureView.h:
* Source/WebGPU/WebGPU/WGPUBufferImpl.h: Copied from
Source/WebGPU/WebGPU/HardwareCapabilities.h.
* Source/WebGPU/WebGPU/WGPUQuerySetImpl.h: Copied from
Source/WebGPU/WebGPU/HardwareCapabilities.h.
* Source/WebGPU/WebGPU/WGPUTextureImpl.h: Copied from
Source/WebGPU/WebGPU/HardwareCapabilities.h.
* Source/WebGPU/WebGPU/WGPUTextureViewImpl.h: Copied from
Source/WebGPU/WebGPU/HardwareCapabilities.h.
* Source/WebGPU/WebGPU/WebGPU.modulemap:
Canonical link: https://commits.webkit.org/304779@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications