Move WebGPU platform code to platform/graphics/gpu
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2018 17:24:47 +0000 (17:24 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Nov 2018 17:24:47 +0000 (17:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=191867
<rdar://problem/46190993>

Reviewed by Antoine Quint.

The underlying implementation of WebGPU doesn't need to live in
Modules, since it technically could be used by other parts of the system. It
makes more sense for it to be in platform/graphics/gpu.

Move...
- Modules/webgpu/GPU* -> platform/graphics/gpu
- Modules/webgpu/cocoa -> platform/graphics/gpu/cocoa
- platform/graphics/gpu/GPULegacy* -> platform/graphics/gpu/legacy/
- platform/graphics/gpu/cocoa/GPULegacy* -> platform/graphics/gpu/legacy/cocoa

* Sources.txt:
* SourcesCocoa.txt:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/gpu/GPUCommandBuffer.h: Renamed from Source/WebCore/Modules/webgpu/GPUCommandBuffer.h.
* platform/graphics/gpu/GPUDevice.cpp: Renamed from Source/WebCore/Modules/webgpu/GPUDevice.cpp.
(WebCore::GPUDevice::createShaderModule const):
(WebCore::GPUDevice::createRenderPipeline const):
(WebCore::GPUDevice::createCommandBuffer):
(WebCore::GPUDevice::getQueue):
* platform/graphics/gpu/GPUDevice.h: Renamed from Source/WebCore/Modules/webgpu/GPUDevice.h.
(WebCore::GPUDevice::platformDevice const):
* platform/graphics/gpu/GPUPipelineDescriptorBase.h: Renamed from Source/WebCore/Modules/webgpu/GPUPipelineDescriptorBase.h.
* platform/graphics/gpu/GPUPipelineStageDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPUPipelineStageDescriptor.h.
* platform/graphics/gpu/GPUQueue.h: Renamed from Source/WebCore/Modules/webgpu/GPUQueue.h.
(WebCore::GPUQueue::platformQueue const):
* platform/graphics/gpu/GPURenderPipeline.h: Renamed from Source/WebCore/Modules/webgpu/GPURenderPipeline.h.
(WebCore::GPURenderPipeline::platformRenderPipeline const):
* platform/graphics/gpu/GPURenderPipelineDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPURenderPipelineDescriptor.h.
* platform/graphics/gpu/GPUShaderModule.h: Renamed from Source/WebCore/Modules/webgpu/GPUShaderModule.h.
(WebCore::GPUShaderModule::platformShaderModule const):
* platform/graphics/gpu/GPUShaderModuleDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPUShaderModuleDescriptor.h.
* platform/graphics/gpu/GPUSwapChain.h: Renamed from Source/WebCore/Modules/webgpu/GPUSwapChain.h.
(WebCore::GPUSwapChain::platformLayer const):
* platform/graphics/gpu/GPUTexture.h: Renamed from Source/WebCore/Modules/webgpu/GPUTexture.h.
* platform/graphics/gpu/GPUTextureFormatEnum.h: Renamed from Source/WebCore/Modules/webgpu/GPUTextureFormatEnum.h.
* platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUCommandBufferMetal.mm.
(WebCore::GPUCommandBuffer::create):
(WebCore::GPUCommandBuffer::GPUCommandBuffer):
* platform/graphics/gpu/cocoa/GPUDeviceMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUDeviceMetal.mm.
(WebCore::GPUDevice::create):
(WebCore::GPUDevice::GPUDevice):
* platform/graphics/gpu/cocoa/GPUQueueMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUQueueMetal.mm.
(WebCore::GPUQueue::create):
(WebCore::GPUQueue::GPUQueue):
* platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPURenderPipelineMetal.mm.
(WebCore::setFunctionsForPipelineDescriptor):
(WebCore::GPURenderPipeline::create):
(WebCore::GPURenderPipeline::GPURenderPipeline):
* platform/graphics/gpu/cocoa/GPUShaderModuleMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUShaderModuleMetal.mm.
(WebCore::GPUShaderModule::create):
(WebCore::GPUShaderModule::GPUShaderModule):
* platform/graphics/gpu/cocoa/GPUSwapChainMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUSwapChainMetal.mm.
(WebCore::GPUSwapChain::create):
(WebCore::GPUSwapChain::GPUSwapChain):
(WebCore::GPUSwapChain::setDevice):
(WebCore::platformTextureFormatForGPUTextureFormat):
(WebCore::GPUSwapChain::setFormat):
(WebCore::GPUSwapChain::reshape):
(WebCore::GPUSwapChain::getNextTexture):
(WebCore::GPUSwapChain::present):
* platform/graphics/gpu/cocoa/GPUTextureMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUTextureMetal.mm.
(WebCore::GPUTexture::create):
(WebCore::GPUTexture::GPUTexture):
(WebCore::GPUTexture::createDefaultTextureView):
* platform/graphics/gpu/legacy/GPULegacyBuffer.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.cpp.
(WebCore::GPULegacyBuffer::~GPULegacyBuffer):
(WebCore::GPULegacyBuffer::length const):
* platform/graphics/gpu/legacy/GPULegacyBuffer.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.h.
(WebCore::GPULegacyBuffer::contents const):
(WebCore::GPULegacyBuffer::metal const):
* platform/graphics/gpu/legacy/GPULegacyCommandBuffer.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.cpp.
(WebCore::GPULegacyCommandBuffer::~GPULegacyCommandBuffer):
* platform/graphics/gpu/legacy/GPULegacyCommandBuffer.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.h.
(WebCore::GPULegacyCommandBuffer::metal const):
* platform/graphics/gpu/legacy/GPULegacyCommandQueue.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.cpp.
(WebCore::GPULegacyCommandQueue::~GPULegacyCommandQueue):
* platform/graphics/gpu/legacy/GPULegacyCommandQueue.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.h.
(WebCore::GPULegacyCommandQueue::metal const):
* platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.cpp.
(WebCore::GPULegacyComputeCommandEncoder::~GPULegacyComputeCommandEncoder):
* platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.h.
* platform/graphics/gpu/legacy/GPULegacyComputePipelineState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.cpp.
(WebCore::GPULegacyComputePipelineState::~GPULegacyComputePipelineState):
* platform/graphics/gpu/legacy/GPULegacyComputePipelineState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.h.
(WebCore::GPULegacyComputePipelineState::metal const):
* platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.cpp.
(WebCore::GPULegacyDepthStencilDescriptor::~GPULegacyDepthStencilDescriptor):
* platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.h.
(WebCore::GPULegacyDepthStencilDescriptor::metal const):
* platform/graphics/gpu/legacy/GPULegacyDepthStencilState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.cpp.
(WebCore::GPULegacyDepthStencilState::~GPULegacyDepthStencilState):
* platform/graphics/gpu/legacy/GPULegacyDepthStencilState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.h.
(WebCore::GPULegacyDepthStencilState::metal const):
* platform/graphics/gpu/legacy/GPULegacyDevice.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.cpp.
(WebCore::GPULegacyDevice::~GPULegacyDevice):
* platform/graphics/gpu/legacy/GPULegacyDevice.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.h.
(WebCore::GPULegacyDevice::layer const):
(WebCore::GPULegacyDevice::metal const):
(WebCore::GPULegacyDevice::markLayerComposited const):
* platform/graphics/gpu/legacy/GPULegacyDrawable.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.cpp.
(WebCore::GPULegacyDrawable::~GPULegacyDrawable):
* platform/graphics/gpu/legacy/GPULegacyDrawable.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.h.
* platform/graphics/gpu/legacy/GPULegacyEnums.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyEnums.h.
* platform/graphics/gpu/legacy/GPULegacyFunction.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.cpp.
(WebCore::GPULegacyFunction::~GPULegacyFunction):
* platform/graphics/gpu/legacy/GPULegacyFunction.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.h.
(WebCore::GPULegacyFunction::metal const):
* platform/graphics/gpu/legacy/GPULegacyLibrary.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.cpp.
(WebCore::GPULegacyLibrary::~GPULegacyLibrary):
* platform/graphics/gpu/legacy/GPULegacyLibrary.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.h.
(WebCore::GPULegacyLibrary::metal const):
* platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.cpp.
(WebCore::GPULegacyRenderCommandEncoder::~GPULegacyRenderCommandEncoder):
* platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.cpp.
(WebCore::GPULegacyRenderPassAttachmentDescriptor::~GPULegacyRenderPassAttachmentDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.cpp.
(WebCore::GPULegacyRenderPassColorAttachmentDescriptor::~GPULegacyRenderPassColorAttachmentDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.cpp.
(WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::~GPULegacyRenderPassDepthAttachmentDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.cpp.
(WebCore::GPULegacyRenderPassDescriptor::~GPULegacyRenderPassDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp.
(WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::~GPULegacyRenderPipelineColorAttachmentDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.cpp.
(WebCore::GPULegacyRenderPipelineDescriptor::~GPULegacyRenderPipelineDescriptor):
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.h.
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.cpp.
(WebCore::GPULegacyRenderPipelineState::~GPULegacyRenderPipelineState):
* platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.h.
* platform/graphics/gpu/legacy/GPULegacySize.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacySize.h.
* platform/graphics/gpu/legacy/GPULegacyTexture.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.cpp.
(WebCore::GPULegacyTexture::~GPULegacyTexture):
* platform/graphics/gpu/legacy/GPULegacyTexture.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.h.
* platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.cpp.
(WebCore::GPULegacyTextureDescriptor::~GPULegacyTextureDescriptor):
* platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.h.
* platform/graphics/gpu/legacy/cocoa/GPULegacyBufferMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyBufferMetal.mm.
(WebCore::GPULegacyBuffer::GPULegacyBuffer):
* platform/graphics/gpu/legacy/cocoa/GPULegacyCommandBufferMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyCommandBufferMetal.mm.
(WebCore::GPULegacyCommandBuffer::GPULegacyCommandBuffer):
(WebCore::GPULegacyCommandBuffer::presentDrawable const):
(WebCore::GPULegacyCommandBuffer::commit const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyCommandQueueMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyCommandQueueMetal.mm.
(WebCore::GPULegacyCommandQueue::GPULegacyCommandQueue):
(WebCore::GPULegacyCommandQueue::label const):
(WebCore::GPULegacyCommandQueue::setLabel const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyComputeCommandEncoderMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyComputeCommandEncoderMetal.mm.
(WebCore::MTLSizeMake):
(WebCore::GPULegacyComputeCommandEncoder::GPULegacyComputeCommandEncoder):
(WebCore::GPULegacyComputeCommandEncoder::setComputePipelineState const):
(WebCore::GPULegacyComputeCommandEncoder::setBuffer const):
(WebCore::GPULegacyComputeCommandEncoder::dispatch const):
(WebCore::GPULegacyComputeCommandEncoder::endEncoding const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyComputePipelineStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyComputePipelineStateMetal.mm.
(WebCore::GPULegacyComputePipelineState::GPULegacyComputePipelineState):
* platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilDescriptorMetal.mm.
(WebCore::GPULegacyDepthStencilDescriptor::GPULegacyDepthStencilDescriptor):
(WebCore::GPULegacyDepthStencilDescriptor::depthWriteEnabled const):
(WebCore::GPULegacyDepthStencilDescriptor::setDepthWriteEnabled const):
(WebCore::GPULegacyDepthStencilDescriptor::depthCompareFunction const):
(WebCore::GPULegacyDepthStencilDescriptor::setDepthCompareFunction const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilStateMetal.mm.
(WebCore::GPULegacyDepthStencilState::GPULegacyDepthStencilState):
(WebCore::GPULegacyDepthStencilState::label const):
(WebCore::GPULegacyDepthStencilState::setLabel const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyDeviceMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDeviceMetal.mm.
(WebCore::GPULegacyDevice::GPULegacyDevice):
(WebCore::GPULegacyDevice::disconnect):
(WebCore::GPULegacyDevice::reshape const):
(WebCore::GPULegacyDevice::platformLayer const):
(WebCore::GPULegacyDevice::operator! const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyDrawableMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDrawableMetal.mm.
(WebCore::GPULegacyDrawable::GPULegacyDrawable):
(WebCore::GPULegacyDrawable::release):
(WebCore::GPULegacyDrawable::metal const):
(WebCore::GPULegacyDrawable::texture const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyFunctionMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyFunctionMetal.mm.
(WebCore::GPULegacyFunction::GPULegacyFunction):
(WebCore::GPULegacyFunction::name const):
(WebCore::GPULegacyFunction::operator! const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyLibraryMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyLibraryMetal.mm.
(WebCore::GPULegacyLibrary::GPULegacyLibrary):
(WebCore::GPULegacyLibrary::label const):
(WebCore::GPULegacyLibrary::setLabel const):
(WebCore::GPULegacyLibrary::functionNames const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderCommandEncoderMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderCommandEncoderMetal.mm.
(WebCore::GPULegacyRenderCommandEncoder::GPULegacyRenderCommandEncoder):
(WebCore::GPULegacyRenderCommandEncoder::setRenderPipelineState const):
(WebCore::GPULegacyRenderCommandEncoder::setDepthStencilState const):
(WebCore::GPULegacyRenderCommandEncoder::setVertexBuffer const):
(WebCore::GPULegacyRenderCommandEncoder::setFragmentBuffer const):
(WebCore::GPULegacyRenderCommandEncoder::drawPrimitives const):
(WebCore::GPULegacyRenderCommandEncoder::endEncoding const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassAttachmentDescriptorMetal.mm.
(WebCore::GPULegacyRenderPassAttachmentDescriptor::GPULegacyRenderPassAttachmentDescriptor):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::loadAction const):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::setLoadAction const):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::storeAction const):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::setStoreAction const):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::setTexture const):
(WebCore::GPULegacyRenderPassAttachmentDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm.
(WebCore::GPULegacyRenderPassColorAttachmentDescriptor::GPULegacyRenderPassColorAttachmentDescriptor):
(WebCore::GPULegacyRenderPassColorAttachmentDescriptor::clearColor const):
(WebCore::GPULegacyRenderPassColorAttachmentDescriptor::setClearColor const):
(WebCore::GPULegacyRenderPassColorAttachmentDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm.
(WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::GPULegacyRenderPassDepthAttachmentDescriptor):
(WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::clearDepth const):
(WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::setClearDepth const):
(WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDescriptorMetal.mm.
(WebCore::GPULegacyRenderPassDescriptor::GPULegacyRenderPassDescriptor):
(WebCore::GPULegacyRenderPassDescriptor::colorAttachments const):
(WebCore::GPULegacyRenderPassDescriptor::depthAttachment const):
(WebCore::GPULegacyRenderPassDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm.
(WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::GPULegacyRenderPipelineColorAttachmentDescriptor):
(WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::pixelFormat const):
(WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::setPixelFormat const):
(WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineDescriptorMetal.mm.
(WebCore::GPULegacyRenderPipelineDescriptor::GPULegacyRenderPipelineDescriptor):
(WebCore::GPULegacyRenderPipelineDescriptor::depthAttachmentPixelFormat const):
(WebCore::GPULegacyRenderPipelineDescriptor::setDepthAttachmentPixelFormat const):
(WebCore::GPULegacyRenderPipelineDescriptor::setVertexFunction const):
(WebCore::GPULegacyRenderPipelineDescriptor::setFragmentFunction const):
(WebCore::GPULegacyRenderPipelineDescriptor::colorAttachments const):
(WebCore::GPULegacyRenderPipelineDescriptor::reset const):
(WebCore::GPULegacyRenderPipelineDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineStateMetal.mm.
(WebCore::GPULegacyRenderPipelineState::GPULegacyRenderPipelineState):
(WebCore::GPULegacyRenderPipelineState::label const):
(WebCore::GPULegacyRenderPipelineState::setLabel const):
(WebCore::GPULegacyRenderPipelineState::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyTextureDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyTextureDescriptorMetal.mm.
(WebCore::GPULegacyTextureDescriptor::GPULegacyTextureDescriptor):
(WebCore::GPULegacyTextureDescriptor::width const):
(WebCore::GPULegacyTextureDescriptor::setWidth const):
(WebCore::GPULegacyTextureDescriptor::height const):
(WebCore::GPULegacyTextureDescriptor::setHeight const):
(WebCore::GPULegacyTextureDescriptor::sampleCount const):
(WebCore::GPULegacyTextureDescriptor::setSampleCount const):
(WebCore::GPULegacyTextureDescriptor::textureType const):
(WebCore::GPULegacyTextureDescriptor::setTextureType const):
(WebCore::GPULegacyTextureDescriptor::storageMode const):
(WebCore::GPULegacyTextureDescriptor::setStorageMode const):
(WebCore::GPULegacyTextureDescriptor::usage const):
(WebCore::GPULegacyTextureDescriptor::setUsage const):
(WebCore::GPULegacyTextureDescriptor::metal const):
* platform/graphics/gpu/legacy/cocoa/GPULegacyTextureMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyTextureMetal.mm.
(WebCore::GPULegacyTexture::GPULegacyTexture):
(WebCore::GPULegacyTexture::width const):
(WebCore::GPULegacyTexture::height const):
(WebCore::GPULegacyTexture::metal const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

89 files changed:
Source/WebCore/ChangeLog
Source/WebCore/Sources.txt
Source/WebCore/SourcesCocoa.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/platform/graphics/gpu/GPUCommandBuffer.h [moved from Source/WebCore/Modules/webgpu/GPUCommandBuffer.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUDevice.cpp [moved from Source/WebCore/Modules/webgpu/GPUDevice.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUDevice.h [moved from Source/WebCore/Modules/webgpu/GPUDevice.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUPipelineDescriptorBase.h [moved from Source/WebCore/Modules/webgpu/GPUPipelineDescriptorBase.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUPipelineStageDescriptor.h [moved from Source/WebCore/Modules/webgpu/GPUPipelineStageDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUQueue.h [moved from Source/WebCore/Modules/webgpu/GPUQueue.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPURenderPipeline.h [moved from Source/WebCore/Modules/webgpu/GPURenderPipeline.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPURenderPipelineDescriptor.h [moved from Source/WebCore/Modules/webgpu/GPURenderPipelineDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUShaderModule.h [moved from Source/WebCore/Modules/webgpu/GPUShaderModule.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUShaderModuleDescriptor.h [moved from Source/WebCore/Modules/webgpu/GPUShaderModuleDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUSwapChain.h [moved from Source/WebCore/Modules/webgpu/GPUSwapChain.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUTexture.h [moved from Source/WebCore/Modules/webgpu/GPUTexture.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/GPUTextureFormatEnum.h [moved from Source/WebCore/Modules/webgpu/GPUTextureFormatEnum.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUCommandBufferMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUDeviceMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUDeviceMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUQueueMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUQueueMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPURenderPipelineMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUShaderModuleMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUShaderModuleMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUSwapChainMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUSwapChainMetal.mm with 88% similarity]
Source/WebCore/platform/graphics/gpu/cocoa/GPUTextureMetal.mm [moved from Source/WebCore/Modules/webgpu/cocoa/GPUTextureMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyBuffer.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyBuffer.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyCommandBuffer.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyCommandBuffer.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyCommandQueue.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyCommandQueue.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyComputePipelineState.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyComputePipelineState.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDepthStencilState.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDepthStencilState.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDevice.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDevice.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDrawable.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyDrawable.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyEnums.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyEnums.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyFunction.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyFunction.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyLibrary.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyLibrary.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacySize.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacySize.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyTexture.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyTexture.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.cpp [moved from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.cpp with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.h [moved from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.h with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyBufferMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyBufferMetal.mm with 97% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyCommandBufferMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyCommandBufferMetal.mm with 95% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyCommandQueueMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyCommandQueueMetal.mm with 97% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyComputeCommandEncoderMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyComputeCommandEncoderMetal.mm with 97% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyComputePipelineStateMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyComputePipelineStateMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilDescriptorMetal.mm with 96% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilStateMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilStateMetal.mm with 95% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyDeviceMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyDeviceMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyDrawableMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyDrawableMetal.mm with 97% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyFunctionMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyFunctionMetal.mm with 96% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyLibraryMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyLibraryMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderCommandEncoderMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderCommandEncoderMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassAttachmentDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassAttachmentDescriptorMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm with 95% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDescriptorMetal.mm with 96% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm with 100% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineDescriptorMetal.mm with 96% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineStateMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineStateMetal.mm with 95% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyTextureDescriptorMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyTextureDescriptorMetal.mm with 92% similarity]
Source/WebCore/platform/graphics/gpu/legacy/cocoa/GPULegacyTextureMetal.mm [moved from Source/WebCore/platform/graphics/metal/GPULegacyTextureMetal.mm with 94% similarity]

index 8e723df..4f52470 100644 (file)
@@ -1,3 +1,273 @@
+2018-11-20  Dean Jackson  <dino@apple.com>
+
+        Move WebGPU platform code to platform/graphics/gpu
+        https://bugs.webkit.org/show_bug.cgi?id=191867
+        <rdar://problem/46190993>
+
+        Reviewed by Antoine Quint.
+
+        The underlying implementation of WebGPU doesn't need to live in
+        Modules, since it technically could be used by other parts of the system. It
+        makes more sense for it to be in platform/graphics/gpu.
+
+        Move...
+        - Modules/webgpu/GPU* -> platform/graphics/gpu
+        - Modules/webgpu/cocoa -> platform/graphics/gpu/cocoa
+        - platform/graphics/gpu/GPULegacy* -> platform/graphics/gpu/legacy/
+        - platform/graphics/gpu/cocoa/GPULegacy* -> platform/graphics/gpu/legacy/cocoa
+
+        * Sources.txt:
+        * SourcesCocoa.txt:
+        * WebCore.xcodeproj/project.pbxproj:
+        * platform/graphics/gpu/GPUCommandBuffer.h: Renamed from Source/WebCore/Modules/webgpu/GPUCommandBuffer.h.
+        * platform/graphics/gpu/GPUDevice.cpp: Renamed from Source/WebCore/Modules/webgpu/GPUDevice.cpp.
+        (WebCore::GPUDevice::createShaderModule const):
+        (WebCore::GPUDevice::createRenderPipeline const):
+        (WebCore::GPUDevice::createCommandBuffer):
+        (WebCore::GPUDevice::getQueue):
+        * platform/graphics/gpu/GPUDevice.h: Renamed from Source/WebCore/Modules/webgpu/GPUDevice.h.
+        (WebCore::GPUDevice::platformDevice const):
+        * platform/graphics/gpu/GPUPipelineDescriptorBase.h: Renamed from Source/WebCore/Modules/webgpu/GPUPipelineDescriptorBase.h.
+        * platform/graphics/gpu/GPUPipelineStageDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPUPipelineStageDescriptor.h.
+        * platform/graphics/gpu/GPUQueue.h: Renamed from Source/WebCore/Modules/webgpu/GPUQueue.h.
+        (WebCore::GPUQueue::platformQueue const):
+        * platform/graphics/gpu/GPURenderPipeline.h: Renamed from Source/WebCore/Modules/webgpu/GPURenderPipeline.h.
+        (WebCore::GPURenderPipeline::platformRenderPipeline const):
+        * platform/graphics/gpu/GPURenderPipelineDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPURenderPipelineDescriptor.h.
+        * platform/graphics/gpu/GPUShaderModule.h: Renamed from Source/WebCore/Modules/webgpu/GPUShaderModule.h.
+        (WebCore::GPUShaderModule::platformShaderModule const):
+        * platform/graphics/gpu/GPUShaderModuleDescriptor.h: Renamed from Source/WebCore/Modules/webgpu/GPUShaderModuleDescriptor.h.
+        * platform/graphics/gpu/GPUSwapChain.h: Renamed from Source/WebCore/Modules/webgpu/GPUSwapChain.h.
+        (WebCore::GPUSwapChain::platformLayer const):
+        * platform/graphics/gpu/GPUTexture.h: Renamed from Source/WebCore/Modules/webgpu/GPUTexture.h.
+        * platform/graphics/gpu/GPUTextureFormatEnum.h: Renamed from Source/WebCore/Modules/webgpu/GPUTextureFormatEnum.h.
+        * platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUCommandBufferMetal.mm.
+        (WebCore::GPUCommandBuffer::create):
+        (WebCore::GPUCommandBuffer::GPUCommandBuffer):
+        * platform/graphics/gpu/cocoa/GPUDeviceMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUDeviceMetal.mm.
+        (WebCore::GPUDevice::create):
+        (WebCore::GPUDevice::GPUDevice):
+        * platform/graphics/gpu/cocoa/GPUQueueMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUQueueMetal.mm.
+        (WebCore::GPUQueue::create):
+        (WebCore::GPUQueue::GPUQueue):
+        * platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPURenderPipelineMetal.mm.
+        (WebCore::setFunctionsForPipelineDescriptor):
+        (WebCore::GPURenderPipeline::create):
+        (WebCore::GPURenderPipeline::GPURenderPipeline):
+        * platform/graphics/gpu/cocoa/GPUShaderModuleMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUShaderModuleMetal.mm.
+        (WebCore::GPUShaderModule::create):
+        (WebCore::GPUShaderModule::GPUShaderModule):
+        * platform/graphics/gpu/cocoa/GPUSwapChainMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUSwapChainMetal.mm.
+        (WebCore::GPUSwapChain::create):
+        (WebCore::GPUSwapChain::GPUSwapChain):
+        (WebCore::GPUSwapChain::setDevice):
+        (WebCore::platformTextureFormatForGPUTextureFormat):
+        (WebCore::GPUSwapChain::setFormat):
+        (WebCore::GPUSwapChain::reshape):
+        (WebCore::GPUSwapChain::getNextTexture):
+        (WebCore::GPUSwapChain::present):
+        * platform/graphics/gpu/cocoa/GPUTextureMetal.mm: Renamed from Source/WebCore/Modules/webgpu/cocoa/GPUTextureMetal.mm.
+        (WebCore::GPUTexture::create):
+        (WebCore::GPUTexture::GPUTexture):
+        (WebCore::GPUTexture::createDefaultTextureView):
+        * platform/graphics/gpu/legacy/GPULegacyBuffer.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.cpp.
+        (WebCore::GPULegacyBuffer::~GPULegacyBuffer):
+        (WebCore::GPULegacyBuffer::length const):
+        * platform/graphics/gpu/legacy/GPULegacyBuffer.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyBuffer.h.
+        (WebCore::GPULegacyBuffer::contents const):
+        (WebCore::GPULegacyBuffer::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyCommandBuffer.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.cpp.
+        (WebCore::GPULegacyCommandBuffer::~GPULegacyCommandBuffer):
+        * platform/graphics/gpu/legacy/GPULegacyCommandBuffer.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandBuffer.h.
+        (WebCore::GPULegacyCommandBuffer::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyCommandQueue.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.cpp.
+        (WebCore::GPULegacyCommandQueue::~GPULegacyCommandQueue):
+        * platform/graphics/gpu/legacy/GPULegacyCommandQueue.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyCommandQueue.h.
+        (WebCore::GPULegacyCommandQueue::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.cpp.
+        (WebCore::GPULegacyComputeCommandEncoder::~GPULegacyComputeCommandEncoder):
+        * platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputeCommandEncoder.h.
+        * platform/graphics/gpu/legacy/GPULegacyComputePipelineState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.cpp.
+        (WebCore::GPULegacyComputePipelineState::~GPULegacyComputePipelineState):
+        * platform/graphics/gpu/legacy/GPULegacyComputePipelineState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyComputePipelineState.h.
+        (WebCore::GPULegacyComputePipelineState::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.cpp.
+        (WebCore::GPULegacyDepthStencilDescriptor::~GPULegacyDepthStencilDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilDescriptor.h.
+        (WebCore::GPULegacyDepthStencilDescriptor::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyDepthStencilState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.cpp.
+        (WebCore::GPULegacyDepthStencilState::~GPULegacyDepthStencilState):
+        * platform/graphics/gpu/legacy/GPULegacyDepthStencilState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDepthStencilState.h.
+        (WebCore::GPULegacyDepthStencilState::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyDevice.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.cpp.
+        (WebCore::GPULegacyDevice::~GPULegacyDevice):
+        * platform/graphics/gpu/legacy/GPULegacyDevice.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDevice.h.
+        (WebCore::GPULegacyDevice::layer const):
+        (WebCore::GPULegacyDevice::metal const):
+        (WebCore::GPULegacyDevice::markLayerComposited const):
+        * platform/graphics/gpu/legacy/GPULegacyDrawable.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.cpp.
+        (WebCore::GPULegacyDrawable::~GPULegacyDrawable):
+        * platform/graphics/gpu/legacy/GPULegacyDrawable.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyDrawable.h.
+        * platform/graphics/gpu/legacy/GPULegacyEnums.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyEnums.h.
+        * platform/graphics/gpu/legacy/GPULegacyFunction.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.cpp.
+        (WebCore::GPULegacyFunction::~GPULegacyFunction):
+        * platform/graphics/gpu/legacy/GPULegacyFunction.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyFunction.h.
+        (WebCore::GPULegacyFunction::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyLibrary.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.cpp.
+        (WebCore::GPULegacyLibrary::~GPULegacyLibrary):
+        * platform/graphics/gpu/legacy/GPULegacyLibrary.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyLibrary.h.
+        (WebCore::GPULegacyLibrary::metal const):
+        * platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.cpp.
+        (WebCore::GPULegacyRenderCommandEncoder::~GPULegacyRenderCommandEncoder):
+        * platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderCommandEncoder.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.cpp.
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::~GPULegacyRenderPassAttachmentDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.cpp.
+        (WebCore::GPULegacyRenderPassColorAttachmentDescriptor::~GPULegacyRenderPassColorAttachmentDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.cpp.
+        (WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::~GPULegacyRenderPassDepthAttachmentDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.cpp.
+        (WebCore::GPULegacyRenderPassDescriptor::~GPULegacyRenderPassDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPassDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp.
+        (WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::~GPULegacyRenderPipelineColorAttachmentDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.cpp.
+        (WebCore::GPULegacyRenderPipelineDescriptor::~GPULegacyRenderPipelineDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.h.
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.cpp.
+        (WebCore::GPULegacyRenderPipelineState::~GPULegacyRenderPipelineState):
+        * platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyRenderPipelineState.h.
+        * platform/graphics/gpu/legacy/GPULegacySize.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacySize.h.
+        * platform/graphics/gpu/legacy/GPULegacyTexture.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.cpp.
+        (WebCore::GPULegacyTexture::~GPULegacyTexture):
+        * platform/graphics/gpu/legacy/GPULegacyTexture.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTexture.h.
+        * platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.cpp: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.cpp.
+        (WebCore::GPULegacyTextureDescriptor::~GPULegacyTextureDescriptor):
+        * platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.h: Renamed from Source/WebCore/platform/graphics/gpu/GPULegacyTextureDescriptor.h.
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyBufferMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyBufferMetal.mm.
+        (WebCore::GPULegacyBuffer::GPULegacyBuffer):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyCommandBufferMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyCommandBufferMetal.mm.
+        (WebCore::GPULegacyCommandBuffer::GPULegacyCommandBuffer):
+        (WebCore::GPULegacyCommandBuffer::presentDrawable const):
+        (WebCore::GPULegacyCommandBuffer::commit const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyCommandQueueMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyCommandQueueMetal.mm.
+        (WebCore::GPULegacyCommandQueue::GPULegacyCommandQueue):
+        (WebCore::GPULegacyCommandQueue::label const):
+        (WebCore::GPULegacyCommandQueue::setLabel const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyComputeCommandEncoderMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyComputeCommandEncoderMetal.mm.
+        (WebCore::MTLSizeMake):
+        (WebCore::GPULegacyComputeCommandEncoder::GPULegacyComputeCommandEncoder):
+        (WebCore::GPULegacyComputeCommandEncoder::setComputePipelineState const):
+        (WebCore::GPULegacyComputeCommandEncoder::setBuffer const):
+        (WebCore::GPULegacyComputeCommandEncoder::dispatch const):
+        (WebCore::GPULegacyComputeCommandEncoder::endEncoding const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyComputePipelineStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyComputePipelineStateMetal.mm.
+        (WebCore::GPULegacyComputePipelineState::GPULegacyComputePipelineState):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilDescriptorMetal.mm.
+        (WebCore::GPULegacyDepthStencilDescriptor::GPULegacyDepthStencilDescriptor):
+        (WebCore::GPULegacyDepthStencilDescriptor::depthWriteEnabled const):
+        (WebCore::GPULegacyDepthStencilDescriptor::setDepthWriteEnabled const):
+        (WebCore::GPULegacyDepthStencilDescriptor::depthCompareFunction const):
+        (WebCore::GPULegacyDepthStencilDescriptor::setDepthCompareFunction const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDepthStencilStateMetal.mm.
+        (WebCore::GPULegacyDepthStencilState::GPULegacyDepthStencilState):
+        (WebCore::GPULegacyDepthStencilState::label const):
+        (WebCore::GPULegacyDepthStencilState::setLabel const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyDeviceMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDeviceMetal.mm.
+        (WebCore::GPULegacyDevice::GPULegacyDevice):
+        (WebCore::GPULegacyDevice::disconnect):
+        (WebCore::GPULegacyDevice::reshape const):
+        (WebCore::GPULegacyDevice::platformLayer const):
+        (WebCore::GPULegacyDevice::operator! const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyDrawableMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyDrawableMetal.mm.
+        (WebCore::GPULegacyDrawable::GPULegacyDrawable):
+        (WebCore::GPULegacyDrawable::release):
+        (WebCore::GPULegacyDrawable::metal const):
+        (WebCore::GPULegacyDrawable::texture const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyFunctionMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyFunctionMetal.mm.
+        (WebCore::GPULegacyFunction::GPULegacyFunction):
+        (WebCore::GPULegacyFunction::name const):
+        (WebCore::GPULegacyFunction::operator! const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyLibraryMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyLibraryMetal.mm.
+        (WebCore::GPULegacyLibrary::GPULegacyLibrary):
+        (WebCore::GPULegacyLibrary::label const):
+        (WebCore::GPULegacyLibrary::setLabel const):
+        (WebCore::GPULegacyLibrary::functionNames const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderCommandEncoderMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderCommandEncoderMetal.mm.
+        (WebCore::GPULegacyRenderCommandEncoder::GPULegacyRenderCommandEncoder):
+        (WebCore::GPULegacyRenderCommandEncoder::setRenderPipelineState const):
+        (WebCore::GPULegacyRenderCommandEncoder::setDepthStencilState const):
+        (WebCore::GPULegacyRenderCommandEncoder::setVertexBuffer const):
+        (WebCore::GPULegacyRenderCommandEncoder::setFragmentBuffer const):
+        (WebCore::GPULegacyRenderCommandEncoder::drawPrimitives const):
+        (WebCore::GPULegacyRenderCommandEncoder::endEncoding const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassAttachmentDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::GPULegacyRenderPassAttachmentDescriptor):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::loadAction const):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::setLoadAction const):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::storeAction const):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::setStoreAction const):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::setTexture const):
+        (WebCore::GPULegacyRenderPassAttachmentDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPassColorAttachmentDescriptor::GPULegacyRenderPassColorAttachmentDescriptor):
+        (WebCore::GPULegacyRenderPassColorAttachmentDescriptor::clearColor const):
+        (WebCore::GPULegacyRenderPassColorAttachmentDescriptor::setClearColor const):
+        (WebCore::GPULegacyRenderPassColorAttachmentDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::GPULegacyRenderPassDepthAttachmentDescriptor):
+        (WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::clearDepth const):
+        (WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::setClearDepth const):
+        (WebCore::GPULegacyRenderPassDepthAttachmentDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPassDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPassDescriptor::GPULegacyRenderPassDescriptor):
+        (WebCore::GPULegacyRenderPassDescriptor::colorAttachments const):
+        (WebCore::GPULegacyRenderPassDescriptor::depthAttachment const):
+        (WebCore::GPULegacyRenderPassDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::GPULegacyRenderPipelineColorAttachmentDescriptor):
+        (WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::pixelFormat const):
+        (WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::setPixelFormat const):
+        (WebCore::GPULegacyRenderPipelineColorAttachmentDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineDescriptorMetal.mm.
+        (WebCore::GPULegacyRenderPipelineDescriptor::GPULegacyRenderPipelineDescriptor):
+        (WebCore::GPULegacyRenderPipelineDescriptor::depthAttachmentPixelFormat const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::setDepthAttachmentPixelFormat const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::setVertexFunction const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::setFragmentFunction const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::colorAttachments const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::reset const):
+        (WebCore::GPULegacyRenderPipelineDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineStateMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyRenderPipelineStateMetal.mm.
+        (WebCore::GPULegacyRenderPipelineState::GPULegacyRenderPipelineState):
+        (WebCore::GPULegacyRenderPipelineState::label const):
+        (WebCore::GPULegacyRenderPipelineState::setLabel const):
+        (WebCore::GPULegacyRenderPipelineState::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyTextureDescriptorMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyTextureDescriptorMetal.mm.
+        (WebCore::GPULegacyTextureDescriptor::GPULegacyTextureDescriptor):
+        (WebCore::GPULegacyTextureDescriptor::width const):
+        (WebCore::GPULegacyTextureDescriptor::setWidth const):
+        (WebCore::GPULegacyTextureDescriptor::height const):
+        (WebCore::GPULegacyTextureDescriptor::setHeight const):
+        (WebCore::GPULegacyTextureDescriptor::sampleCount const):
+        (WebCore::GPULegacyTextureDescriptor::setSampleCount const):
+        (WebCore::GPULegacyTextureDescriptor::textureType const):
+        (WebCore::GPULegacyTextureDescriptor::setTextureType const):
+        (WebCore::GPULegacyTextureDescriptor::storageMode const):
+        (WebCore::GPULegacyTextureDescriptor::setStorageMode const):
+        (WebCore::GPULegacyTextureDescriptor::usage const):
+        (WebCore::GPULegacyTextureDescriptor::setUsage const):
+        (WebCore::GPULegacyTextureDescriptor::metal const):
+        * platform/graphics/gpu/legacy/cocoa/GPULegacyTextureMetal.mm: Renamed from Source/WebCore/platform/graphics/metal/GPULegacyTextureMetal.mm.
+        (WebCore::GPULegacyTexture::GPULegacyTexture):
+        (WebCore::GPULegacyTexture::width const):
+        (WebCore::GPULegacyTexture::height const):
+        (WebCore::GPULegacyTexture::metal const):
+
 2018-11-21  Adrian Perez de Castro  <aperez@igalia.com>
 
         [SOUP] Certificate decoder always returns GByteArray with zero size
index 965a95b..2939e8a 100644 (file)
@@ -301,7 +301,6 @@ Modules/websockets/WebSocketHandshake.cpp
 Modules/websockets/WorkerThreadableWebSocketChannel.cpp
 
 Modules/webgpu/DOMWindowWebGPU.cpp
-Modules/webgpu/GPUDevice.cpp
 Modules/webgpu/WebGPU.cpp
 Modules/webgpu/WebGPUAdapter.cpp
 Modules/webgpu/WebGPUCommandBuffer.cpp
@@ -1733,27 +1732,28 @@ platform/graphics/filters/SourceAlpha.cpp
 platform/graphics/filters/SourceGraphic.cpp
 platform/graphics/filters/SpotLightSource.cpp
 
-platform/graphics/gpu/GPULegacyBuffer.cpp
-platform/graphics/gpu/GPULegacyCommandBuffer.cpp
-platform/graphics/gpu/GPULegacyCommandQueue.cpp
-platform/graphics/gpu/GPULegacyComputeCommandEncoder.cpp
-platform/graphics/gpu/GPULegacyComputePipelineState.cpp
-platform/graphics/gpu/GPULegacyDepthStencilDescriptor.cpp
-platform/graphics/gpu/GPULegacyDepthStencilState.cpp
-platform/graphics/gpu/GPULegacyDevice.cpp
-platform/graphics/gpu/GPULegacyDrawable.cpp
-platform/graphics/gpu/GPULegacyFunction.cpp
-platform/graphics/gpu/GPULegacyLibrary.cpp
-platform/graphics/gpu/GPULegacyRenderCommandEncoder.cpp
-platform/graphics/gpu/GPULegacyRenderPassAttachmentDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPassColorAttachmentDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPassDepthAttachmentDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPassDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPipelineDescriptor.cpp
-platform/graphics/gpu/GPULegacyRenderPipelineState.cpp
-platform/graphics/gpu/GPULegacyTexture.cpp
-platform/graphics/gpu/GPULegacyTextureDescriptor.cpp
+platform/graphics/gpu/GPUDevice.cpp
+platform/graphics/gpu/legacy/GPULegacyBuffer.cpp
+platform/graphics/gpu/legacy/GPULegacyCommandBuffer.cpp
+platform/graphics/gpu/legacy/GPULegacyCommandQueue.cpp
+platform/graphics/gpu/legacy/GPULegacyComputeCommandEncoder.cpp
+platform/graphics/gpu/legacy/GPULegacyComputePipelineState.cpp
+platform/graphics/gpu/legacy/GPULegacyDepthStencilDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyDepthStencilState.cpp
+platform/graphics/gpu/legacy/GPULegacyDevice.cpp
+platform/graphics/gpu/legacy/GPULegacyDrawable.cpp
+platform/graphics/gpu/legacy/GPULegacyFunction.cpp
+platform/graphics/gpu/legacy/GPULegacyLibrary.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderCommandEncoder.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPassAttachmentDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPassColorAttachmentDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPassDepthAttachmentDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPassDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPipelineColorAttachmentDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPipelineDescriptor.cpp
+platform/graphics/gpu/legacy/GPULegacyRenderPipelineState.cpp
+platform/graphics/gpu/legacy/GPULegacyTexture.cpp
+platform/graphics/gpu/legacy/GPULegacyTextureDescriptor.cpp
 
 platform/graphics/iso/ISOBox.cpp
 platform/graphics/iso/ISOOriginalFormatBox.cpp
index a1480fb..fd831e6 100644 (file)
@@ -27,14 +27,6 @@ Modules/plugins/QuickTimePluginReplacement.mm
 Modules/plugins/YouTubePluginReplacement.cpp
 Modules/webdatabase/cocoa/DatabaseManagerCocoa.mm
 
-Modules/webgpu/cocoa/GPUCommandBufferMetal.mm
-Modules/webgpu/cocoa/GPUDeviceMetal.mm
-Modules/webgpu/cocoa/GPUQueueMetal.mm
-Modules/webgpu/cocoa/GPURenderPipelineMetal.mm
-Modules/webgpu/cocoa/GPUShaderModuleMetal.mm
-Modules/webgpu/cocoa/GPUSwapChainMetal.mm
-Modules/webgpu/cocoa/GPUTextureMetal.mm
-
 accessibility/ios/AccessibilityObjectIOS.mm
 accessibility/ios/AXObjectCacheIOS.mm
 accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
@@ -326,6 +318,13 @@ platform/graphics/cv/PixelBufferConformerCV.cpp
 platform/graphics/cv/TextureCacheCV.mm
 platform/graphics/cv/VideoTextureCopierCV.cpp
 
+platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm
+platform/graphics/gpu/cocoa/GPUDeviceMetal.mm
+platform/graphics/gpu/cocoa/GPUQueueMetal.mm
+platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm
+platform/graphics/gpu/cocoa/GPUShaderModuleMetal.mm
+platform/graphics/gpu/cocoa/GPUSwapChainMetal.mm
+platform/graphics/gpu/cocoa/GPUTextureMetal.mm
 platform/graphics/gpu/Texture.cpp
 platform/graphics/gpu/TilingData.cpp
 
@@ -352,27 +351,27 @@ platform/graphics/mac/SimpleFontDataCoreText.cpp
 platform/graphics/mac/WebLayer.mm
 platform/graphics/mac/WebKitNSImageExtras.mm
 
-platform/graphics/metal/GPULegacyBufferMetal.mm
-platform/graphics/metal/GPULegacyCommandBufferMetal.mm
-platform/graphics/metal/GPULegacyCommandQueueMetal.mm
-platform/graphics/metal/GPULegacyComputeCommandEncoderMetal.mm
-platform/graphics/metal/GPULegacyComputePipelineStateMetal.mm
-platform/graphics/metal/GPULegacyDepthStencilDescriptorMetal.mm
-platform/graphics/metal/GPULegacyDepthStencilStateMetal.mm
-platform/graphics/metal/GPULegacyDeviceMetal.mm
-platform/graphics/metal/GPULegacyDrawableMetal.mm
-platform/graphics/metal/GPULegacyFunctionMetal.mm
-platform/graphics/metal/GPULegacyLibraryMetal.mm
-platform/graphics/metal/GPULegacyRenderCommandEncoderMetal.mm
-platform/graphics/metal/GPULegacyRenderPassAttachmentDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPassDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPipelineDescriptorMetal.mm
-platform/graphics/metal/GPULegacyRenderPipelineStateMetal.mm
-platform/graphics/metal/GPULegacyTextureDescriptorMetal.mm
-platform/graphics/metal/GPULegacyTextureMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyBufferMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyCommandBufferMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyCommandQueueMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyComputeCommandEncoderMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyComputePipelineStateMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyDepthStencilStateMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyDeviceMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyDrawableMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyFunctionMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyLibraryMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderCommandEncoderMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassAttachmentDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassColorAttachmentDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPassDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyRenderPipelineStateMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyTextureDescriptorMetal.mm
+platform/graphics/gpu/legacy/cocoa/GPULegacyTextureMetal.mm
 
 platform/graphics/opengl/Extensions3DOpenGL.cpp
 platform/graphics/opengl/Extensions3DOpenGLCommon.cpp
index c2334c6..052281e 100644 (file)
                31288E750E3005D6003619AE /* CSSKeyframesRule.h in Headers */ = {isa = PBXBuildFile; fileRef = 31288E710E3005D6003619AE /* CSSKeyframesRule.h */; };
                3128CA6B147331630074C72A /* NotificationController.h in Headers */ = {isa = PBXBuildFile; fileRef = 3128CA6A147331630074C72A /* NotificationController.h */; settings = {ATTRIBUTES = (Private, ); }; };
                312C0C41146DC6CC0016C911 /* Notification.h in Headers */ = {isa = PBXBuildFile; fileRef = 333F704F0FB49CA2008E12A6 /* Notification.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF91121A4C36500EB199D /* GPUCommandBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8BD21A4C2F100EB199D /* GPUCommandBuffer.h */; };
+               312FF91221A4C36500EB199D /* GPUDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8BE21A4C2F100EB199D /* GPUDevice.h */; };
+               312FF91321A4C36500EB199D /* GPUPipelineDescriptorBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C421A4C2F400EB199D /* GPUPipelineDescriptorBase.h */; };
+               312FF91421A4C36500EB199D /* GPUPipelineStageDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C221A4C2F300EB199D /* GPUPipelineStageDescriptor.h */; };
+               312FF91521A4C36500EB199D /* GPUQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C121A4C2F200EB199D /* GPUQueue.h */; };
+               312FF91621A4C36500EB199D /* GPURenderPipeline.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8B921A4C2EF00EB199D /* GPURenderPipeline.h */; };
+               312FF91721A4C36500EB199D /* GPURenderPipelineDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8BC21A4C2F000EB199D /* GPURenderPipelineDescriptor.h */; };
+               312FF91821A4C36500EB199D /* GPUShaderModule.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8BB21A4C2F000EB199D /* GPUShaderModule.h */; };
+               312FF91921A4C36500EB199D /* GPUShaderModuleDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C021A4C2F200EB199D /* GPUShaderModuleDescriptor.h */; };
+               312FF91A21A4C36500EB199D /* GPUSwapChain.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8BA21A4C2EF00EB199D /* GPUSwapChain.h */; };
+               312FF91B21A4C36500EB199D /* GPUTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C521A4C2F400EB199D /* GPUTexture.h */; };
+               312FF91C21A4C36500EB199D /* GPUTextureFormatEnum.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8C321A4C2F300EB199D /* GPUTextureFormatEnum.h */; };
+               312FF91D21A4C37300EB199D /* GPULegacyRenderPassDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8FF21A4C33F00EB199D /* GPULegacyRenderPassDescriptor.h */; };
+               312FF91E21A4C37300EB199D /* GPULegacyBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90221A4C33F00EB199D /* GPULegacyBuffer.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF91F21A4C37300EB199D /* GPULegacyTextureDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90421A4C33F00EB199D /* GPULegacyTextureDescriptor.h */; };
+               312FF92021A4C37300EB199D /* GPULegacyRenderPassAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90A21A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptor.h */; };
+               312FF92121A4C37300EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90B21A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */; };
+               312FF92221A4C37300EB199D /* GPULegacyLibrary.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90C21A4C33F00EB199D /* GPULegacyLibrary.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF92321A4C37300EB199D /* GPULegacyRenderPipelineState.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF90E21A4C33F00EB199D /* GPULegacyRenderPipelineState.h */; };
+               312FF92421A4C37300EB199D /* GPULegacyFunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF91021A4C33F00EB199D /* GPULegacyFunction.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF92521A4C38B00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D121A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.h */; };
+               312FF92621A4C38B00EB199D /* GPULegacyDepthStencilDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D221A4C33F00EB199D /* GPULegacyDepthStencilDescriptor.h */; };
+               312FF92721A4C38B00EB199D /* GPULegacyDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D321A4C33F00EB199D /* GPULegacyDevice.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF92821A4C38B00EB199D /* GPULegacyTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D421A4C33F00EB199D /* GPULegacyTexture.h */; };
+               312FF92921A4C38B00EB199D /* GPULegacyRenderCommandEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D621A4C33F00EB199D /* GPULegacyRenderCommandEncoder.h */; };
+               312FF92A21A4C38B00EB199D /* GPULegacyCommandQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8D921A4C33F00EB199D /* GPULegacyCommandQueue.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               312FF92B21A4C38B00EB199D /* GPULegacyDrawable.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8DB21A4C33F00EB199D /* GPULegacyDrawable.h */; };
+               312FF92C21A4C38B00EB199D /* GPULegacyEnums.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8DC21A4C33F00EB199D /* GPULegacyEnums.h */; };
+               312FF92D21A4C38B00EB199D /* GPULegacySize.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8DF21A4C33F00EB199D /* GPULegacySize.h */; };
+               312FF92E21A4C38B00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8E321A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.h */; };
+               312FF92F21A4C38B00EB199D /* GPULegacyComputeCommandEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8E421A4C33F00EB199D /* GPULegacyComputeCommandEncoder.h */; };
+               312FF93021A4C38B00EB199D /* GPULegacyDepthStencilState.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8E621A4C33F00EB199D /* GPULegacyDepthStencilState.h */; };
+               312FF93121A4C38B00EB199D /* GPULegacyRenderPipelineDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8E721A4C33F00EB199D /* GPULegacyRenderPipelineDescriptor.h */; };
+               312FF93221A4C55200EB199D /* GPULegacyCommandBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 312FF8DE21A4C33F00EB199D /* GPULegacyCommandBuffer.h */; settings = {ATTRIBUTES = (Private, ); }; };
                313171561FB079E5008D91FC /* CanvasBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 313171541FB079D1008D91FC /* CanvasBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
                313591061E7DDC7300F30630 /* RTCIceConnectionState.h in Headers */ = {isa = PBXBuildFile; fileRef = 313591001E7DDC6000F30630 /* RTCIceConnectionState.h */; };
                313591071E7DDC7300F30630 /* RTCIceGatheringState.h in Headers */ = {isa = PBXBuildFile; fileRef = 313591011E7DDC6000F30630 /* RTCIceGatheringState.h */; };
                314877E61FAAB02500C05759 /* JSOffscreenCanvas.h in Headers */ = {isa = PBXBuildFile; fileRef = 314877E41FAAB02200C05759 /* JSOffscreenCanvas.h */; };
                314BE3A11B30F6B700141982 /* CSSNamedImageValue.h in Headers */ = {isa = PBXBuildFile; fileRef = 314BE3A01B30F6B700141982 /* CSSNamedImageValue.h */; settings = {ATTRIBUTES = (Private, ); }; };
                314BE3A71B3103FB00141982 /* NamedImageGeneratedImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 314BE3A51B3103FB00141982 /* NamedImageGeneratedImage.h */; };
-               316BDB861E6E0A2700DE0D5A /* GPULegacyDevice.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDB851E6E0A2100DE0D5A /* GPULegacyDevice.h */; settings = {ATTRIBUTES = (Private, ); }; };
                316BDB8C1E6E153000DE0D5A /* WebMetalLayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDB8A1E6E153000DE0D5A /* WebMetalLayer.h */; };
-               316BDB951E70C89700DE0D5A /* GPULegacyFunction.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDB931E70C89700DE0D5A /* GPULegacyFunction.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               316BDB9B1E70CBBF00DE0D5A /* GPULegacyLibrary.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDB991E70CBBF00DE0D5A /* GPULegacyLibrary.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               316BDBAA1E71FA9300DE0D5A /* GPULegacyBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBA81E71FA9300DE0D5A /* GPULegacyBuffer.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               316BDBB21E7354BB00DE0D5A /* GPULegacyTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBB01E7354BB00DE0D5A /* GPULegacyTexture.h */; };
-               316BDBB81E7357CB00DE0D5A /* GPULegacyTextureDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBB61E7357CB00DE0D5A /* GPULegacyTextureDescriptor.h */; };
-               316BDBBC1E73880600DE0D5A /* GPULegacyCommandQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBBA1E73880600DE0D5A /* GPULegacyCommandQueue.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               316BDBCD1E75F18400DE0D5A /* GPULegacyDrawable.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBCB1E75F17600DE0D5A /* GPULegacyDrawable.h */; };
-               316BDBCE1E75F18A00DE0D5A /* GPULegacyCommandBuffer.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBC51E75EE2400DE0D5A /* GPULegacyCommandBuffer.h */; };
-               316BDBD31E75F7B600DE0D5A /* GPULegacyRenderPassDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBD11E75F7AE00DE0D5A /* GPULegacyRenderPassDescriptor.h */; };
-               316BDBDB1E7612E200DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBD91E7612DB00DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.h */; };
-               316BDBDF1E76137500DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBDD1E76136C00DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.h */; };
-               316BDBE41E761F0500DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBE31E761EFF00DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.h */; };
-               316BDBEB1E76244D00DE0D5A /* GPULegacyRenderCommandEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBE91E76244400DE0D5A /* GPULegacyRenderCommandEncoder.h */; };
-               316BDBF01E76292000DE0D5A /* GPULegacyDepthStencilState.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBEF1E76291B00DE0D5A /* GPULegacyDepthStencilState.h */; };
-               316BDBF71E762AD500DE0D5A /* GPULegacyDepthStencilDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBF51E762ACD00DE0D5A /* GPULegacyDepthStencilDescriptor.h */; };
-               316BDBFB1E762D0400DE0D5A /* GPULegacyEnums.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBFA1E762D0400DE0D5A /* GPULegacyEnums.h */; };
-               316BDC021E762F6400DE0D5A /* GPULegacyRenderPipelineDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBFD1E762F5700DE0D5A /* GPULegacyRenderPipelineDescriptor.h */; };
-               316BDC031E762F6900DE0D5A /* GPULegacyRenderPipelineState.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDBFF1E762F5700DE0D5A /* GPULegacyRenderPipelineState.h */; };
-               316BDC0D1E7634D200DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDC091E76342700DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */; };
                316DCB201E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 316DCB1A1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h */; };
                316DCB221E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 316DCB1C1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h */; };
                316DCB4C1E7910A6001B5F87 /* JSRTCIceConnectionState.h in Headers */ = {isa = PBXBuildFile; fileRef = 316DCB461E7910A6001B5F87 /* JSRTCIceConnectionState.h */; };
                93A806171E03B51C008A1F26 /* LongRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 93A806131E03B51C008A1F26 /* LongRange.h */; settings = {ATTRIBUTES = (Private, ); }; };
                93A8061E1E03B585008A1F26 /* JSDoubleRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 93A8061A1E03B585008A1F26 /* JSDoubleRange.h */; };
                93A806201E03B585008A1F26 /* JSLongRange.h in Headers */ = {isa = PBXBuildFile; fileRef = 93A8061C1E03B585008A1F26 /* JSLongRange.h */; };
-               93A953B020EBD3C900A619F6 /* GPULegacyComputePipelineState.h in Headers */ = {isa = PBXBuildFile; fileRef = 381E35EC1E8E23E40043E850 /* GPULegacyComputePipelineState.h */; };
-               93A953B420EBD43200A619F6 /* GPULegacyComputeCommandEncoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 381E35EA1E8E20D90043E850 /* GPULegacyComputeCommandEncoder.h */; };
-               93A953B520EC9C3F00A619F6 /* GPULegacySize.h in Headers */ = {isa = PBXBuildFile; fileRef = 381E35F61E8E4D0E0043E850 /* GPULegacySize.h */; };
                93B2D8160F9920D2006AE6B2 /* SuddenTermination.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B2D8150F9920D2006AE6B2 /* SuddenTermination.h */; settings = {ATTRIBUTES = (Private, ); }; };
                93B6A0E60B0BCA5C00F5027A /* ContextMenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B6A0E50B0BCA5C00F5027A /* ContextMenu.h */; settings = {ATTRIBUTES = (Private, ); }; };
                93B70D6409EB0C7C009D8468 /* JSDOMBinding.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */; settings = {ATTRIBUTES = (Private, ); }; };
                31288E710E3005D6003619AE /* CSSKeyframesRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSKeyframesRule.h; sourceTree = "<group>"; };
                3128CA67147331520074C72A /* NotificationController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NotificationController.cpp; sourceTree = "<group>"; };
                3128CA6A147331630074C72A /* NotificationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NotificationController.h; sourceTree = "<group>"; };
+               312FF8B921A4C2EF00EB199D /* GPURenderPipeline.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPURenderPipeline.h; sourceTree = "<group>"; };
+               312FF8BA21A4C2EF00EB199D /* GPUSwapChain.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUSwapChain.h; sourceTree = "<group>"; };
+               312FF8BB21A4C2F000EB199D /* GPUShaderModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUShaderModule.h; sourceTree = "<group>"; };
+               312FF8BC21A4C2F000EB199D /* GPURenderPipelineDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPURenderPipelineDescriptor.h; sourceTree = "<group>"; };
+               312FF8BD21A4C2F100EB199D /* GPUCommandBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUCommandBuffer.h; sourceTree = "<group>"; };
+               312FF8BE21A4C2F100EB199D /* GPUDevice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUDevice.h; sourceTree = "<group>"; };
+               312FF8BF21A4C2F100EB199D /* GPUDevice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUDevice.cpp; sourceTree = "<group>"; };
+               312FF8C021A4C2F200EB199D /* GPUShaderModuleDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUShaderModuleDescriptor.h; sourceTree = "<group>"; };
+               312FF8C121A4C2F200EB199D /* GPUQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUQueue.h; sourceTree = "<group>"; };
+               312FF8C221A4C2F300EB199D /* GPUPipelineStageDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUPipelineStageDescriptor.h; sourceTree = "<group>"; };
+               312FF8C321A4C2F300EB199D /* GPUTextureFormatEnum.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUTextureFormatEnum.h; sourceTree = "<group>"; };
+               312FF8C421A4C2F400EB199D /* GPUPipelineDescriptorBase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUPipelineDescriptorBase.h; sourceTree = "<group>"; };
+               312FF8C521A4C2F400EB199D /* GPUTexture.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUTexture.h; sourceTree = "<group>"; };
+               312FF8C721A4C32500EB199D /* GPUQueueMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUQueueMetal.mm; path = platform/graphics/gpu/cocoa/GPUQueueMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8C821A4C32500EB199D /* GPUTextureMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUTextureMetal.mm; path = platform/graphics/gpu/cocoa/GPUTextureMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8C921A4C32600EB199D /* GPUDeviceMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUDeviceMetal.mm; path = platform/graphics/gpu/cocoa/GPUDeviceMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8CA21A4C32600EB199D /* GPUShaderModuleMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUShaderModuleMetal.mm; path = platform/graphics/gpu/cocoa/GPUShaderModuleMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8CB21A4C32700EB199D /* GPUSwapChainMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUSwapChainMetal.mm; path = platform/graphics/gpu/cocoa/GPUSwapChainMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8CC21A4C32700EB199D /* GPUCommandBufferMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPUCommandBufferMetal.mm; path = platform/graphics/gpu/cocoa/GPUCommandBufferMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8CD21A4C32800EB199D /* GPURenderPipelineMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = GPURenderPipelineMetal.mm; path = platform/graphics/gpu/cocoa/GPURenderPipelineMetal.mm; sourceTree = SOURCE_ROOT; };
+               312FF8CF21A4C33F00EB199D /* GPULegacyTextureDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyTextureDescriptor.cpp; sourceTree = "<group>"; };
+               312FF8D021A4C33F00EB199D /* GPULegacyRenderPipelineDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineDescriptor.cpp; sourceTree = "<group>"; };
+               312FF8D121A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassDepthAttachmentDescriptor.h; sourceTree = "<group>"; };
+               312FF8D221A4C33F00EB199D /* GPULegacyDepthStencilDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyDepthStencilDescriptor.h; sourceTree = "<group>"; };
+               312FF8D321A4C33F00EB199D /* GPULegacyDevice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyDevice.h; sourceTree = "<group>"; };
+               312FF8D421A4C33F00EB199D /* GPULegacyTexture.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyTexture.h; sourceTree = "<group>"; };
+               312FF8D521A4C33F00EB199D /* GPULegacyTexture.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyTexture.cpp; sourceTree = "<group>"; };
+               312FF8D621A4C33F00EB199D /* GPULegacyRenderCommandEncoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderCommandEncoder.h; sourceTree = "<group>"; };
+               312FF8D721A4C33F00EB199D /* GPULegacyComputePipelineState.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyComputePipelineState.h; sourceTree = "<group>"; };
+               312FF8D821A4C33F00EB199D /* GPULegacyFunction.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyFunction.cpp; sourceTree = "<group>"; };
+               312FF8D921A4C33F00EB199D /* GPULegacyCommandQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyCommandQueue.h; sourceTree = "<group>"; };
+               312FF8DA21A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineColorAttachmentDescriptor.cpp; sourceTree = "<group>"; };
+               312FF8DB21A4C33F00EB199D /* GPULegacyDrawable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyDrawable.h; sourceTree = "<group>"; };
+               312FF8DC21A4C33F00EB199D /* GPULegacyEnums.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyEnums.h; sourceTree = "<group>"; };
+               312FF8DD21A4C33F00EB199D /* GPULegacyRenderCommandEncoder.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderCommandEncoder.cpp; sourceTree = "<group>"; };
+               312FF8DE21A4C33F00EB199D /* GPULegacyCommandBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyCommandBuffer.h; sourceTree = "<group>"; };
+               312FF8DF21A4C33F00EB199D /* GPULegacySize.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacySize.h; sourceTree = "<group>"; };
+               312FF8E021A4C33F00EB199D /* GPULegacyBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyBuffer.cpp; sourceTree = "<group>"; };
+               312FF8E121A4C33F00EB199D /* GPULegacyDepthStencilState.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDepthStencilState.cpp; sourceTree = "<group>"; };
+               312FF8E221A4C33F00EB199D /* GPULegacyDevice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDevice.cpp; sourceTree = "<group>"; };
+               312FF8E321A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassColorAttachmentDescriptor.h; sourceTree = "<group>"; };
+               312FF8E421A4C33F00EB199D /* GPULegacyComputeCommandEncoder.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyComputeCommandEncoder.h; sourceTree = "<group>"; };
+               312FF8E521A4C33F00EB199D /* GPULegacyRenderPassDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassDescriptor.cpp; sourceTree = "<group>"; };
+               312FF8E621A4C33F00EB199D /* GPULegacyDepthStencilState.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyDepthStencilState.h; sourceTree = "<group>"; };
+               312FF8E721A4C33F00EB199D /* GPULegacyRenderPipelineDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineDescriptor.h; sourceTree = "<group>"; };
+               312FF8E821A4C33F00EB199D /* GPULegacyComputePipelineState.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyComputePipelineState.cpp; sourceTree = "<group>"; };
+               312FF8EA21A4C33F00EB199D /* GPULegacyDepthStencilDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDepthStencilDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8EB21A4C33F00EB199D /* GPULegacyRenderCommandEncoderMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderCommandEncoderMetal.mm; sourceTree = "<group>"; };
+               312FF8EC21A4C33F00EB199D /* GPULegacyTextureDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyTextureDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8ED21A4C33F00EB199D /* GPULegacyFunctionMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyFunctionMetal.mm; sourceTree = "<group>"; };
+               312FF8EE21A4C33F00EB199D /* GPULegacyDrawableMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDrawableMetal.mm; sourceTree = "<group>"; };
+               312FF8EF21A4C33F00EB199D /* GPULegacyRenderPipelineDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8F021A4C33F00EB199D /* GPULegacyRenderPassDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8F121A4C33F00EB199D /* GPULegacyCommandQueueMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyCommandQueueMetal.mm; sourceTree = "<group>"; };
+               312FF8F221A4C33F00EB199D /* GPULegacyLibraryMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyLibraryMetal.mm; sourceTree = "<group>"; };
+               312FF8F321A4C33F00EB199D /* GPULegacyComputeCommandEncoderMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyComputeCommandEncoderMetal.mm; sourceTree = "<group>"; };
+               312FF8F421A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8F521A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassColorAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8F621A4C33F00EB199D /* GPULegacyCommandBufferMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyCommandBufferMetal.mm; sourceTree = "<group>"; };
+               312FF8F721A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8F821A4C33F00EB199D /* GPULegacyDeviceMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDeviceMetal.mm; sourceTree = "<group>"; };
+               312FF8F921A4C33F00EB199D /* GPULegacyDepthStencilStateMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDepthStencilStateMetal.mm; sourceTree = "<group>"; };
+               312FF8FA21A4C33F00EB199D /* GPULegacyBufferMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyBufferMetal.mm; sourceTree = "<group>"; };
+               312FF8FB21A4C33F00EB199D /* GPULegacyComputePipelineStateMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyComputePipelineStateMetal.mm; sourceTree = "<group>"; };
+               312FF8FC21A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
+               312FF8FD21A4C33F00EB199D /* GPULegacyRenderPipelineStateMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineStateMetal.mm; sourceTree = "<group>"; };
+               312FF8FE21A4C33F00EB199D /* GPULegacyTextureMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyTextureMetal.mm; sourceTree = "<group>"; };
+               312FF8FF21A4C33F00EB199D /* GPULegacyRenderPassDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassDescriptor.h; sourceTree = "<group>"; };
+               312FF90021A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassColorAttachmentDescriptor.cpp; sourceTree = "<group>"; };
+               312FF90121A4C33F00EB199D /* GPULegacyRenderPipelineState.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineState.cpp; sourceTree = "<group>"; };
+               312FF90221A4C33F00EB199D /* GPULegacyBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyBuffer.h; sourceTree = "<group>"; };
+               312FF90321A4C33F00EB199D /* GPULegacyCommandBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyCommandBuffer.cpp; sourceTree = "<group>"; };
+               312FF90421A4C33F00EB199D /* GPULegacyTextureDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyTextureDescriptor.h; sourceTree = "<group>"; };
+               312FF90521A4C33F00EB199D /* GPULegacyLibrary.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyLibrary.cpp; sourceTree = "<group>"; };
+               312FF90621A4C33F00EB199D /* GPULegacyComputeCommandEncoder.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyComputeCommandEncoder.cpp; sourceTree = "<group>"; };
+               312FF90721A4C33F00EB199D /* GPULegacyDrawable.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDrawable.cpp; sourceTree = "<group>"; };
+               312FF90821A4C33F00EB199D /* GPULegacyDepthStencilDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDepthStencilDescriptor.cpp; sourceTree = "<group>"; };
+               312FF90921A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassDepthAttachmentDescriptor.cpp; sourceTree = "<group>"; };
+               312FF90A21A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassAttachmentDescriptor.h; sourceTree = "<group>"; };
+               312FF90B21A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineColorAttachmentDescriptor.h; sourceTree = "<group>"; };
+               312FF90C21A4C33F00EB199D /* GPULegacyLibrary.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyLibrary.h; sourceTree = "<group>"; };
+               312FF90D21A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptor.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassAttachmentDescriptor.cpp; sourceTree = "<group>"; };
+               312FF90E21A4C33F00EB199D /* GPULegacyRenderPipelineState.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineState.h; sourceTree = "<group>"; };
+               312FF90F21A4C33F00EB199D /* GPULegacyCommandQueue.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyCommandQueue.cpp; sourceTree = "<group>"; };
+               312FF91021A4C33F00EB199D /* GPULegacyFunction.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPULegacyFunction.h; sourceTree = "<group>"; };
                313171541FB079D1008D91FC /* CanvasBase.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CanvasBase.h; sourceTree = "<group>"; };
                313171571FB0969E008D91FC /* CanvasBase.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CanvasBase.cpp; sourceTree = "<group>"; };
                313591001E7DDC6000F30630 /* RTCIceConnectionState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RTCIceConnectionState.h; sourceTree = "<group>"; };
                314BE3A41B3103FB00141982 /* NamedImageGeneratedImage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NamedImageGeneratedImage.cpp; sourceTree = "<group>"; };
                314BE3A51B3103FB00141982 /* NamedImageGeneratedImage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NamedImageGeneratedImage.h; sourceTree = "<group>"; };
                315574CC218F66D000D88F66 /* PointerEventIOS.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PointerEventIOS.cpp; sourceTree = "<group>"; };
-               316BDB841E6E0A2100DE0D5A /* GPULegacyDevice.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDevice.cpp; sourceTree = "<group>"; };
-               316BDB851E6E0A2100DE0D5A /* GPULegacyDevice.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyDevice.h; sourceTree = "<group>"; };
                316BDB881E6E141C00DE0D5A /* GPULegacyDeviceMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDeviceMetal.mm; sourceTree = "<group>"; };
                316BDB8A1E6E153000DE0D5A /* WebMetalLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebMetalLayer.h; sourceTree = "<group>"; };
-               316BDB921E70C89700DE0D5A /* GPULegacyFunction.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyFunction.cpp; sourceTree = "<group>"; };
-               316BDB931E70C89700DE0D5A /* GPULegacyFunction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyFunction.h; sourceTree = "<group>"; };
                316BDB961E70CA2400DE0D5A /* GPULegacyFunctionMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyFunctionMetal.mm; sourceTree = "<group>"; };
-               316BDB981E70CBBF00DE0D5A /* GPULegacyLibrary.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyLibrary.cpp; sourceTree = "<group>"; };
-               316BDB991E70CBBF00DE0D5A /* GPULegacyLibrary.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyLibrary.h; sourceTree = "<group>"; };
                316BDB9C1E70CD9000DE0D5A /* GPULegacyLibraryMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyLibraryMetal.mm; sourceTree = "<group>"; };
                316BDBA51E71FA6F00DE0D5A /* GPULegacyBufferMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyBufferMetal.mm; sourceTree = "<group>"; };
-               316BDBA71E71FA9300DE0D5A /* GPULegacyBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyBuffer.cpp; sourceTree = "<group>"; };
-               316BDBA81E71FA9300DE0D5A /* GPULegacyBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyBuffer.h; sourceTree = "<group>"; };
-               316BDBAF1E7354BB00DE0D5A /* GPULegacyTexture.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyTexture.cpp; sourceTree = "<group>"; };
-               316BDBB01E7354BB00DE0D5A /* GPULegacyTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyTexture.h; sourceTree = "<group>"; };
                316BDBB31E7357B000DE0D5A /* GPULegacyTextureDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyTextureDescriptorMetal.mm; sourceTree = "<group>"; };
-               316BDBB51E7357CB00DE0D5A /* GPULegacyTextureDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyTextureDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBB61E7357CB00DE0D5A /* GPULegacyTextureDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyTextureDescriptor.h; sourceTree = "<group>"; };
-               316BDBB91E73880600DE0D5A /* GPULegacyCommandQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyCommandQueue.cpp; sourceTree = "<group>"; };
-               316BDBBA1E73880600DE0D5A /* GPULegacyCommandQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyCommandQueue.h; sourceTree = "<group>"; };
                316BDBBD1E73881300DE0D5A /* GPULegacyCommandQueueMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyCommandQueueMetal.mm; sourceTree = "<group>"; };
-               316BDBC41E75EE2400DE0D5A /* GPULegacyCommandBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyCommandBuffer.cpp; sourceTree = "<group>"; };
-               316BDBC51E75EE2400DE0D5A /* GPULegacyCommandBuffer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyCommandBuffer.h; sourceTree = "<group>"; };
                316BDBC61E75EE3D00DE0D5A /* GPULegacyCommandBufferMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyCommandBufferMetal.mm; sourceTree = "<group>"; };
                316BDBC91E75F16200DE0D5A /* GPULegacyDrawableMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDrawableMetal.mm; sourceTree = "<group>"; };
-               316BDBCA1E75F17600DE0D5A /* GPULegacyDrawable.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDrawable.cpp; sourceTree = "<group>"; };
-               316BDBCB1E75F17600DE0D5A /* GPULegacyDrawable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyDrawable.h; sourceTree = "<group>"; };
-               316BDBD01E75F7AE00DE0D5A /* GPULegacyRenderPassDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBD11E75F7AE00DE0D5A /* GPULegacyRenderPassDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassDescriptor.h; sourceTree = "<group>"; };
                316BDBD41E75F7CA00DE0D5A /* GPULegacyRenderPassDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassDescriptorMetal.mm; sourceTree = "<group>"; };
                316BDBD61E7612C400DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassColorAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
-               316BDBD81E7612DB00DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassColorAttachmentDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBD91E7612DB00DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassColorAttachmentDescriptor.h; sourceTree = "<group>"; };
-               316BDBDC1E76136C00DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassAttachmentDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBDD1E76136C00DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassAttachmentDescriptor.h; sourceTree = "<group>"; };
                316BDBE01E761CB500DE0D5A /* GPULegacyRenderPassAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
-               316BDBE21E761EFF00DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPassDepthAttachmentDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBE31E761EFF00DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPassDepthAttachmentDescriptor.h; sourceTree = "<group>"; };
                316BDBE61E761F2700DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
-               316BDBE81E76244300DE0D5A /* GPULegacyRenderCommandEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderCommandEncoder.cpp; sourceTree = "<group>"; };
-               316BDBE91E76244400DE0D5A /* GPULegacyRenderCommandEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderCommandEncoder.h; sourceTree = "<group>"; };
                316BDBEC1E76246B00DE0D5A /* GPULegacyRenderCommandEncoderMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderCommandEncoderMetal.mm; sourceTree = "<group>"; };
-               316BDBEE1E76291B00DE0D5A /* GPULegacyDepthStencilState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDepthStencilState.cpp; sourceTree = "<group>"; };
-               316BDBEF1E76291B00DE0D5A /* GPULegacyDepthStencilState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyDepthStencilState.h; sourceTree = "<group>"; };
                316BDBF21E76293700DE0D5A /* GPULegacyDepthStencilStateMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDepthStencilStateMetal.mm; sourceTree = "<group>"; };
-               316BDBF41E762ACD00DE0D5A /* GPULegacyDepthStencilDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyDepthStencilDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBF51E762ACD00DE0D5A /* GPULegacyDepthStencilDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyDepthStencilDescriptor.h; sourceTree = "<group>"; };
                316BDBF81E762BEF00DE0D5A /* GPULegacyDepthStencilDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyDepthStencilDescriptorMetal.mm; sourceTree = "<group>"; };
-               316BDBFA1E762D0400DE0D5A /* GPULegacyEnums.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyEnums.h; sourceTree = "<group>"; };
-               316BDBFC1E762F5700DE0D5A /* GPULegacyRenderPipelineDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineDescriptor.cpp; sourceTree = "<group>"; };
-               316BDBFD1E762F5700DE0D5A /* GPULegacyRenderPipelineDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineDescriptor.h; sourceTree = "<group>"; };
-               316BDBFE1E762F5700DE0D5A /* GPULegacyRenderPipelineState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineState.cpp; sourceTree = "<group>"; };
-               316BDBFF1E762F5700DE0D5A /* GPULegacyRenderPipelineState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineState.h; sourceTree = "<group>"; };
                316BDC041E762F7E00DE0D5A /* GPULegacyRenderPipelineDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineDescriptorMetal.mm; sourceTree = "<group>"; };
                316BDC051E762F7E00DE0D5A /* GPULegacyRenderPipelineStateMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineStateMetal.mm; sourceTree = "<group>"; };
-               316BDC081E76342700DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyRenderPipelineColorAttachmentDescriptor.cpp; sourceTree = "<group>"; };
-               316BDC091E76342700DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyRenderPipelineColorAttachmentDescriptor.h; sourceTree = "<group>"; };
                316BDC0A1E76343600DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm; sourceTree = "<group>"; };
                316DCB121E78BE43001B5F87 /* RTCOfferAnswerOptions.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCOfferAnswerOptions.idl; sourceTree = "<group>"; };
                316DCB171E78C330001B5F87 /* RTCRtpTransceiverDirection.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCRtpTransceiverDirection.idl; sourceTree = "<group>"; };
                381E35E71E8E1E0A0043E850 /* WebGPUComputeCommandEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebGPUComputeCommandEncoder.h; sourceTree = "<group>"; };
                381E35E81E8E1E160043E850 /* WebGPUComputeCommandEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUComputeCommandEncoder.cpp; sourceTree = "<group>"; };
                381E35E91E8E20AC0043E850 /* GPULegacyComputeCommandEncoderMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyComputeCommandEncoderMetal.mm; sourceTree = "<group>"; };
-               381E35EA1E8E20D90043E850 /* GPULegacyComputeCommandEncoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyComputeCommandEncoder.h; sourceTree = "<group>"; };
-               381E35EB1E8E21990043E850 /* GPULegacyComputeCommandEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyComputeCommandEncoder.cpp; sourceTree = "<group>"; };
-               381E35EC1E8E23E40043E850 /* GPULegacyComputePipelineState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacyComputePipelineState.h; sourceTree = "<group>"; };
-               381E35ED1E8E247A0043E850 /* GPULegacyComputePipelineState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GPULegacyComputePipelineState.cpp; sourceTree = "<group>"; };
                381E35EE1E8E24CB0043E850 /* GPULegacyComputePipelineStateMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyComputePipelineStateMetal.mm; sourceTree = "<group>"; };
                381E35EF1E8E3D7F0043E850 /* WebGPUSize.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = WebGPUSize.idl; sourceTree = "<group>"; };
                381E35F51E8E4C420043E850 /* WebGPUSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebGPUSize.h; sourceTree = "<group>"; };
-               381E35F61E8E4D0E0043E850 /* GPULegacySize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPULegacySize.h; sourceTree = "<group>"; };
                387AE9581E8E92EF0000DE96 /* JSWebGPUSize.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGPUSize.cpp; sourceTree = "<group>"; };
                387AE9591E8E92EF0000DE96 /* JSWebGPUSize.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWebGPUSize.h; sourceTree = "<group>"; };
                38F23AAE1E8E83C400CE46F5 /* JSWebGPUComputeCommandEncoder.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWebGPUComputeCommandEncoder.cpp; sourceTree = "<group>"; };
                D045AD2121682474000A6E9B /* WebMetalBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebMetalBuffer.cpp; sourceTree = "<group>"; };
                D045AD2221682474000A6E9B /* WebMetalCommandBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebMetalCommandBuffer.h; sourceTree = "<group>"; };
                D045AD2321682475000A6E9B /* WebMetalCommandQueue.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebMetalCommandQueue.cpp; sourceTree = "<group>"; };
-               D046FB65218D073C00CB8F62 /* GPURenderPipelineDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPURenderPipelineDescriptor.h; sourceTree = "<group>"; };
-               D046FB67218D180300CB8F62 /* GPUPipelineStageDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUPipelineStageDescriptor.h; sourceTree = "<group>"; };
-               D046FB68218D18CD00CB8F62 /* GPUPipelineDescriptorBase.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUPipelineDescriptorBase.h; sourceTree = "<group>"; };
                D0573D42217EB81E00D1BE91 /* GPULegacyTextureMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPULegacyTextureMetal.mm; sourceTree = "<group>"; };
                D05CED270A40BB2C00C5AF38 /* FormatBlockCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FormatBlockCommand.cpp; sourceTree = "<group>"; };
                D05CED280A40BB2C00C5AF38 /* FormatBlockCommand.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FormatBlockCommand.h; sourceTree = "<group>"; };
                D060D88421825D5F00339318 /* WebGPUShaderModuleDescriptor.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUShaderModuleDescriptor.idl; sourceTree = "<group>"; };
                D060D8872182697000339318 /* WebGPUShaderModuleDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUShaderModuleDescriptor.h; sourceTree = "<group>"; };
-               D060D888218280C100339318 /* GPUShaderModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUShaderModule.h; sourceTree = "<group>"; };
-               D060D889218280C100339318 /* GPUShaderModuleMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUShaderModuleMetal.mm; sourceTree = "<group>"; };
                D0615FCC217FE5C6008A48A8 /* WebGPUShaderModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUShaderModule.h; sourceTree = "<group>"; };
                D0615FCD217FE5C6008A48A8 /* WebGPUShaderModule.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUShaderModule.cpp; sourceTree = "<group>"; };
                D0615FCE217FE5C6008A48A8 /* WebGPUShaderModule.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUShaderModule.idl; sourceTree = "<group>"; };
-               D0615FCF217FF185008A48A8 /* GPUDevice.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUDevice.h; sourceTree = "<group>"; };
-               D0615FD1217FF1E1008A48A8 /* GPUDeviceMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUDeviceMetal.mm; sourceTree = "<group>"; };
                D06C0D8D0CFD11460065F43F /* RemoveFormatCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RemoveFormatCommand.h; sourceTree = "<group>"; };
                D06C0D8E0CFD11460065F43F /* RemoveFormatCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RemoveFormatCommand.cpp; sourceTree = "<group>"; };
                D07DEAB70A36554A00CA30F8 /* InsertListCommand.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = InsertListCommand.cpp; sourceTree = "<group>"; };
                D093D225217951D400329217 /* WebGPURenderingContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPURenderingContext.h; sourceTree = "<group>"; };
                D093D227217951D400329217 /* WebGPURenderingContext.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPURenderingContext.idl; sourceTree = "<group>"; };
                D093D2292179541600329217 /* WebGPURenderingContext.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPURenderingContext.cpp; sourceTree = "<group>"; };
-               D09727B62187F44300942F3A /* GPUSwapChainMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUSwapChainMetal.mm; sourceTree = "<group>"; };
-               D09727C2218A472900942F3A /* GPUShaderModuleDescriptor.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUShaderModuleDescriptor.h; sourceTree = "<group>"; };
-               D09727CA218BD7A500942F3A /* GPUDevice.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = GPUDevice.cpp; sourceTree = "<group>"; };
                D0A20D542092A0A600E0C259 /* WebGLCompressedTextureASTC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebGLCompressedTextureASTC.h; sourceTree = "<group>"; };
                D0A20D562092A0A600E0C259 /* WebGLCompressedTextureASTC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebGLCompressedTextureASTC.cpp; sourceTree = "<group>"; };
                D0A3A7301405A39800FB8ED3 /* ResourceLoaderOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ResourceLoaderOptions.h; sourceTree = "<group>"; };
                D0C419F7218404DA009EC1DE /* WebGPURenderPipeline.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPURenderPipeline.h; sourceTree = "<group>"; };
                D0C419F8218404DA009EC1DE /* WebGPURenderPipeline.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPURenderPipeline.cpp; sourceTree = "<group>"; };
                D0C419F9218404DA009EC1DE /* WebGPURenderPipeline.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPURenderPipeline.idl; sourceTree = "<group>"; };
-               D0C419FB21840F6C009EC1DE /* GPURenderPipelineMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPURenderPipelineMetal.mm; sourceTree = "<group>"; };
                D0CAAE98216824A6001C91C7 /* WebMetalBuffer.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebMetalBuffer.idl; sourceTree = "<group>"; };
                D0CAAE9A216824A6001C91C7 /* WebMetalCommandBuffer.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebMetalCommandBuffer.idl; sourceTree = "<group>"; };
                D0CAAE9B216824A7001C91C7 /* WebMetalCommandQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebMetalCommandQueue.h; sourceTree = "<group>"; };
                D0EACF7621937228000FA75C /* WebGPUCommandBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUCommandBuffer.h; sourceTree = "<group>"; };
                D0EACF7721937228000FA75C /* WebGPUCommandBuffer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUCommandBuffer.cpp; sourceTree = "<group>"; };
                D0EACF7821937228000FA75C /* WebGPUCommandBuffer.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUCommandBuffer.idl; sourceTree = "<group>"; };
-               D0EACF7B21938253000FA75C /* GPUCommandBufferMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUCommandBufferMetal.mm; sourceTree = "<group>"; };
-               D0EACF7C219382AF000FA75C /* GPUSwapChain.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = GPUSwapChain.h; path = Modules/webgpu/GPUSwapChain.h; sourceTree = SOURCE_ROOT; };
-               D0EACF7D219382B0000FA75C /* GPURenderPipeline.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = GPURenderPipeline.h; path = Modules/webgpu/GPURenderPipeline.h; sourceTree = SOURCE_ROOT; };
-               D0EACF7E219382B0000FA75C /* GPUCommandBuffer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = GPUCommandBuffer.h; path = Modules/webgpu/GPUCommandBuffer.h; sourceTree = SOURCE_ROOT; };
-               D0EACF80219391EE000FA75C /* GPUQueueMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUQueueMetal.mm; sourceTree = "<group>"; };
-               D0EACF812193921A000FA75C /* GPUQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUQueue.h; sourceTree = "<group>"; };
-               D0EACF822193AB38000FA75C /* GPUTexture.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUTexture.h; sourceTree = "<group>"; };
-               D0EACF832193AB38000FA75C /* GPUTextureMetal.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = GPUTextureMetal.mm; sourceTree = "<group>"; };
                D0EACF842193B02E000FA75C /* WebGPUTexture.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUTexture.h; sourceTree = "<group>"; };
                D0EACF852193B02E000FA75C /* WebGPUTexture.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = WebGPUTexture.cpp; sourceTree = "<group>"; };
                D0EACF862193B02E000FA75C /* WebGPUTexture.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUTexture.idl; sourceTree = "<group>"; };
                D0EACF892193EE4E000FA75C /* WebGPUTextureView.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUTextureView.idl; sourceTree = "<group>"; };
                D0EACFAD219E30FD000FA75C /* WebGPUTextureFormatEnum.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPUTextureFormatEnum.h; sourceTree = "<group>"; };
                D0EACFAE219E30FD000FA75C /* WebGPUTextureFormatEnum.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = WebGPUTextureFormatEnum.idl; sourceTree = "<group>"; };
-               D0EACFB2219E4F14000FA75C /* GPUTextureFormatEnum.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GPUTextureFormatEnum.h; sourceTree = "<group>"; };
                D0EDA772143E303C0028E383 /* CachedRawResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CachedRawResource.cpp; sourceTree = "<group>"; };
                D0EDA773143E303C0028E383 /* CachedRawResource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CachedRawResource.h; sourceTree = "<group>"; };
                D0FF2A5B11F8C45A007E74E0 /* PingLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PingLoader.cpp; sourceTree = "<group>"; };
                        path = workers;
                        sourceTree = "<group>";
                };
+               312FF8C621A4C30200EB199D /* cocoa */ = {
+                       isa = PBXGroup;
+                       children = (
+                               312FF8CC21A4C32700EB199D /* GPUCommandBufferMetal.mm */,
+                               312FF8C921A4C32600EB199D /* GPUDeviceMetal.mm */,
+                               312FF8C721A4C32500EB199D /* GPUQueueMetal.mm */,
+                               312FF8CD21A4C32800EB199D /* GPURenderPipelineMetal.mm */,
+                               312FF8CA21A4C32600EB199D /* GPUShaderModuleMetal.mm */,
+                               312FF8CB21A4C32700EB199D /* GPUSwapChainMetal.mm */,
+                               312FF8C821A4C32500EB199D /* GPUTextureMetal.mm */,
+                       );
+                       name = cocoa;
+                       path = "New Group";
+                       sourceTree = "<group>";
+               };
+               312FF8CE21A4C33F00EB199D /* legacy */ = {
+                       isa = PBXGroup;
+                       children = (
+                               312FF8E921A4C33F00EB199D /* cocoa */,
+                               312FF8E021A4C33F00EB199D /* GPULegacyBuffer.cpp */,
+                               312FF90221A4C33F00EB199D /* GPULegacyBuffer.h */,
+                               312FF90321A4C33F00EB199D /* GPULegacyCommandBuffer.cpp */,
+                               312FF8DE21A4C33F00EB199D /* GPULegacyCommandBuffer.h */,
+                               312FF90F21A4C33F00EB199D /* GPULegacyCommandQueue.cpp */,
+                               312FF8D921A4C33F00EB199D /* GPULegacyCommandQueue.h */,
+                               312FF90621A4C33F00EB199D /* GPULegacyComputeCommandEncoder.cpp */,
+                               312FF8E421A4C33F00EB199D /* GPULegacyComputeCommandEncoder.h */,
+                               312FF8E821A4C33F00EB199D /* GPULegacyComputePipelineState.cpp */,
+                               312FF8D721A4C33F00EB199D /* GPULegacyComputePipelineState.h */,
+                               312FF90821A4C33F00EB199D /* GPULegacyDepthStencilDescriptor.cpp */,
+                               312FF8D221A4C33F00EB199D /* GPULegacyDepthStencilDescriptor.h */,
+                               312FF8E121A4C33F00EB199D /* GPULegacyDepthStencilState.cpp */,
+                               312FF8E621A4C33F00EB199D /* GPULegacyDepthStencilState.h */,
+                               312FF8E221A4C33F00EB199D /* GPULegacyDevice.cpp */,
+                               312FF8D321A4C33F00EB199D /* GPULegacyDevice.h */,
+                               312FF90721A4C33F00EB199D /* GPULegacyDrawable.cpp */,
+                               312FF8DB21A4C33F00EB199D /* GPULegacyDrawable.h */,
+                               312FF8DC21A4C33F00EB199D /* GPULegacyEnums.h */,
+                               312FF8D821A4C33F00EB199D /* GPULegacyFunction.cpp */,
+                               312FF91021A4C33F00EB199D /* GPULegacyFunction.h */,
+                               312FF90521A4C33F00EB199D /* GPULegacyLibrary.cpp */,
+                               312FF90C21A4C33F00EB199D /* GPULegacyLibrary.h */,
+                               312FF8DD21A4C33F00EB199D /* GPULegacyRenderCommandEncoder.cpp */,
+                               312FF8D621A4C33F00EB199D /* GPULegacyRenderCommandEncoder.h */,
+                               312FF90D21A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptor.cpp */,
+                               312FF90A21A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptor.h */,
+                               312FF90021A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.cpp */,
+                               312FF8E321A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.h */,
+                               312FF90921A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.cpp */,
+                               312FF8D121A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.h */,
+                               312FF8E521A4C33F00EB199D /* GPULegacyRenderPassDescriptor.cpp */,
+                               312FF8FF21A4C33F00EB199D /* GPULegacyRenderPassDescriptor.h */,
+                               312FF8DA21A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.cpp */,
+                               312FF90B21A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */,
+                               312FF8D021A4C33F00EB199D /* GPULegacyRenderPipelineDescriptor.cpp */,
+                               312FF8E721A4C33F00EB199D /* GPULegacyRenderPipelineDescriptor.h */,
+                               312FF90121A4C33F00EB199D /* GPULegacyRenderPipelineState.cpp */,
+                               312FF90E21A4C33F00EB199D /* GPULegacyRenderPipelineState.h */,
+                               312FF8DF21A4C33F00EB199D /* GPULegacySize.h */,
+                               312FF8D521A4C33F00EB199D /* GPULegacyTexture.cpp */,
+                               312FF8D421A4C33F00EB199D /* GPULegacyTexture.h */,
+                               312FF8CF21A4C33F00EB199D /* GPULegacyTextureDescriptor.cpp */,
+                               312FF90421A4C33F00EB199D /* GPULegacyTextureDescriptor.h */,
+                       );
+                       path = legacy;
+                       sourceTree = "<group>";
+               };
+               312FF8E921A4C33F00EB199D /* cocoa */ = {
+                       isa = PBXGroup;
+                       children = (
+                               312FF8FA21A4C33F00EB199D /* GPULegacyBufferMetal.mm */,
+                               312FF8F621A4C33F00EB199D /* GPULegacyCommandBufferMetal.mm */,
+                               312FF8F121A4C33F00EB199D /* GPULegacyCommandQueueMetal.mm */,
+                               312FF8F321A4C33F00EB199D /* GPULegacyComputeCommandEncoderMetal.mm */,
+                               312FF8FB21A4C33F00EB199D /* GPULegacyComputePipelineStateMetal.mm */,
+                               312FF8EA21A4C33F00EB199D /* GPULegacyDepthStencilDescriptorMetal.mm */,
+                               312FF8F921A4C33F00EB199D /* GPULegacyDepthStencilStateMetal.mm */,
+                               312FF8F821A4C33F00EB199D /* GPULegacyDeviceMetal.mm */,
+                               312FF8EE21A4C33F00EB199D /* GPULegacyDrawableMetal.mm */,
+                               312FF8ED21A4C33F00EB199D /* GPULegacyFunctionMetal.mm */,
+                               312FF8F221A4C33F00EB199D /* GPULegacyLibraryMetal.mm */,
+                               312FF8EB21A4C33F00EB199D /* GPULegacyRenderCommandEncoderMetal.mm */,
+                               312FF8F721A4C33F00EB199D /* GPULegacyRenderPassAttachmentDescriptorMetal.mm */,
+                               312FF8F521A4C33F00EB199D /* GPULegacyRenderPassColorAttachmentDescriptorMetal.mm */,
+                               312FF8FC21A4C33F00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptorMetal.mm */,
+                               312FF8F021A4C33F00EB199D /* GPULegacyRenderPassDescriptorMetal.mm */,
+                               312FF8F421A4C33F00EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptorMetal.mm */,
+                               312FF8EF21A4C33F00EB199D /* GPULegacyRenderPipelineDescriptorMetal.mm */,
+                               312FF8FD21A4C33F00EB199D /* GPULegacyRenderPipelineStateMetal.mm */,
+                               312FF8EC21A4C33F00EB199D /* GPULegacyTextureDescriptorMetal.mm */,
+                               312FF8FE21A4C33F00EB199D /* GPULegacyTextureMetal.mm */,
+                       );
+                       path = cocoa;
+                       sourceTree = "<group>";
+               };
                316FE1060E6E1D8400BF6088 /* animation */ = {
                        isa = PBXGroup;
                        children = (
                498770C11242C50D002226BA /* gpu */ = {
                        isa = PBXGroup;
                        children = (
-                               316BDBA71E71FA9300DE0D5A /* GPULegacyBuffer.cpp */,
-                               316BDBA81E71FA9300DE0D5A /* GPULegacyBuffer.h */,
-                               316BDBC41E75EE2400DE0D5A /* GPULegacyCommandBuffer.cpp */,
-                               316BDBC51E75EE2400DE0D5A /* GPULegacyCommandBuffer.h */,
-                               316BDBB91E73880600DE0D5A /* GPULegacyCommandQueue.cpp */,
-                               316BDBBA1E73880600DE0D5A /* GPULegacyCommandQueue.h */,
-                               381E35EB1E8E21990043E850 /* GPULegacyComputeCommandEncoder.cpp */,
-                               381E35EA1E8E20D90043E850 /* GPULegacyComputeCommandEncoder.h */,
-                               381E35ED1E8E247A0043E850 /* GPULegacyComputePipelineState.cpp */,
-                               381E35EC1E8E23E40043E850 /* GPULegacyComputePipelineState.h */,
-                               316BDBF41E762ACD00DE0D5A /* GPULegacyDepthStencilDescriptor.cpp */,
-                               316BDBF51E762ACD00DE0D5A /* GPULegacyDepthStencilDescriptor.h */,
-                               316BDBEE1E76291B00DE0D5A /* GPULegacyDepthStencilState.cpp */,
-                               316BDBEF1E76291B00DE0D5A /* GPULegacyDepthStencilState.h */,
-                               316BDB841E6E0A2100DE0D5A /* GPULegacyDevice.cpp */,
-                               316BDB851E6E0A2100DE0D5A /* GPULegacyDevice.h */,
-                               316BDBCA1E75F17600DE0D5A /* GPULegacyDrawable.cpp */,
-                               316BDBCB1E75F17600DE0D5A /* GPULegacyDrawable.h */,
-                               316BDBFA1E762D0400DE0D5A /* GPULegacyEnums.h */,
-                               316BDB921E70C89700DE0D5A /* GPULegacyFunction.cpp */,
-                               316BDB931E70C89700DE0D5A /* GPULegacyFunction.h */,
-                               316BDB981E70CBBF00DE0D5A /* GPULegacyLibrary.cpp */,
-                               316BDB991E70CBBF00DE0D5A /* GPULegacyLibrary.h */,
-                               316BDBE81E76244300DE0D5A /* GPULegacyRenderCommandEncoder.cpp */,
-                               316BDBE91E76244400DE0D5A /* GPULegacyRenderCommandEncoder.h */,
-                               316BDBDC1E76136C00DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.cpp */,
-                               316BDBDD1E76136C00DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.h */,
-                               316BDBD81E7612DB00DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.cpp */,
-                               316BDBD91E7612DB00DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.h */,
-                               316BDBE21E761EFF00DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.cpp */,
-                               316BDBE31E761EFF00DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.h */,
-                               316BDBD01E75F7AE00DE0D5A /* GPULegacyRenderPassDescriptor.cpp */,
-                               316BDBD11E75F7AE00DE0D5A /* GPULegacyRenderPassDescriptor.h */,
-                               316BDC081E76342700DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.cpp */,
-                               316BDC091E76342700DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.h */,
-                               316BDBFC1E762F5700DE0D5A /* GPULegacyRenderPipelineDescriptor.cpp */,
-                               316BDBFD1E762F5700DE0D5A /* GPULegacyRenderPipelineDescriptor.h */,
-                               316BDBFE1E762F5700DE0D5A /* GPULegacyRenderPipelineState.cpp */,
-                               316BDBFF1E762F5700DE0D5A /* GPULegacyRenderPipelineState.h */,
-                               381E35F61E8E4D0E0043E850 /* GPULegacySize.h */,
-                               316BDBAF1E7354BB00DE0D5A /* GPULegacyTexture.cpp */,
-                               316BDBB01E7354BB00DE0D5A /* GPULegacyTexture.h */,
-                               316BDBB51E7357CB00DE0D5A /* GPULegacyTextureDescriptor.cpp */,
-                               316BDBB61E7357CB00DE0D5A /* GPULegacyTextureDescriptor.h */,
+                               312FF8C621A4C30200EB199D /* cocoa */,
+                               312FF8CE21A4C33F00EB199D /* legacy */,
+                               312FF8BD21A4C2F100EB199D /* GPUCommandBuffer.h */,
+                               312FF8BF21A4C2F100EB199D /* GPUDevice.cpp */,
+                               312FF8BE21A4C2F100EB199D /* GPUDevice.h */,
+                               312FF8C421A4C2F400EB199D /* GPUPipelineDescriptorBase.h */,
+                               312FF8C221A4C2F300EB199D /* GPUPipelineStageDescriptor.h */,
+                               312FF8C121A4C2F200EB199D /* GPUQueue.h */,
+                               312FF8B921A4C2EF00EB199D /* GPURenderPipeline.h */,
+                               312FF8BC21A4C2F000EB199D /* GPURenderPipelineDescriptor.h */,
+                               312FF8BB21A4C2F000EB199D /* GPUShaderModule.h */,
+                               312FF8C021A4C2F200EB199D /* GPUShaderModuleDescriptor.h */,
+                               312FF8BA21A4C2EF00EB199D /* GPUSwapChain.h */,
+                               312FF8C521A4C2F400EB199D /* GPUTexture.h */,
+                               312FF8C321A4C2F300EB199D /* GPUTextureFormatEnum.h */,
                                498770D71242C535002226BA /* Texture.cpp */,
                                498770D81242C535002226BA /* Texture.h */,
                                498770D91242C535002226BA /* TilingData.cpp */,
                D00F593E216ECC43000D71DB /* webgpu */ = {
                        isa = PBXGroup;
                        children = (
-                               D0615FD2217FFEE3008A48A8 /* cocoa */,
                                D00F5941216ECC7A000D71DB /* DOMWindowWebGPU.cpp */,
                                D00F5940216ECC7A000D71DB /* DOMWindowWebGPU.h */,
                                D00F5942216ECC7A000D71DB /* DOMWindowWebGPU.idl */,
-                               D0EACF7E219382B0000FA75C /* GPUCommandBuffer.h */,
-                               D09727CA218BD7A500942F3A /* GPUDevice.cpp */,
-                               D0615FCF217FF185008A48A8 /* GPUDevice.h */,
-                               D046FB68218D18CD00CB8F62 /* GPUPipelineDescriptorBase.h */,
-                               D046FB67218D180300CB8F62 /* GPUPipelineStageDescriptor.h */,
-                               D0EACF812193921A000FA75C /* GPUQueue.h */,
-                               D0EACF7D219382B0000FA75C /* GPURenderPipeline.h */,
-                               D046FB65218D073C00CB8F62 /* GPURenderPipelineDescriptor.h */,
-                               D060D888218280C100339318 /* GPUShaderModule.h */,
-                               D09727C2218A472900942F3A /* GPUShaderModuleDescriptor.h */,
-                               D0EACF7C219382AF000FA75C /* GPUSwapChain.h */,
-                               D0EACF822193AB38000FA75C /* GPUTexture.h */,
-                               D0EACFB2219E4F14000FA75C /* GPUTextureFormatEnum.h */,
                                D00F5947216EFE54000D71DB /* WebGPU.cpp */,
                                D00F5946216EFE54000D71DB /* WebGPU.h */,
                                D00F5948216EFE54000D71DB /* WebGPU.idl */,
                        path = webgpu;
                        sourceTree = "<group>";
                };
-               D0615FD2217FFEE3008A48A8 /* cocoa */ = {
-                       isa = PBXGroup;
-                       children = (
-                               D0EACF7B21938253000FA75C /* GPUCommandBufferMetal.mm */,
-                               D0615FD1217FF1E1008A48A8 /* GPUDeviceMetal.mm */,
-                               D0EACF80219391EE000FA75C /* GPUQueueMetal.mm */,
-                               D0C419FB21840F6C009EC1DE /* GPURenderPipelineMetal.mm */,
-                               D060D889218280C100339318 /* GPUShaderModuleMetal.mm */,
-                               D09727B62187F44300942F3A /* GPUSwapChainMetal.mm */,
-                               D0EACF832193AB38000FA75C /* GPUTextureMetal.mm */,
-                       );
-                       path = cocoa;
-                       sourceTree = "<group>";
-               };
                DF9AFD6F13FC31B00015FEB7 /* objc */ = {
                        isa = PBXGroup;
                        children = (
                                C5D4AA7A116BAFB60069CA93 /* GlyphMetricsMap.h in Headers */,
                                0873B86B136064EA00A522C2 /* GlyphPage.h in Headers */,
                                311518FC1E78C15F00EC514A /* GPUBasedCanvasRenderingContext.h in Headers */,
-                               316BDBAA1E71FA9300DE0D5A /* GPULegacyBuffer.h in Headers */,
-                               316BDBCE1E75F18A00DE0D5A /* GPULegacyCommandBuffer.h in Headers */,
-                               316BDBBC1E73880600DE0D5A /* GPULegacyCommandQueue.h in Headers */,
-                               93A953B420EBD43200A619F6 /* GPULegacyComputeCommandEncoder.h in Headers */,
-                               93A953B020EBD3C900A619F6 /* GPULegacyComputePipelineState.h in Headers */,
-                               316BDBF71E762AD500DE0D5A /* GPULegacyDepthStencilDescriptor.h in Headers */,
-                               316BDBF01E76292000DE0D5A /* GPULegacyDepthStencilState.h in Headers */,
-                               316BDB861E6E0A2700DE0D5A /* GPULegacyDevice.h in Headers */,
-                               316BDBCD1E75F18400DE0D5A /* GPULegacyDrawable.h in Headers */,
-                               316BDBFB1E762D0400DE0D5A /* GPULegacyEnums.h in Headers */,
-                               316BDB951E70C89700DE0D5A /* GPULegacyFunction.h in Headers */,
-                               316BDB9B1E70CBBF00DE0D5A /* GPULegacyLibrary.h in Headers */,
-                               316BDBEB1E76244D00DE0D5A /* GPULegacyRenderCommandEncoder.h in Headers */,
-                               316BDBDF1E76137500DE0D5A /* GPULegacyRenderPassAttachmentDescriptor.h in Headers */,
-                               316BDBDB1E7612E200DE0D5A /* GPULegacyRenderPassColorAttachmentDescriptor.h in Headers */,
-                               316BDBE41E761F0500DE0D5A /* GPULegacyRenderPassDepthAttachmentDescriptor.h in Headers */,
-                               316BDBD31E75F7B600DE0D5A /* GPULegacyRenderPassDescriptor.h in Headers */,
-                               316BDC0D1E7634D200DE0D5A /* GPULegacyRenderPipelineColorAttachmentDescriptor.h in Headers */,
-                               316BDC021E762F6400DE0D5A /* GPULegacyRenderPipelineDescriptor.h in Headers */,
-                               316BDC031E762F6900DE0D5A /* GPULegacyRenderPipelineState.h in Headers */,
-                               93A953B520EC9C3F00A619F6 /* GPULegacySize.h in Headers */,
-                               316BDBB21E7354BB00DE0D5A /* GPULegacyTexture.h in Headers */,
-                               316BDBB81E7357CB00DE0D5A /* GPULegacyTextureDescriptor.h in Headers */,
+                               312FF91121A4C36500EB199D /* GPUCommandBuffer.h in Headers */,
+                               312FF91221A4C36500EB199D /* GPUDevice.h in Headers */,
+                               312FF91E21A4C37300EB199D /* GPULegacyBuffer.h in Headers */,
+                               312FF93221A4C55200EB199D /* GPULegacyCommandBuffer.h in Headers */,
+                               312FF92A21A4C38B00EB199D /* GPULegacyCommandQueue.h in Headers */,
+                               312FF92F21A4C38B00EB199D /* GPULegacyComputeCommandEncoder.h in Headers */,
+                               312FF92621A4C38B00EB199D /* GPULegacyDepthStencilDescriptor.h in Headers */,
+                               312FF93021A4C38B00EB199D /* GPULegacyDepthStencilState.h in Headers */,
+                               312FF92721A4C38B00EB199D /* GPULegacyDevice.h in Headers */,
+                               312FF92B21A4C38B00EB199D /* GPULegacyDrawable.h in Headers */,
+                               312FF92C21A4C38B00EB199D /* GPULegacyEnums.h in Headers */,
+                               312FF92421A4C37300EB199D /* GPULegacyFunction.h in Headers */,
+                               312FF92221A4C37300EB199D /* GPULegacyLibrary.h in Headers */,
+                               312FF92921A4C38B00EB199D /* GPULegacyRenderCommandEncoder.h in Headers */,
+                               312FF92021A4C37300EB199D /* GPULegacyRenderPassAttachmentDescriptor.h in Headers */,
+                               312FF92E21A4C38B00EB199D /* GPULegacyRenderPassColorAttachmentDescriptor.h in Headers */,
+                               312FF92521A4C38B00EB199D /* GPULegacyRenderPassDepthAttachmentDescriptor.h in Headers */,
+                               312FF91D21A4C37300EB199D /* GPULegacyRenderPassDescriptor.h in Headers */,
+                               312FF92121A4C37300EB199D /* GPULegacyRenderPipelineColorAttachmentDescriptor.h in Headers */,
+                               312FF93121A4C38B00EB199D /* GPULegacyRenderPipelineDescriptor.h in Headers */,
+                               312FF92321A4C37300EB199D /* GPULegacyRenderPipelineState.h in Headers */,
+                               312FF92D21A4C38B00EB199D /* GPULegacySize.h in Headers */,
+                               312FF92821A4C38B00EB199D /* GPULegacyTexture.h in Headers */,
+                               312FF91F21A4C37300EB199D /* GPULegacyTextureDescriptor.h in Headers */,
+                               312FF91321A4C36500EB199D /* GPUPipelineDescriptorBase.h in Headers */,
+                               312FF91421A4C36500EB199D /* GPUPipelineStageDescriptor.h in Headers */,
+                               312FF91521A4C36500EB199D /* GPUQueue.h in Headers */,
+                               312FF91621A4C36500EB199D /* GPURenderPipeline.h in Headers */,
+                               312FF91721A4C36500EB199D /* GPURenderPipelineDescriptor.h in Headers */,
+                               312FF91821A4C36500EB199D /* GPUShaderModule.h in Headers */,
+                               312FF91921A4C36500EB199D /* GPUShaderModuleDescriptor.h in Headers */,
+                               312FF91A21A4C36500EB199D /* GPUSwapChain.h in Headers */,
+                               312FF91B21A4C36500EB199D /* GPUTexture.h in Headers */,
+                               312FF91C21A4C36500EB199D /* GPUTextureFormatEnum.h in Headers */,
                                BC53C5F50DA56B920021EB5D /* Gradient.h in Headers */,
                                B22279640D00BF220071B782 /* GradientAttributes.h in Headers */,
                                2D481F04146B5C6B00AA7834 /* GradientImage.h in Headers */,
@@ -81,17 +81,17 @@ void GPUSwapChain::setDevice(const GPUDevice& device)
 static std::optional<PlatformTextureFormat> platformTextureFormatForGPUTextureFormat(GPUTextureFormatEnum format)
 {
     switch (format) {
-        case GPUTextureFormatEnum::R8G8B8A8Unorm:
-            return MTLPixelFormatRGBA8Unorm;
-        case GPUTextureFormatEnum::R8G8B8A8Uint:
-            return MTLPixelFormatRGBA8Uint;
-        case GPUTextureFormatEnum::B8G8R8A8Unorm:
-            return MTLPixelFormatBGRA8Unorm;
-        case GPUTextureFormatEnum::D32FloatS8Uint:
-            return MTLPixelFormatDepth32Float_Stencil8;
-        default:
-            LOG(WebGPU, "GPUSwapChain::setFormat(): Invalid texture format specified!");
-            return std::nullopt;
+    case GPUTextureFormatEnum::R8G8B8A8Unorm:
+        return MTLPixelFormatRGBA8Unorm;
+    case GPUTextureFormatEnum::R8G8B8A8Uint:
+        return MTLPixelFormatRGBA8Uint;
+    case GPUTextureFormatEnum::B8G8R8A8Unorm:
+        return MTLPixelFormatBGRA8Unorm;
+    case GPUTextureFormatEnum::D32FloatS8Uint:
+        return MTLPixelFormatDepth32Float_Stencil8;
+    default:
+        LOG(WebGPU, "GPUSwapChain::setFormat(): Invalid texture format specified!");
+        return std::nullopt;
     }
 }
 
@@ -39,11 +39,11 @@ namespace WebCore {
 
 GPULegacyBuffer::GPULegacyBuffer(const GPULegacyDevice& device, const JSC::ArrayBufferView& data)
 {
-    LOG(WebMetal, "GPUBuffer::GPUBuffer()");
+    LOG(WebMetal, "GPULegacyBuffer::GPULegacyBuffer()");
 
     if (!device.metal())
         return;
-    
+
     size_t pageSize = WTF::pageSize();
     size_t pageAlignedSize = roundUpToMultipleOf(pageSize, data.byteLength());
     void* pageAlignedCopy = Gigacage::tryAlignedMalloc(Gigacage::Primitive, pageSize, pageAlignedSize);
 namespace WebCore {
 
 GPULegacyCommandBuffer::GPULegacyCommandBuffer(const GPULegacyCommandQueue& queue, Function<void()>&& completedCallback)
-    : m_metal { [queue.metal() commandBuffer] }
 {
-    LOG(WebMetal, "GPUCommandBuffer::GPUCommandBuffer()");
+    LOG(WebMetal, "GPULegacyCommandBuffer::GPULegacyCommandBuffer()");
+
+    m_metal = [queue.metal() commandBuffer];
 
     [m_metal addCompletedHandler:BlockPtr<void (id<MTLCommandBuffer>)>::fromCallable([completedCallback = WTFMove(completedCallback)] (id<MTLCommandBuffer>) mutable {
         callOnMainThread(WTFMove(completedCallback));
@@ -39,10 +39,11 @@ static NSString * const commandQueueDefaultLabel = @"com.apple.WebKit";
 static NSString * const commandQueueLabelPrefix = @"com.apple.WebKit.";
 
 GPULegacyCommandQueue::GPULegacyCommandQueue(const GPULegacyDevice& device)
-    : m_metal { adoptNS([device.metal() newCommandQueue]) }
 {
     LOG(WebMetal, "GPULegacyCommandQueue::GPULegacyCommandQueue()");
 
+    m_metal = adoptNS([device.metal() newCommandQueue]);
+
     [m_metal setLabel:commandQueueDefaultLabel];
 }
 
@@ -43,9 +43,10 @@ static inline MTLSize MTLSizeMake(GPULegacySize size)
 }
 
 GPULegacyComputeCommandEncoder::GPULegacyComputeCommandEncoder(const GPULegacyCommandBuffer& buffer)
-    : m_metal { [buffer.metal() computeCommandEncoder] }
 {
     LOG(WebMetal, "GPULegacyComputeCommandEncoder::GPULegacyComputeCommandEncoder()");
+
+    m_metal = [buffer.metal() computeCommandEncoder];
 }
 
 void GPULegacyComputeCommandEncoder::setComputePipelineState(const GPULegacyComputePipelineState& computePipelineState) const
@@ -55,7 +56,7 @@ void GPULegacyComputeCommandEncoder::setComputePipelineState(const GPULegacyComp
 
     [m_metal setComputePipelineState:computePipelineState.metal()];
 }
-    
+
 void GPULegacyComputeCommandEncoder::setBuffer(const GPULegacyBuffer& buffer, unsigned offset, unsigned index) const
 {
     if (!buffer.metal())
@@ -63,7 +64,7 @@ void GPULegacyComputeCommandEncoder::setBuffer(const GPULegacyBuffer& buffer, un
 
     [m_metal setBuffer:buffer.metal() offset:offset atIndex:index];
 }
-    
+
 void GPULegacyComputeCommandEncoder::dispatch(GPULegacySize threadgroupsPerGrid, GPULegacySize threadsPerThreadgroup) const
 {
     [m_metal dispatchThreadgroups:MTLSizeMake(threadgroupsPerGrid) threadsPerThreadgroup:MTLSizeMake(threadsPerThreadgroup)];
@@ -37,7 +37,7 @@ namespace WebCore {
 GPULegacyDepthStencilDescriptor::GPULegacyDepthStencilDescriptor()
     : m_metal { adoptNS([MTLDepthStencilDescriptor new]) }
 {
-    LOG(WebMetal, "GPUDepthStencilDescriptor::GPUDepthStencilDescriptor()");
+    LOG(WebMetal, "GPULegacyDepthStencilDescriptor::GPULegacyDepthStencilDescriptor()");
 }
 
 bool GPULegacyDepthStencilDescriptor::depthWriteEnabled() const
 namespace WebCore {
 
 GPULegacyDepthStencilState::GPULegacyDepthStencilState(const GPULegacyDevice& device, const GPULegacyDepthStencilDescriptor& descriptor)
-    : m_metal { adoptNS([device.metal() newDepthStencilStateWithDescriptor:descriptor.metal()]) }
 {
     LOG(WebMetal, "GPULegacyDepthStencilState::GPULegacyDepthStencilState()");
+
+    m_metal = adoptNS([device.metal() newDepthStencilStateWithDescriptor:descriptor.metal()]);
 }
 
 String GPULegacyDepthStencilState::label() const
 namespace WebCore {
 
 GPULegacyDrawable::GPULegacyDrawable(const GPULegacyDevice& device)
-    : m_metal { [device.layer() nextDrawable] }
 {
     LOG(WebMetal, "GPULegacyDrawable::GPULegacyDrawable()");
+
+    m_metal = [device.layer() nextDrawable];
 }
 
 void GPULegacyDrawable::release()
@@ -45,7 +46,7 @@ void GPULegacyDrawable::release()
     LOG(WebMetal, "GPULegacyDrawable::release()");
     m_metal = nil;
 }
-    
+
 MTLDrawable *GPULegacyDrawable::metal() const
 {
     return m_metal.get();
 namespace WebCore {
 
 GPULegacyFunction::GPULegacyFunction(const GPULegacyLibrary& library, const String& name)
-    : m_metal { adoptNS([library.metal() newFunctionWithName:name]) }
 {
     LOG(WebMetal, "GPULegacyFunction::GPULegacyFunction()");
+
+    m_metal = adoptNS([library.metal() newFunctionWithName:name]);
 }
 
 String GPULegacyFunction::name() const
@@ -37,7 +37,7 @@ namespace WebCore {
 GPULegacyRenderPassDepthAttachmentDescriptor::GPULegacyRenderPassDepthAttachmentDescriptor(MTLRenderPassDepthAttachmentDescriptor *metal)
     : GPULegacyRenderPassAttachmentDescriptor { metal }
 {
-    LOG(WebMetal, "GPURenderPassDepthAttachmentDescriptor::GPURenderPassDepthAttachmentDescriptor()");
+    LOG(WebMetal, "GPULegacyRenderPassDepthAttachmentDescriptor::GPULegacyRenderPassDepthAttachmentDescriptor()");
 }
 
 double GPULegacyRenderPassDepthAttachmentDescriptor::clearDepth() const
@@ -39,7 +39,7 @@ namespace WebCore {
 GPULegacyRenderPassDescriptor::GPULegacyRenderPassDescriptor()
     : m_metal { adoptNS([MTLRenderPassDescriptor new]) }
 {
-    LOG(WebMetal, "GPURenderPassDescriptor::GPURenderPassDescriptor()");
+    LOG(WebMetal, "GPULegacyRenderPassDescriptor::GPULegacyRenderPassDescriptor()");
 }
 
 Vector<GPULegacyRenderPassColorAttachmentDescriptor> GPULegacyRenderPassDescriptor::colorAttachments() const
@@ -39,7 +39,7 @@ namespace WebCore {
 GPULegacyRenderPipelineDescriptor::GPULegacyRenderPipelineDescriptor()
     : m_metal { adoptNS([MTLRenderPipelineDescriptor new]) }
 {
-    LOG(WebMetal, "GPURenderPipelineDescriptor::GPURenderPipelineDescriptor()");
+    LOG(WebMetal, "GPULegacyRenderPipelineDescriptor::GPULegacyRenderPipelineDescriptor()");
 }
 
 unsigned GPULegacyRenderPipelineDescriptor::depthAttachmentPixelFormat() const
 namespace WebCore {
 
 GPULegacyRenderPipelineState::GPULegacyRenderPipelineState(const GPULegacyDevice& device, const GPULegacyRenderPipelineDescriptor& descriptor)
-    : m_metal { adoptNS([device.metal() newRenderPipelineStateWithDescriptor:descriptor.metal() error:nil]) }
 {
     LOG(WebMetal, "GPULegacyRenderPipelineState::GPULegacyRenderPipelineState()");
+
+    m_metal = adoptNS([device.metal() newRenderPipelineStateWithDescriptor:descriptor.metal() error:nil]);
 }
 
 String GPULegacyRenderPipelineState::label() const
@@ -55,7 +56,7 @@ void GPULegacyRenderPipelineState::setLabel(const String&) const
     // The label has to be set on the descriptor when creating the state object.
     // We should consider changing the WebMetal interface to not require this!
 }
-    
+
 MTLRenderPipelineState *GPULegacyRenderPipelineState::metal() const
 {
     return m_metal.get();
 namespace WebCore {
 
 GPULegacyTextureDescriptor::GPULegacyTextureDescriptor(unsigned pixelFormat, unsigned width, unsigned height, bool mipmapped)
-    : m_metal { [MTLTextureDescriptor texture2DDescriptorWithPixelFormat:static_cast<MTLPixelFormat>(pixelFormat) width:width height:height mipmapped:mipmapped] }
 {
-    LOG(WebMetal, "GPUTextureDescriptor::GPUTextureDescriptor()");
+    LOG(WebMetal, "GPULegacyTextureDescriptor::GPULegacyTextureDescriptor()");
+
+    m_metal = [MTLTextureDescriptor texture2DDescriptorWithPixelFormat:static_cast<MTLPixelFormat>(pixelFormat) width:width height:height mipmapped:mipmapped];
 }
 
 unsigned GPULegacyTextureDescriptor::width() const
@@ -38,7 +38,7 @@ namespace WebCore {
 
 GPULegacyTexture::GPULegacyTexture(const GPULegacyDevice& device, const GPULegacyTextureDescriptor& descriptor)
 {
-    LOG(WebMetal, "GPUTexture::GPUTexture()");
+    LOG(WebMetal, "GPULegacyTexture::GPULegacyTexture()");
 
     if (!descriptor.metal())
         return;
@@ -49,7 +49,7 @@ GPULegacyTexture::GPULegacyTexture(const GPULegacyDevice& device, const GPULegac
 GPULegacyTexture::GPULegacyTexture(const GPULegacyDrawable& other)
     : m_metal { other.texture() }
 {
-    LOG(WebMetal, "GPUTexture::GPUTexture()");
+    LOG(WebMetal, "GPULegacyTexture::GPULegacyTexture()");
 }
 
 unsigned GPULegacyTexture::width() const