Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 22e9c32f89ad789275cf978f9d49e4206ac04536 https://github.com/WebKit/WebKit/commit/22e9c32f89ad789275cf978f9d49e4206ac04536 Author: Mike Wyrzykowski <mwyrzykow...@apple.com> Date: 2025-09-12 (Fri, 12 Sep 2025)
Changed paths: M Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCommandEncoderImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUCreateImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUQueueImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPURenderBundleEncoderImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp M Source/WebGPU/WebGPU.xcodeproj/project.pbxproj M Source/WebGPU/WebGPU/Adapter.mm M Source/WebGPU/WebGPU/BindGroup.mm M Source/WebGPU/WebGPU/BindGroupLayout.mm M Source/WebGPU/WebGPU/Buffer.mm M Source/WebGPU/WebGPU/CommandEncoder.mm M Source/WebGPU/WebGPU/CommandEncoder.swift M Source/WebGPU/WebGPU/ComputePipeline.mm M Source/WebGPU/WebGPU/Device.mm M Source/WebGPU/WebGPU/HardwareCapabilities.mm M Source/WebGPU/WebGPU/Instance.mm M Source/WebGPU/WebGPU/Internal/Logging.h M Source/WebGPU/WebGPU/PipelineLayout.mm M Source/WebGPU/WebGPU/PresentationContext.mm R Source/WebGPU/WebGPU/PresentationContextCoreAnimation.h R Source/WebGPU/WebGPU/PresentationContextCoreAnimation.mm M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm M Source/WebGPU/WebGPU/QuerySet.mm M Source/WebGPU/WebGPU/Queue.mm M Source/WebGPU/WebGPU/RenderBundleEncoder.mm M Source/WebGPU/WebGPU/RenderPipeline.mm M Source/WebGPU/WebGPU/Sampler.mm M Source/WebGPU/WebGPU/ShaderModule.mm M Source/WebGPU/WebGPU/Texture.mm M Source/WebGPU/WebGPU/WebGPU.h M Source/WebGPU/WebGPU/WebGPUExt.h M Source/WebGPU/WebGPU/XRSubImage.mm Log Message: ----------- [WebGPU] Remove largely unused nextInChain mechanism https://bugs.webkit.org/show_bug.cgi?id=298782 rdar://160475832 Reviewed by Geoffrey Garen. We weren't really using this mechanism and it is not easy to prove statically that it is safe to make such casts, so we can just remove it. Test: no regression to CTS * Source/WebCore/Modules/WebGPU/Implementation/WebGPUAdapterImpl.cpp: (WebCore::WebGPU::supportedLimits): (WebCore::WebGPU::AdapterImpl::requestDevice): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUCommandEncoderImpl.cpp: (WebCore::WebGPU::CommandEncoderImpl::beginRenderPass): (WebCore::WebGPU::CommandEncoderImpl::beginComputePass): (WebCore::WebGPU::CommandEncoderImpl::copyBufferToTexture): (WebCore::WebGPU::CommandEncoderImpl::copyTextureToBuffer): (WebCore::WebGPU::CommandEncoderImpl::copyTextureToTexture): (WebCore::WebGPU::CommandEncoderImpl::finish): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUCreateImpl.cpp: (WebCore::WebGPU::create): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUDeviceImpl.cpp: (WebCore::WebGPU::DeviceImpl::createBuffer): (WebCore::WebGPU::DeviceImpl::createTexture): (WebCore::WebGPU::DeviceImpl::createSampler): (WebCore::WebGPU::DeviceImpl::importExternalTexture): (WebCore::WebGPU::DeviceImpl::createBindGroupLayout): (WebCore::WebGPU::DeviceImpl::createPipelineLayout): (WebCore::WebGPU::DeviceImpl::createBindGroup): (WebCore::WebGPU::DeviceImpl::createShaderModule): (WebCore::WebGPU::convertToBacking): (WebCore::WebGPU::DeviceImpl::createCommandEncoder): (WebCore::WebGPU::DeviceImpl::createRenderBundleEncoder): (WebCore::WebGPU::DeviceImpl::createQuerySet): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUImpl.cpp: (WebCore::WebGPU::GPUImpl::requestAdapter): (WebCore::WebGPU::GPUImpl::createPresentationContext): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.cpp: (WebCore::WebGPU::PresentationContextImpl::configure): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUQueueImpl.cpp: (WebCore::WebGPU::QueueImpl::writeTexture): * Source/WebCore/Modules/WebGPU/Implementation/WebGPURenderBundleEncoderImpl.cpp: (WebCore::WebGPU::RenderBundleEncoderImpl::finish): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUTextureImpl.cpp: (WebCore::WebGPU::TextureImpl::createView): * Source/WebGPU/WebGPU.xcodeproj/project.pbxproj: * Source/WebGPU/WebGPU/Adapter.mm: (WebGPU::Adapter::getLimits): (WebGPU::Adapter::requestDevice): * Source/WebGPU/WebGPU/BindGroup.mm: (WebGPU::Device::createBindGroup): * Source/WebGPU/WebGPU/BindGroupLayout.mm: (WebGPU::createArgumentDescriptor): (WebGPU::Device::createBindGroupLayout): * Source/WebGPU/WebGPU/Buffer.mm: (WebGPU::Device::createBuffer): * Source/WebGPU/WebGPU/CommandEncoder.mm: (WebGPU::Device::createCommandEncoder): (WebGPU::CommandEncoder::beginComputePass): (WebGPU::CommandEncoder::copyBufferToTexture): (WebGPU::CommandEncoder::copyTextureToBuffer): (WebGPU::CommandEncoder::copyTextureToTexture): (WebGPU::CommandEncoder::finish): * Source/WebGPU/WebGPU/CommandEncoder.swift: (WebGPU.finish(_:)): (WebGPU.copyTextureToBuffer(_:destination:copySize:)): (WebGPU.copyBufferToTexture(_:destination:copySize:)): (WebGPU.copyTextureToTexture(_:destination:copySize:)): (WebGPU.beginComputePass(_:)): * Source/WebGPU/WebGPU/ComputePipeline.mm: * Source/WebGPU/WebGPU/Device.mm: (WebGPU::Device::getLimits): * Source/WebGPU/WebGPU/HardwareCapabilities.mm: (WebGPU::isWebGPUSwiftEnabled): * Source/WebGPU/WebGPU/Instance.mm: (WebGPU::Instance::create): (WebGPU::Instance::requestAdapter): * Source/WebGPU/WebGPU/Internal/Logging.h: * Source/WebGPU/WebGPU/PipelineLayout.mm: (WebGPU::Device::createPipelineLayout): * Source/WebGPU/WebGPU/PresentationContext.mm: (WebGPU::PresentationContext::create): * Source/WebGPU/WebGPU/PresentationContextCoreAnimation.h: Removed. * Source/WebGPU/WebGPU/PresentationContextCoreAnimation.mm: Removed. * Source/WebGPU/WebGPU/PresentationContextIOSurface.mm: (WebGPU::PresentationContextIOSurface::create): (WebGPU::PresentationContextIOSurface::configure): * Source/WebGPU/WebGPU/QuerySet.mm: (WebGPU::Device::createQuerySet): * Source/WebGPU/WebGPU/Queue.mm: (WebGPU::Queue::writeTexture): * Source/WebGPU/WebGPU/RenderBundleEncoder.mm: (WebGPU::Device::createRenderBundleEncoder): * Source/WebGPU/WebGPU/RenderPipeline.mm: (WebGPU::makeBindingLayout): (WebGPU::Device::generatePipelineLayout): * Source/WebGPU/WebGPU/Sampler.mm: (WebGPU::Device::createSampler): * Source/WebGPU/WebGPU/ShaderModule.mm: (WebGPU::findShaderModuleParameters): (WebGPU::earlyCompileShaderModule): (WebGPU::Device::createShaderModule): (WebGPU::convertMessages): (WebGPU::ShaderModule::getCompilationInfo): * Source/WebGPU/WebGPU/Texture.mm: (WebGPU::Device::createTexture): (WebGPU::Texture::createView): * Source/WebGPU/WebGPU/WebGPU.h: (wgpuGetCommandBufferDescriptorNextChainedStruct): Deleted. (wgpuGetTextureDataLayoutNextInChain): Deleted. (wgpuGetComputePassDescriptorNextChainedStruct): Deleted. (wgpuGetImageCopyBufferNextInChain): Deleted. (wgpuGetImageCopyTextureNextInChain): Deleted. * Source/WebGPU/WebGPU/WebGPUExt.h: * Source/WebGPU/WebGPU/XRSubImage.mm: (WebGPU::XRSubImage::update): Canonical link: https://commits.webkit.org/299916@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