[webkit-changes] [WebKit/WebKit] 5d5797: Smart pointer adoption in WebGPU/Adapter.mm etc.
geoffreygaren
noreply at github.com
Tue Oct 22 20:32:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d5797f2c90f26393f60171a79aed5d6717bbe4b
https://github.com/WebKit/WebKit/commit/5d5797f2c90f26393f60171a79aed5d6717bbe4b
Author: Geoffrey Garen <ggaren at apple.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M Source/WebGPU/WebGPU/BindGroup.h
M Source/WebGPU/WebGPU/BindGroup.mm
M Source/WebGPU/WebGPU/Buffer.h
M Source/WebGPU/WebGPU/Buffer.mm
M Source/WebGPU/WebGPU/CommandBuffer.h
M Source/WebGPU/WebGPU/CommandBuffer.mm
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/ComputePassEncoder.h
M Source/WebGPU/WebGPU/ComputePassEncoder.mm
M Source/WebGPU/WebGPU/ComputePipeline.h
M Source/WebGPU/WebGPU/ComputePipeline.mm
M Source/WebGPU/WebGPU/Device.h
M Source/WebGPU/WebGPU/Device.mm
Log Message:
-----------
Smart pointer adoption in WebGPU/Adapter.mm etc.
https://bugs.webkit.org/show_bug.cgi?id=281921
<rdar://problem/138431535>
Reviewed by Mike Wyrzykowski.
Static analysis told me to.
* Source/WebGPU/WebGPU/BindGroup.h:
(WebGPU::BindGroup::protectedDevice const):
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::Device::createExternalTextureFromPixelBuffer const):
(WebGPU::Device::createBindGroup):
(WebGPU::BindGroup::updateExternalTextures):
* Source/WebGPU/WebGPU/Buffer.h:
(WebGPU::Buffer::protectedDevice const):
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Buffer::destroy):
(WebGPU::Buffer::mapAsync):
(WebGPU::Buffer::unmap):
* Source/WebGPU/WebGPU/CommandBuffer.h:
(WebGPU::CommandBuffer::setBufferMapCount):
(WebGPU::CommandBuffer::bufferMapCount const):
* Source/WebGPU/WebGPU/CommandBuffer.mm:
(WebGPU::CommandBuffer::~CommandBuffer):
(WebGPU::CommandBuffer::makeInvalid):
(WebGPU::CommandBuffer::setBufferMapCount): Deleted.
(WebGPU::CommandBuffer::bufferMapCount const): Deleted.
* Source/WebGPU/WebGPU/CommandEncoder.h:
(WebGPU::CommandEncoder::protectedCachedCommandBuffer const):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::Device::createCommandEncoder):
(WebGPU::CommandEncoder::~CommandEncoder):
(WebGPU::CommandEncoder::ensureBlitCommandEncoder):
(WebGPU::errorValidatingTimestampWrites):
(WebGPU::CommandEncoder::setExistingEncoder):
(WebGPU::CommandEncoder::discardCommandBuffer):
(WebGPU::CommandEncoder::endEncoding):
(WebGPU::CommandEncoder::runClearEncoder):
(WebGPU::CommandEncoder::encoderIsCurrent const):
(WebGPU::CommandEncoder::makeInvalid):
(WebGPU::CommandEncoder::makeSubmitInvalid):
(WebGPU::CommandEncoder::clearBuffer):
(WebGPU::CommandEncoder::finish):
(WebGPU::CommandEncoder::writeTimestamp):
* Source/WebGPU/WebGPU/Device.h:
(WebGPU::Device::getQueue const):
(WebGPU::Device::protectedQueue const):
(WebGPU::Device::isValid const):
* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::getQueue): Deleted.
(WebGPU::Device::isValid const): Deleted.
Canonical link: https://commits.webkit.org/285584@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list