WebGPU: Rename old WebGPU prototype to WebMetal
authorjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2018 01:37:30 +0000 (01:37 +0000)
committerjustin_fan@apple.com <justin_fan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Oct 2018 01:37:30 +0000 (01:37 +0000)
commit9d215ab82d14a98d9d68e91b6629b4bcd3af8275
tree4d471862a57f3a2eae045636c6cc6c02956ea360
parente64ad93eb217e8d80bdde28eff79455804e17784
WebGPU: Rename old WebGPU prototype to WebMetal
https://bugs.webkit.org/show_bug.cgi?id=190325
.:

Reviewed by Dean Jackson.

* Source/cmake/WebKitFeatures.cmake:

Source/JavaScriptCore:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* Configurations/FeatureDefines.xcconfig:
* inspector/protocol/Canvas.json:
* inspector/scripts/codegen/generator.py:

Source/WebCore:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Existing WebGPU tests also renamed to reflect WebGPU -> WebMetal change.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* DerivedSources.make:
* Sources.txt:
* SourcesCocoa.txt:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSWebMetalRenderPassAttachmentDescriptorCustom.cpp: Renamed from Source/WebCore/bindings/js/JSWebGPURenderPassAttachmentDescriptorCustom.cpp.
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
* bindings/js/JSWebMetalRenderingContextCustom.cpp: Renamed from Source/WebCore/bindings/js/JSWebGPURenderingContextCustom.cpp.
(WebCore::JSWebMetalRenderingContext::visitAdditionalChildren):
* bindings/js/WebCoreBuiltinNames.h:
* dom/Document.cpp:
(WebCore::Document::getCSSCanvasContext):
* dom/Document.h:
* dom/Document.idl:
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::getContext):
(WebCore::HTMLCanvasElement::isWebMetalType):
(WebCore::HTMLCanvasElement::createContextWebMetal):
(WebCore::HTMLCanvasElement::getContextWebMetal):
(WebCore::HTMLCanvasElement::isWebGPUType): Deleted.
(WebCore::HTMLCanvasElement::createContextWebGPU): Deleted.
(WebCore::HTMLCanvasElement::getContextWebGPU): Deleted.
* html/HTMLCanvasElement.h:
* html/HTMLCanvasElement.idl:
* html/canvas/CanvasRenderingContext.h:
(WebCore::CanvasRenderingContext::isWebMetal const):
(WebCore::CanvasRenderingContext::isWebGPU const): Deleted.
* html/canvas/WebGPURenderingContext.cpp: Removed.
* html/canvas/WebMetalBuffer.cpp: Renamed from Source/WebCore/html/canvas/WebGPUBuffer.cpp.
(WebCore::WebMetalBuffer::create):
(WebCore::WebMetalBuffer::WebMetalBuffer):
* html/canvas/WebMetalBuffer.h: Renamed from Source/WebCore/html/canvas/WebGPUBuffer.h.
* html/canvas/WebMetalBuffer.idl: Renamed from Source/WebCore/html/canvas/WebGPUBuffer.idl.
* html/canvas/WebMetalCommandBuffer.cpp: Renamed from Source/WebCore/html/canvas/WebGPUCommandBuffer.cpp.
(WebCore::WebMetalCommandBuffer::create):
(WebCore::WebMetalCommandBuffer::WebMetalCommandBuffer):
(WebCore::WebMetalCommandBuffer::~WebMetalCommandBuffer):
(WebCore::WebMetalCommandBuffer::commit):
(WebCore::WebMetalCommandBuffer::presentDrawable):
(WebCore::WebMetalCommandBuffer::createRenderCommandEncoderWithDescriptor):
(WebCore::WebMetalCommandBuffer::createComputeCommandEncoder):
(WebCore::WebMetalCommandBuffer::completed):
* html/canvas/WebMetalCommandBuffer.h: Renamed from Source/WebCore/html/canvas/WebGPUCommandBuffer.h.
* html/canvas/WebMetalCommandBuffer.idl: Renamed from Source/WebCore/html/canvas/WebGPUCommandBuffer.idl.
* html/canvas/WebMetalCommandQueue.cpp: Renamed from Source/WebCore/html/canvas/WebGPUCommandQueue.cpp.
(WebCore::WebMetalCommandQueue::create):
(WebCore::WebMetalCommandQueue::WebMetalCommandQueue):
(WebCore::WebMetalCommandQueue::createCommandBuffer):
* html/canvas/WebMetalCommandQueue.h: Renamed from Source/WebCore/html/canvas/WebGPUCommandQueue.h.
* html/canvas/WebMetalCommandQueue.idl: Renamed from Source/WebCore/html/canvas/WebGPUCommandQueue.idl.
* html/canvas/WebMetalComputeCommandEncoder.cpp: Renamed from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.cpp.
(WebCore::GPUSizeMake):
(WebCore::WebMetalComputeCommandEncoder::create):
(WebCore::WebMetalComputeCommandEncoder::WebMetalComputeCommandEncoder):
(WebCore::WebMetalComputeCommandEncoder::setComputePipelineState):
(WebCore::WebMetalComputeCommandEncoder::setBuffer):
(WebCore::WebMetalComputeCommandEncoder::dispatch):
(WebCore::WebMetalComputeCommandEncoder::endEncoding):
* html/canvas/WebMetalComputeCommandEncoder.h: Renamed from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.h.
* html/canvas/WebMetalComputeCommandEncoder.idl: Renamed from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.idl.
* html/canvas/WebMetalComputePipelineState.cpp: Renamed from Source/WebCore/html/canvas/WebGPUComputePipelineState.cpp.
(WebCore::WebMetalComputePipelineState::create):
(WebCore::WebMetalComputePipelineState::WebMetalComputePipelineState):
* html/canvas/WebMetalComputePipelineState.h: Renamed from Source/WebCore/html/canvas/WebGPUComputePipelineState.h.
* html/canvas/WebMetalComputePipelineState.idl: Renamed from Source/WebCore/html/canvas/WebGPUComputePipelineState.idl.
* html/canvas/WebMetalDepthStencilDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.cpp.
(WebCore::WebMetalDepthStencilDescriptor::create):
(WebCore::WebMetalDepthStencilDescriptor::depthWriteEnabled const):
(WebCore::WebMetalDepthStencilDescriptor::setDepthWriteEnabled):
(WebCore::WebMetalDepthStencilDescriptor::depthCompareFunction const):
(WebCore::WebMetalDepthStencilDescriptor::setDepthCompareFunction):
* html/canvas/WebMetalDepthStencilDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.h.
* html/canvas/WebMetalDepthStencilDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.idl.
* html/canvas/WebMetalDepthStencilState.cpp: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilState.cpp.
(WebCore::WebMetalDepthStencilState::create):
(WebCore::WebMetalDepthStencilState::WebMetalDepthStencilState):
(WebCore::WebMetalDepthStencilState::label const):
(WebCore::WebMetalDepthStencilState::setLabel):
* html/canvas/WebMetalDepthStencilState.h: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilState.h.
* html/canvas/WebMetalDepthStencilState.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineState.idl.
* html/canvas/WebMetalDrawable.cpp: Renamed from Source/WebCore/html/canvas/WebGPUDrawable.cpp.
(WebCore::WebMetalDrawable::create):
(WebCore::WebMetalDrawable::WebMetalDrawable):
* html/canvas/WebMetalDrawable.h: Renamed from Source/WebCore/html/canvas/WebGPUDrawable.h.
(WebCore::WebMetalDrawable::texture):
* html/canvas/WebMetalDrawable.idl: Renamed from Source/WebCore/html/canvas/WebGPUDrawable.idl.
* html/canvas/WebMetalEnums.cpp: Renamed from Source/WebCore/html/canvas/WebGPUEnums.cpp.
(WebCore::toWebMetalCompareFunction):
(WebCore::web3DCompareFunctionName):
(WebCore::toGPUCompareFunction):
* html/canvas/WebMetalEnums.h: Renamed from Source/WebCore/html/canvas/WebGPUEnums.h.
* html/canvas/WebMetalEnums.idl: Renamed from Source/WebCore/html/canvas/WebGPUEnums.idl.
* html/canvas/WebMetalFunction.cpp: Renamed from Source/WebCore/html/canvas/WebGPUFunction.cpp.
(WebCore::WebMetalFunction::create):
(WebCore::WebMetalFunction::WebMetalFunction):
* html/canvas/WebMetalFunction.h: Renamed from Source/WebCore/html/canvas/WebGPUFunction.h.
* html/canvas/WebMetalFunction.idl: Renamed from Source/WebCore/html/canvas/WebGPUFunction.idl.
* html/canvas/WebMetalLibrary.cpp: Renamed from Source/WebCore/html/canvas/WebGPULibrary.cpp.
(WebCore::WebMetalLibrary::create):
(WebCore::WebMetalLibrary::WebMetalLibrary):
(WebCore::WebMetalLibrary::functionNames const):
(WebCore::WebMetalLibrary::functionWithName const):
* html/canvas/WebMetalLibrary.h: Renamed from Source/WebCore/html/canvas/WebGPULibrary.h.
* html/canvas/WebMetalLibrary.idl: Renamed from Source/WebCore/html/canvas/WebGPULibrary.idl.
* html/canvas/WebMetalRenderCommandEncoder.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.cpp.
(WebCore::WebMetalRenderCommandEncoder::create):
(WebCore::WebMetalRenderCommandEncoder::WebMetalRenderCommandEncoder):
(WebCore::WebMetalRenderCommandEncoder::setRenderPipelineState):
(WebCore::WebMetalRenderCommandEncoder::setDepthStencilState):
(WebCore::WebMetalRenderCommandEncoder::setVertexBuffer):
(WebCore::WebMetalRenderCommandEncoder::setFragmentBuffer):
(WebCore::WebMetalRenderCommandEncoder::drawPrimitives):
(WebCore::WebMetalRenderCommandEncoder::endEncoding):
* html/canvas/WebMetalRenderCommandEncoder.h: Renamed from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.h.
* html/canvas/WebMetalRenderCommandEncoder.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.idl.
* html/canvas/WebMetalRenderPassAttachmentDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.cpp.
(WebCore::WebMetalRenderPassAttachmentDescriptor::WebMetalRenderPassAttachmentDescriptor):
(WebCore::WebMetalRenderPassAttachmentDescriptor::loadAction const):
(WebCore::WebMetalRenderPassAttachmentDescriptor::setLoadAction):
(WebCore::WebMetalRenderPassAttachmentDescriptor::storeAction const):
(WebCore::WebMetalRenderPassAttachmentDescriptor::setStoreAction):
(WebCore::WebMetalRenderPassAttachmentDescriptor::texture const):
(WebCore::WebMetalRenderPassAttachmentDescriptor::setTexture):
* html/canvas/WebMetalRenderPassAttachmentDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.h.
* html/canvas/WebMetalRenderPassAttachmentDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.idl.
* html/canvas/WebMetalRenderPassColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.cpp.
(WebCore::WebMetalRenderPassColorAttachmentDescriptor::create):
(WebCore::WebMetalRenderPassColorAttachmentDescriptor::WebMetalRenderPassColorAttachmentDescriptor):
(WebCore::WebMetalRenderPassColorAttachmentDescriptor::descriptor const):
(WebCore::WebMetalRenderPassColorAttachmentDescriptor::clearColor const):
(WebCore::WebMetalRenderPassColorAttachmentDescriptor::setClearColor):
* html/canvas/WebMetalRenderPassColorAttachmentDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.h.
* html/canvas/WebMetalRenderPassColorAttachmentDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.idl.
* html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.cpp.
(WebCore::WebMetalRenderPassDepthAttachmentDescriptor::create):
(WebCore::WebMetalRenderPassDepthAttachmentDescriptor::WebMetalRenderPassDepthAttachmentDescriptor):
(WebCore::WebMetalRenderPassDepthAttachmentDescriptor::clearDepth const):
(WebCore::WebMetalRenderPassDepthAttachmentDescriptor::setClearDepth):
(WebCore::WebMetalRenderPassDepthAttachmentDescriptor::descriptor const):
* html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.h.
* html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.idl.
* html/canvas/WebMetalRenderPassDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.cpp.
(WebCore::WebMetalRenderPassDescriptor::create):
(WebCore::WebMetalRenderPassDescriptor::depthAttachment):
(WebCore::WebMetalRenderPassDescriptor::colorAttachments):
* html/canvas/WebMetalRenderPassDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.h.
* html/canvas/WebMetalRenderPassDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.idl.
* html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.cpp.
(WebCore::WebMetalRenderPipelineColorAttachmentDescriptor::create):
(WebCore::WebMetalRenderPipelineColorAttachmentDescriptor::WebMetalRenderPipelineColorAttachmentDescriptor):
(WebCore::WebMetalRenderPipelineColorAttachmentDescriptor::pixelFormat const):
(WebCore::WebMetalRenderPipelineColorAttachmentDescriptor::setPixelFormat):
* html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.h.
* html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.idl.
* html/canvas/WebMetalRenderPipelineDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.cpp.
(WebCore::WebMetalRenderPipelineDescriptor::create):
(WebCore::WebMetalRenderPipelineDescriptor::vertexFunction const):
(WebCore::WebMetalRenderPipelineDescriptor::setVertexFunction):
(WebCore::WebMetalRenderPipelineDescriptor::fragmentFunction const):
(WebCore::WebMetalRenderPipelineDescriptor::setFragmentFunction):
(WebCore::WebMetalRenderPipelineDescriptor::colorAttachments):
(WebCore::WebMetalRenderPipelineDescriptor::depthAttachmentPixelFormat const):
(WebCore::WebMetalRenderPipelineDescriptor::setDepthAttachmentPixelFormat):
(WebCore::WebMetalRenderPipelineDescriptor::reset):
* html/canvas/WebMetalRenderPipelineDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.h.
* html/canvas/WebMetalRenderPipelineDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.idl.
* html/canvas/WebMetalRenderPipelineState.cpp: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineState.cpp.
(WebCore::WebMetalRenderPipelineState::create):
(WebCore::WebMetalRenderPipelineState::WebMetalRenderPipelineState):
(WebCore::WebMetalRenderPipelineState::label const):
(WebCore::WebMetalRenderPipelineState::setLabel):
* html/canvas/WebMetalRenderPipelineState.h: Renamed from Source/WebCore/html/canvas/WebGPURenderPipelineState.h.
* html/canvas/WebMetalRenderPipelineState.idl: Renamed from Source/WebCore/html/canvas/WebGPUDepthStencilState.idl.
* html/canvas/WebMetalRenderingContext.cpp: Added.
(WebCore::WebMetalRenderingContext::create):
(WebCore::WebMetalRenderingContext::WebMetalRenderingContext):
(WebCore::WebMetalRenderingContext::canvas const):
(WebCore::WebMetalRenderingContext::initializeNewContext):
(WebCore::WebMetalRenderingContext::clampedCanvasSize const):
(WebCore::WebMetalRenderingContext::hasPendingActivity const):
(WebCore::WebMetalRenderingContext::stop):
(WebCore::WebMetalRenderingContext::activeDOMObjectName const):
(WebCore::WebMetalRenderingContext::canSuspendForDocumentSuspension const):
(WebCore::WebMetalRenderingContext::platformLayer const):
(WebCore::WebMetalRenderingContext::markLayerComposited):
(WebCore::WebMetalRenderingContext::reshape):
(WebCore::WebMetalRenderingContext::createLibrary):
(WebCore::WebMetalRenderingContext::createRenderPipelineState):
(WebCore::WebMetalRenderingContext::createDepthStencilState):
(WebCore::WebMetalRenderingContext::createComputePipelineState):
(WebCore::WebMetalRenderingContext::createCommandQueue):
(WebCore::WebMetalRenderingContext::nextDrawable):
(WebCore::WebMetalRenderingContext::createBuffer):
(WebCore::WebMetalRenderingContext::createTexture):
* html/canvas/WebMetalRenderingContext.h: Renamed from Source/WebCore/html/canvas/WebGPURenderingContext.h.
* html/canvas/WebMetalRenderingContext.idl: Renamed from Source/WebCore/html/canvas/WebGPURenderingContext.idl.
* html/canvas/WebMetalSize.h: Renamed from Source/WebCore/html/canvas/WebGPUSize.h.
* html/canvas/WebMetalSize.idl: Renamed from Source/WebCore/html/canvas/WebGPUSize.idl.
* html/canvas/WebMetalTexture.cpp: Renamed from Source/WebCore/html/canvas/WebGPUTexture.cpp.
(WebCore::WebMetalTexture::create):
(WebCore::WebMetalTexture::WebMetalTexture):
* html/canvas/WebMetalTexture.h: Renamed from Source/WebCore/html/canvas/WebGPUTexture.h.
* html/canvas/WebMetalTexture.idl: Renamed from Source/WebCore/html/canvas/WebGPUTexture.idl.
* html/canvas/WebMetalTextureDescriptor.cpp: Renamed from Source/WebCore/html/canvas/WebGPUTextureDescriptor.cpp.
(WebCore::WebMetalTextureDescriptor::create):
(WebCore::WebMetalTextureDescriptor::WebMetalTextureDescriptor):
(WebCore::WebMetalTextureDescriptor::width const):
(WebCore::WebMetalTextureDescriptor::setWidth):
(WebCore::WebMetalTextureDescriptor::height const):
(WebCore::WebMetalTextureDescriptor::setHeight):
(WebCore::WebMetalTextureDescriptor::sampleCount const):
(WebCore::WebMetalTextureDescriptor::setSampleCount):
(WebCore::WebMetalTextureDescriptor::textureType const):
(WebCore::WebMetalTextureDescriptor::setTextureType):
(WebCore::WebMetalTextureDescriptor::storageMode const):
(WebCore::WebMetalTextureDescriptor::setStorageMode):
(WebCore::WebMetalTextureDescriptor::usage const):
(WebCore::WebMetalTextureDescriptor::setUsage):
* html/canvas/WebMetalTextureDescriptor.h: Renamed from Source/WebCore/html/canvas/WebGPUTextureDescriptor.h.
* html/canvas/WebMetalTextureDescriptor.idl: Renamed from Source/WebCore/html/canvas/WebGPUTextureDescriptor.idl.
* inspector/InspectorCanvas.cpp:
(WebCore::InspectorCanvas::buildObjectForCanvas):
* inspector/agents/InspectorCanvasAgent.cpp:
(WebCore::InspectorCanvasAgent::requestContent):
(WebCore::contextAsScriptValue):
* page/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::setWebMetalEnabled):
(WebCore::RuntimeEnabledFeatures::webMetalEnabled const):
(WebCore::RuntimeEnabledFeatures::setWebGPUEnabled): Deleted.
(WebCore::RuntimeEnabledFeatures::webGPUEnabled const): Deleted.
* platform/Logging.h:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(WebCore::PlatformCALayerCocoa::layerTypeForPlatformLayer):
(WebCore::PlatformCALayerCocoa::PlatformCALayerCocoa):
* platform/graphics/cocoa/WebMetalLayer.h: Renamed from Source/WebCore/platform/graphics/cocoa/WebGPULayer.h.
* platform/graphics/cocoa/WebMetalLayer.mm: Renamed from Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm.
(-[WebMetalLayer initWithGPUDevice:]):
* platform/graphics/gpu/GPUBuffer.cpp:
(WebCore::GPUBuffer::~GPUBuffer):
* platform/graphics/gpu/GPUBuffer.h:
* platform/graphics/gpu/GPUCommandBuffer.cpp:
(WebCore::GPUCommandBuffer::~GPUCommandBuffer):
* platform/graphics/gpu/GPUCommandBuffer.h:
* platform/graphics/gpu/GPUCommandQueue.cpp:
(WebCore::GPUCommandQueue::~GPUCommandQueue):
* platform/graphics/gpu/GPUCommandQueue.h:
* platform/graphics/gpu/GPUComputeCommandEncoder.cpp:
(WebCore::GPUComputeCommandEncoder::~GPUComputeCommandEncoder):
* platform/graphics/gpu/GPUComputeCommandEncoder.h:
* platform/graphics/gpu/GPUComputePipelineState.cpp:
(WebCore::GPUComputePipelineState::~GPUComputePipelineState):
* platform/graphics/gpu/GPUComputePipelineState.h:
* platform/graphics/gpu/GPUDepthStencilDescriptor.cpp:
(WebCore::GPUDepthStencilDescriptor::~GPUDepthStencilDescriptor):
* platform/graphics/gpu/GPUDepthStencilDescriptor.h:
* platform/graphics/gpu/GPUDepthStencilState.cpp:
(WebCore::GPUDepthStencilState::~GPUDepthStencilState):
* platform/graphics/gpu/GPUDepthStencilState.h:
* platform/graphics/gpu/GPUDevice.cpp:
(WebCore::GPUDevice::~GPUDevice):
* platform/graphics/gpu/GPUDevice.h:
(WebCore::GPUDevice::layer const):
* platform/graphics/gpu/GPUDrawable.cpp:
(WebCore::GPUDrawable::~GPUDrawable):
* platform/graphics/gpu/GPUDrawable.h:
* platform/graphics/gpu/GPUEnums.h:
* platform/graphics/gpu/GPUFunction.cpp:
(WebCore::GPUFunction::~GPUFunction):
* platform/graphics/gpu/GPUFunction.h:
* platform/graphics/gpu/GPULibrary.cpp:
(WebCore::GPULibrary::~GPULibrary):
* platform/graphics/gpu/GPULibrary.h:
* platform/graphics/gpu/GPURenderCommandEncoder.cpp:
(WebCore::GPURenderCommandEncoder::~GPURenderCommandEncoder):
* platform/graphics/gpu/GPURenderCommandEncoder.h:
* platform/graphics/gpu/GPURenderPassAttachmentDescriptor.cpp:
(WebCore::GPURenderPassAttachmentDescriptor::~GPURenderPassAttachmentDescriptor):
* platform/graphics/gpu/GPURenderPassAttachmentDescriptor.h:
* platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.cpp:
(WebCore::GPURenderPassColorAttachmentDescriptor::~GPURenderPassColorAttachmentDescriptor):
* platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.h:
* platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.cpp:
(WebCore::GPURenderPassDepthAttachmentDescriptor::~GPURenderPassDepthAttachmentDescriptor):
* platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.h:
* platform/graphics/gpu/GPURenderPassDescriptor.cpp:
(WebCore::GPURenderPassDescriptor::~GPURenderPassDescriptor):
* platform/graphics/gpu/GPURenderPassDescriptor.h:
* platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.cpp:
(WebCore::GPURenderPipelineColorAttachmentDescriptor::~GPURenderPipelineColorAttachmentDescriptor):
* platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.h:
* platform/graphics/gpu/GPURenderPipelineDescriptor.cpp:
(WebCore::GPURenderPipelineDescriptor::~GPURenderPipelineDescriptor):
* platform/graphics/gpu/GPURenderPipelineDescriptor.h:
* platform/graphics/gpu/GPURenderPipelineState.cpp:
(WebCore::GPURenderPipelineState::~GPURenderPipelineState):
* platform/graphics/gpu/GPURenderPipelineState.h:
* platform/graphics/gpu/GPUSize.h:
* platform/graphics/gpu/GPUTexture.cpp:
(WebCore::GPUTexture::~GPUTexture):
* platform/graphics/gpu/GPUTexture.h:
* platform/graphics/gpu/GPUTextureDescriptor.cpp:
(WebCore::GPUTextureDescriptor::~GPUTextureDescriptor):
* platform/graphics/gpu/GPUTextureDescriptor.h:
* platform/graphics/metal/GPUBufferMetal.mm:
(WebCore::GPUBuffer::GPUBuffer):
* platform/graphics/metal/GPUCommandBufferMetal.mm:
* platform/graphics/metal/GPUCommandQueueMetal.mm:
* platform/graphics/metal/GPUComputeCommandEncoderMetal.mm:
* platform/graphics/metal/GPUComputePipelineStateMetal.mm:
(WebCore::GPUComputePipelineState::GPUComputePipelineState):
* platform/graphics/metal/GPUDepthStencilDescriptorMetal.mm:
* platform/graphics/metal/GPUDepthStencilStateMetal.mm:
(WebCore::GPUDepthStencilState::setLabel const):
* platform/graphics/metal/GPUDeviceMetal.mm:
(WebCore::GPUDevice::reshape const):
* platform/graphics/metal/GPUDrawableMetal.mm:
(WebCore::GPUDrawable::release):
* platform/graphics/metal/GPUFunctionMetal.mm:
* platform/graphics/metal/GPULibraryMetal.mm:
(WebCore::GPULibrary::GPULibrary):
* platform/graphics/metal/GPURenderCommandEncoderMetal.mm:
(WebCore::GPURenderCommandEncoder::GPURenderCommandEncoder):
* platform/graphics/metal/GPURenderPassAttachmentDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPassColorAttachmentDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPassDepthAttachmentDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPassDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPipelineColorAttachmentDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPipelineDescriptorMetal.mm:
* platform/graphics/metal/GPURenderPipelineStateMetal.mm:
(WebCore::GPURenderPipelineState::setLabel const):
* platform/graphics/metal/GPUTextureDescriptorMetal.mm:
* platform/graphics/metal/GPUTextureMetal.mm:
(WebCore::GPUTexture::GPUTexture):
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
(WebCore::InternalSettings::setWebMetalEnabled):
(WebCore::InternalSettings::setWebGPUEnabled): Deleted.
* testing/InternalSettings.h:
* testing/InternalSettings.idl:

Source/WebCore/PAL:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* Configurations/FeatureDefines.xcconfig:

Source/WebInspectorUI:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.
For WebInspector, add WebMetal to valid enums for canvas types.

* UserInterface/Models/Canvas.js:
(WI.Canvas.fromPayload):
(WI.Canvas.displayNameForContextType):

Source/WebKit:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* Configurations/FeatureDefines.xcconfig:
* Shared/WebPreferences.yaml:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):

Source/WebKitLegacy/mac:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* Configurations/FeatureDefines.xcconfig:
* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences webMetalEnabled]):
(-[WebPreferences setWebMetalEnabled:]):
(-[WebPreferences webGPUEnabled]): Deleted.
(-[WebPreferences setWebGPUEnabled:]): Deleted.
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Tools:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* DumpRenderTree/mac/DumpRenderTree.mm:
(enableExperimentalFeatures):
(resetWebPreferencesToConsistentValues):
* TestWebKitAPI/Configurations/FeatureDefines.xcconfig:
* TestWebKitAPI/Tests/WebCore/mac/GPUBuffer.mm:
* TestWebKitAPI/Tests/WebCore/mac/GPUCommandQueue.mm:
* TestWebKitAPI/Tests/WebCore/mac/GPUDevice.mm:
* TestWebKitAPI/Tests/WebCore/mac/GPUFunction.mm:
* TestWebKitAPI/Tests/WebCore/mac/GPULibrary.mm:
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::setWebMetalEnabled):
(WTR::TestRunner::setWebGPUEnabled): Deleted.
* WebKitTestRunner/InjectedBundle/TestRunner.h:

Websites/webkit.org:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* demos/webgpu/shared.js: Removed.
* demos/webmetal/2d.html: Renamed from Websites/webkit.org/demos/webgpu/2d.html.
* demos/webmetal/2d.jpg: Renamed from Websites/webkit.org/demos/webgpu/2d.jpg.
* demos/webmetal/2d.js: Renamed from Websites/webkit.org/demos/webgpu/2d.js.
(init):
* demos/webmetal/circle.svg: Renamed from Websites/webkit.org/demos/webgpu/circle.svg.
* demos/webmetal/cubes.html: Renamed from Websites/webkit.org/demos/webgpu/cubes.html.
* demos/webmetal/cubes.jpg: Renamed from Websites/webkit.org/demos/webgpu/cubes.jpg.
* demos/webmetal/cubes.js: Renamed from Websites/webkit.org/demos/webgpu/cubes.js.
(init):
* demos/webmetal/gl-matrix-min.js: Renamed from Websites/webkit.org/demos/webgpu/gl-matrix-min.js.
* demos/webmetal/hello.html: Renamed from Websites/webkit.org/demos/webgpu/hello.html.
* demos/webmetal/hello.jpg: Renamed from Websites/webkit.org/demos/webgpu/hello.jpg.
* demos/webmetal/hello.js: Renamed from Websites/webkit.org/demos/webgpu/hello.js.
(init):
* demos/webmetal/index.html: Renamed from Websites/webkit.org/demos/webgpu/index.html.
* demos/webmetal/shared.css: Renamed from Websites/webkit.org/demos/webgpu/shared.css.
* demos/webmetal/shared.js: Added.
(const.hasWebMetal):
(const.checkForWebMetal):
* demos/webmetal/simple.html: Renamed from Websites/webkit.org/demos/webgpu/simple.html.
* demos/webmetal/simple.jpg: Renamed from Websites/webkit.org/demos/webgpu/simple.jpg.
* demos/webmetal/simple.js: Renamed from Websites/webkit.org/demos/webgpu/simple.js.
(init):
* experimental-features.html:

LayoutTests:

<rdar://problem/44990443>

Reviewed by Dean Jackson.

Rename WebGPU prototype files to WebMetal in preparation for implementing the new (Oct 2018) WebGPU interface.

* fast/canvas/webgpu/webgpu-runtime-flag-expected.txt: Removed.
* fast/canvas/webmetal/webmetal-dispatch-expected.txt: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch-expected.txt.
* fast/canvas/webmetal/webmetal-dispatch.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-dispatch.html.
* fast/canvas/webmetal/webmetal-runtime-flag-expected.txt: Added.
* fast/canvas/webmetal/webmetal-runtime-flag.html: Renamed from LayoutTests/fast/canvas/webgpu/webgpu-runtime-flag.html.
* inspector/canvas/create-context-webmetal-expected.txt: Renamed from LayoutTests/inspector/canvas/create-context-webgpu-expected.txt.
* inspector/canvas/create-context-webmetal.html: Renamed from LayoutTests/inspector/canvas/create-context-webgpu.html.
* inspector/canvas/resolveCanvasContext-webgpu-expected.txt: Removed.
* inspector/canvas/resolveCanvasContext-webmetal-expected.txt: Added.
* inspector/canvas/resolveCanvasContext-webmetal.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html.
* platform/gtk/TestExpectations:
* platform/ios/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
227 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/fast/canvas/webgpu/webgpu-runtime-flag-expected.txt [deleted file]
LayoutTests/fast/canvas/webmetal/webmetal-dispatch-expected.txt [moved from LayoutTests/fast/canvas/webgpu/webgpu-dispatch-expected.txt with 100% similarity]
LayoutTests/fast/canvas/webmetal/webmetal-dispatch.html [moved from LayoutTests/fast/canvas/webgpu/webgpu-dispatch.html with 95% similarity]
LayoutTests/fast/canvas/webmetal/webmetal-runtime-flag-expected.txt [new file with mode: 0644]
LayoutTests/fast/canvas/webmetal/webmetal-runtime-flag.html [moved from LayoutTests/fast/canvas/webgpu/webgpu-runtime-flag.html with 54% similarity]
LayoutTests/inspector/canvas/create-context-webmetal-expected.txt [moved from LayoutTests/inspector/canvas/create-context-webgpu-expected.txt with 68% similarity]
LayoutTests/inspector/canvas/create-context-webmetal.html [moved from LayoutTests/inspector/canvas/create-context-webgpu.html with 57% similarity]
LayoutTests/inspector/canvas/resolveCanvasContext-webgpu-expected.txt [deleted file]
LayoutTests/inspector/canvas/resolveCanvasContext-webmetal-expected.txt [new file with mode: 0644]
LayoutTests/inspector/canvas/resolveCanvasContext-webmetal.html [moved from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html with 72% similarity]
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/ios/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/win/TestExpectations
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig
Source/JavaScriptCore/inspector/protocol/Canvas.json
Source/JavaScriptCore/inspector/scripts/codegen/generator.py
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/Configurations/FeatureDefines.xcconfig
Source/WebCore/DerivedSources.make
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/Configurations/FeatureDefines.xcconfig
Source/WebCore/Sources.txt
Source/WebCore/SourcesCocoa.txt
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/js/JSWebMetalRenderPassAttachmentDescriptorCustom.cpp [moved from Source/WebCore/bindings/js/JSWebGPURenderPassAttachmentDescriptorCustom.cpp with 72% similarity]
Source/WebCore/bindings/js/JSWebMetalRenderingContextCustom.cpp [moved from Source/WebCore/bindings/js/JSWebGPURenderingContextCustom.cpp with 91% similarity]
Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h
Source/WebCore/dom/Document.idl
Source/WebCore/html/HTMLCanvasElement.cpp
Source/WebCore/html/HTMLCanvasElement.h
Source/WebCore/html/HTMLCanvasElement.idl
Source/WebCore/html/canvas/CanvasRenderingContext.h
Source/WebCore/html/canvas/WebGPURenderingContext.cpp [deleted file]
Source/WebCore/html/canvas/WebMetalBuffer.cpp [moved from Source/WebCore/html/canvas/WebGPUBuffer.cpp with 87% similarity]
Source/WebCore/html/canvas/WebMetalBuffer.h [moved from Source/WebCore/html/canvas/WebGPUBuffer.h with 90% similarity]
Source/WebCore/html/canvas/WebMetalBuffer.idl [moved from Source/WebCore/html/canvas/WebGPUBuffer.idl with 94% similarity]
Source/WebCore/html/canvas/WebMetalCommandBuffer.cpp [moved from Source/WebCore/html/canvas/WebGPUCommandBuffer.cpp with 56% similarity]
Source/WebCore/html/canvas/WebMetalCommandBuffer.h [moved from Source/WebCore/html/canvas/WebGPUCommandBuffer.h with 74% similarity]
Source/WebCore/html/canvas/WebMetalCommandBuffer.idl [moved from Source/WebCore/html/canvas/WebGPUCommandBuffer.idl with 82% similarity]
Source/WebCore/html/canvas/WebMetalCommandQueue.cpp [moved from Source/WebCore/html/canvas/WebGPUCommandQueue.cpp with 75% similarity]
Source/WebCore/html/canvas/WebMetalCommandQueue.h [moved from Source/WebCore/html/canvas/WebGPUCommandQueue.h with 83% similarity]
Source/WebCore/html/canvas/WebMetalCommandQueue.idl [moved from Source/WebCore/html/canvas/WebGPUCommandQueue.idl with 90% similarity]
Source/WebCore/html/canvas/WebMetalComputeCommandEncoder.cpp [moved from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.cpp with 68% similarity]
Source/WebCore/html/canvas/WebMetalComputeCommandEncoder.h [moved from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.h with 75% similarity]
Source/WebCore/html/canvas/WebMetalComputeCommandEncoder.idl [moved from Source/WebCore/html/canvas/WebGPUComputeCommandEncoder.idl with 79% similarity]
Source/WebCore/html/canvas/WebMetalComputePipelineState.cpp [moved from Source/WebCore/html/canvas/WebGPUComputePipelineState.cpp with 81% similarity]
Source/WebCore/html/canvas/WebMetalComputePipelineState.h [moved from Source/WebCore/html/canvas/WebGPUComputePipelineState.h with 85% similarity]
Source/WebCore/html/canvas/WebMetalComputePipelineState.idl [moved from Source/WebCore/html/canvas/WebGPUComputePipelineState.idl with 93% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.cpp with 76% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilDescriptor.h [moved from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.h with 84% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPUDepthStencilDescriptor.idl with 86% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilState.cpp [moved from Source/WebCore/html/canvas/WebGPUDepthStencilState.cpp with 77% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilState.h [moved from Source/WebCore/html/canvas/WebGPUDepthStencilState.h with 87% similarity]
Source/WebCore/html/canvas/WebMetalDepthStencilState.idl [moved from Source/WebCore/html/canvas/WebGPURenderPipelineState.idl with 93% similarity]
Source/WebCore/html/canvas/WebMetalDrawable.cpp [moved from Source/WebCore/html/canvas/WebGPUDrawable.cpp with 79% similarity]
Source/WebCore/html/canvas/WebMetalDrawable.h [moved from Source/WebCore/html/canvas/WebGPUDrawable.h with 82% similarity]
Source/WebCore/html/canvas/WebMetalDrawable.idl [moved from Source/WebCore/html/canvas/WebGPUDrawable.idl with 88% similarity]
Source/WebCore/html/canvas/WebMetalEnums.cpp [moved from Source/WebCore/html/canvas/WebGPUEnums.cpp with 64% similarity]
Source/WebCore/html/canvas/WebMetalEnums.h [moved from Source/WebCore/html/canvas/WebGPUEnums.h with 85% similarity]
Source/WebCore/html/canvas/WebMetalEnums.idl [moved from Source/WebCore/html/canvas/WebGPUEnums.idl with 59% similarity]
Source/WebCore/html/canvas/WebMetalFunction.cpp [moved from Source/WebCore/html/canvas/WebGPUFunction.cpp with 84% similarity]
Source/WebCore/html/canvas/WebMetalFunction.h [moved from Source/WebCore/html/canvas/WebGPUFunction.h with 90% similarity]
Source/WebCore/html/canvas/WebMetalFunction.idl [moved from Source/WebCore/html/canvas/WebGPUFunction.idl with 94% similarity]
Source/WebCore/html/canvas/WebMetalLibrary.cpp [moved from Source/WebCore/html/canvas/WebGPULibrary.cpp with 75% similarity]
Source/WebCore/html/canvas/WebMetalLibrary.h [moved from Source/WebCore/html/canvas/WebGPULibrary.h with 84% similarity]
Source/WebCore/html/canvas/WebMetalLibrary.idl [moved from Source/WebCore/html/canvas/WebGPULibrary.idl with 91% similarity]
Source/WebCore/html/canvas/WebMetalRenderCommandEncoder.cpp [moved from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.cpp with 61% similarity]
Source/WebCore/html/canvas/WebMetalRenderCommandEncoder.h [moved from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.h with 72% similarity]
Source/WebCore/html/canvas/WebMetalRenderCommandEncoder.idl [moved from Source/WebCore/html/canvas/WebGPURenderCommandEncoder.idl with 78% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassAttachmentDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.cpp with 71% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassAttachmentDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.h with 82% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassAttachmentDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPassAttachmentDescriptor.idl with 82% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassColorAttachmentDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.cpp with 64% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassColorAttachmentDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.h with 79% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassColorAttachmentDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPassColorAttachmentDescriptor.idl with 89% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.cpp with 64% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.h with 79% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDepthAttachmentDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPassDepthAttachmentDescriptor.idl with 89% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.cpp with 69% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.h with 71% similarity]
Source/WebCore/html/canvas/WebMetalRenderPassDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPassDescriptor.idl with 79% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.cpp with 69% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.h with 81% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineColorAttachmentDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPipelineColorAttachmentDescriptor.idl with 92% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.cpp with 66% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineDescriptor.h [moved from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.h with 67% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPURenderPipelineDescriptor.idl with 82% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineState.cpp [moved from Source/WebCore/html/canvas/WebGPURenderPipelineState.cpp with 77% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineState.h [moved from Source/WebCore/html/canvas/WebGPURenderPipelineState.h with 86% similarity]
Source/WebCore/html/canvas/WebMetalRenderPipelineState.idl [moved from Source/WebCore/html/canvas/WebGPUDepthStencilState.idl with 93% similarity]
Source/WebCore/html/canvas/WebMetalRenderingContext.cpp [new file with mode: 0644]
Source/WebCore/html/canvas/WebMetalRenderingContext.h [moved from Source/WebCore/html/canvas/WebGPURenderingContext.h with 62% similarity]
Source/WebCore/html/canvas/WebMetalRenderingContext.idl [moved from Source/WebCore/html/canvas/WebGPURenderingContext.idl with 84% similarity]
Source/WebCore/html/canvas/WebMetalSize.h [moved from Source/WebCore/html/canvas/WebGPUSize.h with 97% similarity]
Source/WebCore/html/canvas/WebMetalSize.idl [moved from Source/WebCore/html/canvas/WebGPUSize.idl with 94% similarity]
Source/WebCore/html/canvas/WebMetalTexture.cpp [moved from Source/WebCore/html/canvas/WebGPUTexture.cpp with 86% similarity]
Source/WebCore/html/canvas/WebMetalTexture.h [moved from Source/WebCore/html/canvas/WebGPUTexture.h with 90% similarity]
Source/WebCore/html/canvas/WebMetalTexture.idl [moved from Source/WebCore/html/canvas/WebGPUTexture.idl with 94% similarity]
Source/WebCore/html/canvas/WebMetalTextureDescriptor.cpp [moved from Source/WebCore/html/canvas/WebGPUTextureDescriptor.cpp with 64% similarity]
Source/WebCore/html/canvas/WebMetalTextureDescriptor.h [moved from Source/WebCore/html/canvas/WebGPUTextureDescriptor.h with 86% similarity]
Source/WebCore/html/canvas/WebMetalTextureDescriptor.idl [moved from Source/WebCore/html/canvas/WebGPUTextureDescriptor.idl with 94% similarity]
Source/WebCore/inspector/InspectorCanvas.cpp
Source/WebCore/inspector/agents/InspectorCanvasAgent.cpp
Source/WebCore/page/RuntimeEnabledFeatures.h
Source/WebCore/platform/Logging.h
Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
Source/WebCore/platform/graphics/cocoa/WebMetalLayer.h [moved from Source/WebCore/platform/graphics/cocoa/WebGPULayer.h with 91% similarity]
Source/WebCore/platform/graphics/cocoa/WebMetalLayer.mm [moved from Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm with 94% similarity]
Source/WebCore/platform/graphics/gpu/GPUBuffer.cpp
Source/WebCore/platform/graphics/gpu/GPUBuffer.h
Source/WebCore/platform/graphics/gpu/GPUCommandBuffer.cpp
Source/WebCore/platform/graphics/gpu/GPUCommandBuffer.h
Source/WebCore/platform/graphics/gpu/GPUCommandQueue.cpp
Source/WebCore/platform/graphics/gpu/GPUCommandQueue.h
Source/WebCore/platform/graphics/gpu/GPUComputeCommandEncoder.cpp
Source/WebCore/platform/graphics/gpu/GPUComputeCommandEncoder.h
Source/WebCore/platform/graphics/gpu/GPUComputePipelineState.cpp
Source/WebCore/platform/graphics/gpu/GPUComputePipelineState.h
Source/WebCore/platform/graphics/gpu/GPUDepthStencilDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPUDepthStencilDescriptor.h
Source/WebCore/platform/graphics/gpu/GPUDepthStencilState.cpp
Source/WebCore/platform/graphics/gpu/GPUDepthStencilState.h
Source/WebCore/platform/graphics/gpu/GPUDevice.cpp
Source/WebCore/platform/graphics/gpu/GPUDevice.h
Source/WebCore/platform/graphics/gpu/GPUDrawable.cpp
Source/WebCore/platform/graphics/gpu/GPUDrawable.h
Source/WebCore/platform/graphics/gpu/GPUEnums.h
Source/WebCore/platform/graphics/gpu/GPUFunction.cpp
Source/WebCore/platform/graphics/gpu/GPUFunction.h
Source/WebCore/platform/graphics/gpu/GPULibrary.cpp
Source/WebCore/platform/graphics/gpu/GPULibrary.h
Source/WebCore/platform/graphics/gpu/GPURenderCommandEncoder.cpp
Source/WebCore/platform/graphics/gpu/GPURenderCommandEncoder.h
Source/WebCore/platform/graphics/gpu/GPURenderPassAttachmentDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPassAttachmentDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPassColorAttachmentDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPassDepthAttachmentDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPassDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPassDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPipelineColorAttachmentDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPipelineDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPipelineDescriptor.h
Source/WebCore/platform/graphics/gpu/GPURenderPipelineState.cpp
Source/WebCore/platform/graphics/gpu/GPURenderPipelineState.h
Source/WebCore/platform/graphics/gpu/GPUSize.h
Source/WebCore/platform/graphics/gpu/GPUTexture.cpp
Source/WebCore/platform/graphics/gpu/GPUTexture.h
Source/WebCore/platform/graphics/gpu/GPUTextureDescriptor.cpp
Source/WebCore/platform/graphics/gpu/GPUTextureDescriptor.h
Source/WebCore/platform/graphics/metal/GPUBufferMetal.mm
Source/WebCore/platform/graphics/metal/GPUCommandBufferMetal.mm
Source/WebCore/platform/graphics/metal/GPUCommandQueueMetal.mm
Source/WebCore/platform/graphics/metal/GPUComputeCommandEncoderMetal.mm
Source/WebCore/platform/graphics/metal/GPUComputePipelineStateMetal.mm
Source/WebCore/platform/graphics/metal/GPUDepthStencilDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPUDepthStencilStateMetal.mm
Source/WebCore/platform/graphics/metal/GPUDeviceMetal.mm
Source/WebCore/platform/graphics/metal/GPUDrawableMetal.mm
Source/WebCore/platform/graphics/metal/GPUFunctionMetal.mm
Source/WebCore/platform/graphics/metal/GPULibraryMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderCommandEncoderMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPassAttachmentDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPassColorAttachmentDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPassDepthAttachmentDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPassDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPipelineColorAttachmentDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPipelineDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPURenderPipelineStateMetal.mm
Source/WebCore/platform/graphics/metal/GPUTextureDescriptorMetal.mm
Source/WebCore/platform/graphics/metal/GPUTextureMetal.mm
Source/WebCore/testing/InternalSettings.cpp
Source/WebCore/testing/InternalSettings.h
Source/WebCore/testing/InternalSettings.idl
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/Canvas.js
Source/WebKit/ChangeLog
Source/WebKit/Configurations/FeatureDefines.xcconfig
Source/WebKit/Shared/WebPreferences.yaml
Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/Configurations/FeatureDefines.xcconfig
Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
Source/WebKitLegacy/mac/WebView/WebPreferences.mm
Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
Source/WebKitLegacy/mac/WebView/WebView.mm
Source/cmake/WebKitFeatures.cmake
Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTree.mm
Tools/TestWebKitAPI/Configurations/FeatureDefines.xcconfig
Tools/TestWebKitAPI/Tests/WebCore/mac/GPUBuffer.mm
Tools/TestWebKitAPI/Tests/WebCore/mac/GPUCommandQueue.mm
Tools/TestWebKitAPI/Tests/WebCore/mac/GPUDevice.mm
Tools/TestWebKitAPI/Tests/WebCore/mac/GPUFunction.mm
Tools/TestWebKitAPI/Tests/WebCore/mac/GPULibrary.mm
Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp
Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp
Tools/WebKitTestRunner/InjectedBundle/TestRunner.h
Websites/webkit.org/ChangeLog
Websites/webkit.org/demos/webgpu/shared.js [deleted file]
Websites/webkit.org/demos/webmetal/2d.html [moved from Websites/webkit.org/demos/webgpu/2d.html with 92% similarity]
Websites/webkit.org/demos/webmetal/2d.jpg [moved from Websites/webkit.org/demos/webgpu/2d.jpg with 100% similarity]
Websites/webkit.org/demos/webmetal/2d.js [moved from Websites/webkit.org/demos/webgpu/2d.js with 95% similarity]
Websites/webkit.org/demos/webmetal/circle.svg [moved from Websites/webkit.org/demos/webgpu/circle.svg with 100% similarity]
Websites/webkit.org/demos/webmetal/cubes.html [moved from Websites/webkit.org/demos/webgpu/cubes.html with 93% similarity]
Websites/webkit.org/demos/webmetal/cubes.jpg [moved from Websites/webkit.org/demos/webgpu/cubes.jpg with 100% similarity]
Websites/webkit.org/demos/webmetal/cubes.js [moved from Websites/webkit.org/demos/webgpu/cubes.js with 96% similarity]
Websites/webkit.org/demos/webmetal/gl-matrix-min.js [moved from Websites/webkit.org/demos/webgpu/gl-matrix-min.js with 100% similarity]
Websites/webkit.org/demos/webmetal/hello.html [moved from Websites/webkit.org/demos/webgpu/hello.html with 89% similarity]
Websites/webkit.org/demos/webmetal/hello.jpg [moved from Websites/webkit.org/demos/webgpu/hello.jpg with 100% similarity]
Websites/webkit.org/demos/webmetal/hello.js [moved from Websites/webkit.org/demos/webgpu/hello.js with 91% similarity]
Websites/webkit.org/demos/webmetal/index.html [moved from Websites/webkit.org/demos/webgpu/index.html with 94% similarity]
Websites/webkit.org/demos/webmetal/shared.css [moved from Websites/webkit.org/demos/webgpu/shared.css with 100% similarity]
Websites/webkit.org/demos/webmetal/shared.js [new file with mode: 0644]
Websites/webkit.org/demos/webmetal/simple.html [moved from Websites/webkit.org/demos/webgpu/simple.html with 90% similarity]
Websites/webkit.org/demos/webmetal/simple.jpg [moved from Websites/webkit.org/demos/webgpu/simple.jpg with 100% similarity]
Websites/webkit.org/demos/webmetal/simple.js [moved from Websites/webkit.org/demos/webgpu/simple.js with 93% similarity]
Websites/webkit.org/experimental-features.html