[webkit-changes] [WebKit/WebKit] 25578b: [WebGPU] [Style] Make lambdas in Modules/WebGPU ad...
Myles C. Maxfield
noreply at github.com
Sun May 21 13:31:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 25578b6a979e8c70360904ef5e1e29d0e2ad4cc5
https://github.com/WebKit/WebKit/commit/25578b6a979e8c70360904ef5e1e29d0e2ad4cc5
Author: Myles C. Maxfield <mmaxfield at apple.com>
Date: 2023-05-21 (Sun, 21 May 2023)
Changed paths:
M Source/WebCore/Modules/WebGPU/GPU.cpp
M Source/WebCore/Modules/WebGPU/GPUAdapter.cpp
M Source/WebCore/Modules/WebGPU/GPUBindGroupDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUBindGroupEntry.h
M Source/WebCore/Modules/WebGPU/GPUBindGroupLayoutDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUBuffer.cpp
M Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h
M Source/WebCore/Modules/WebGPU/GPUColorDict.h
M Source/WebCore/Modules/WebGPU/GPUCompilationInfo.cpp
M Source/WebCore/Modules/WebGPU/GPUComputePassTimestampWrite.h
M Source/WebCore/Modules/WebGPU/GPUDevice.cpp
M Source/WebCore/Modules/WebGPU/GPUDeviceDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUExtent3DDict.h
M Source/WebCore/Modules/WebGPU/GPUFragmentState.h
M Source/WebCore/Modules/WebGPU/GPUOrigin2DDict.h
M Source/WebCore/Modules/WebGPU/GPUOrigin3DDict.h
M Source/WebCore/Modules/WebGPU/GPUPipelineDescriptorBase.h
M Source/WebCore/Modules/WebGPU/GPUPipelineLayoutDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUQueue.cpp
M Source/WebCore/Modules/WebGPU/GPUQueue.idl
M Source/WebCore/Modules/WebGPU/GPURenderBundleEncoderDescriptor.h
M Source/WebCore/Modules/WebGPU/GPURenderPassDescriptor.h
M Source/WebCore/Modules/WebGPU/GPURenderPassLayout.h
M Source/WebCore/Modules/WebGPU/GPURenderPassTimestampWrite.h
M Source/WebCore/Modules/WebGPU/GPUShaderModule.cpp
M Source/WebCore/Modules/WebGPU/GPUShaderModuleDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUTextureDescriptor.h
M Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp
M Source/WebCore/Modules/WebGPU/GPUVertexBufferLayout.h
M Source/WebCore/Modules/WebGPU/GPUVertexState.h
Log Message:
-----------
[WebGPU] [Style] Make lambdas in Modules/WebGPU adhere to the style guide
https://bugs.webkit.org/show_bug.cgi?id=257066
rdar://109589999
Reviewed by Dan Glastonbury.
https://webkit.org/code-style-guidelines/#spacing-lambda-paren says that there shouldn't be a space
between the [] and the () in a lambda.
* Source/WebCore/Modules/WebGPU/GPU.cpp:
(WebCore::GPU::requestAdapter):
* Source/WebCore/Modules/WebGPU/GPUAdapter.cpp:
(WebCore::GPUAdapter::requestDevice):
* Source/WebCore/Modules/WebGPU/GPUBindGroupDescriptor.h:
(WebCore::GPUBindGroupDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUBindGroupEntry.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUBindGroupLayoutDescriptor.h:
(WebCore::GPUBindGroupLayoutDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUBuffer.cpp:
(WebCore::GPUBuffer::mapAsync):
* Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h:
(WebCore::GPUCanvasConfiguration::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUColorDict.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUCompilationInfo.cpp:
(WebCore::GPUCompilationInfo::messages const):
* Source/WebCore/Modules/WebGPU/GPUComputePassTimestampWrite.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUDevice.cpp:
(WebCore::GPUDevice::lost):
(WebCore::GPUDevice::createComputePipelineAsync):
(WebCore::GPUDevice::createRenderPipelineAsync):
(WebCore::GPUDevice::popErrorScope):
* Source/WebCore/Modules/WebGPU/GPUDeviceDescriptor.h:
(WebCore::GPUDeviceDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUExtent3DDict.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUFragmentState.h:
(WebCore::GPUFragmentState::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUOrigin2DDict.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUOrigin3DDict.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUPipelineDescriptorBase.h:
(WebCore::convertPipelineLayoutToBacking):
* Source/WebCore/Modules/WebGPU/GPUPipelineLayoutDescriptor.h:
(WebCore::GPUPipelineLayoutDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::GPUQueue::onSubmittedWorkDone):
(WebCore::imageBufferForSource):
* Source/WebCore/Modules/WebGPU/GPUQueue.idl:
* Source/WebCore/Modules/WebGPU/GPURenderBundleEncoderDescriptor.h:
(WebCore::GPURenderBundleEncoderDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPURenderPassDescriptor.h:
(WebCore::GPURenderPassDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPURenderPassLayout.h:
(WebCore::GPURenderPassLayout::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPURenderPassTimestampWrite.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUShaderModule.cpp:
(WebCore::GPUShaderModule::compilationInfo):
* Source/WebCore/Modules/WebGPU/GPUShaderModuleDescriptor.h:
(WebCore::GPUShaderModuleDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUTextureDescriptor.h:
(WebCore::GPUTextureDescriptor::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUUncapturedErrorEvent.cpp:
(WebCore::GPUUncapturedErrorEvent::error const):
* Source/WebCore/Modules/WebGPU/GPUVertexBufferLayout.h:
(WebCore::GPUVertexBufferLayout::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUVertexState.h:
(WebCore::GPUVertexState::convertToBacking const):
Canonical link: https://commits.webkit.org/264303@main
More information about the webkit-changes
mailing list