[webkit-changes] [WebKit/WebKit] bf459b: [WebGPU] Further Adopt std::span in WebGPU - Buffer
mwyrzykowski
noreply at github.com
Wed Oct 16 21:05:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bf459b0ed98a40fa4ba029c9f5a0b13793c2bfa4
https://github.com/WebKit/WebKit/commit/bf459b0ed98a40fa4ba029c9f5a0b13793c2bfa4
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp
M Source/WebGPU/WebGPU/Buffer.h
M Source/WebGPU/WebGPU/Buffer.mm
M Source/WebGPU/WebGPU/WebGPU.h
Log Message:
-----------
[WebGPU] Further Adopt std::span in WebGPU - Buffer
https://bugs.webkit.org/show_bug.cgi?id=281302
rdar://137744738
Reviewed by Tadeu Zagallo.
getBufferContents() was only used in one place, to construct
a std::span, so we move that construction of the span forwards.
Otherwise the change is a nop.
* Source/WebGPU/WebGPU/Buffer.h:
* Source/WebGPU/WebGPU/Buffer.mm:
(WebGPU::Buffer::getBufferContents):
(wgpuBufferGetBufferContents):
* Source/WebGPU/WebGPU/WebGPU.h:
Canonical link: https://commits.webkit.org/285303@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