Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 51762530b9c8287dfb3f9761636e9e6c5df22b2a
https://github.com/WebKit/WebKit/commit/51762530b9c8287dfb3f9761636e9e6c5df22b2a
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-01-30 (Fri, 30 Jan 2026)
Changed paths:
M Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp
Log Message:
-----------
Reduce IPC data sent over getMappedRange
https://bugs.webkit.org/show_bug.cgi?id=306535
rdar://169187911
Reviewed by Dan Glastonbury.
Instead of sending the entire buffer contents across IPC and then
calling subspan() on it in the web content process, only send the
subset across IPC and then assume the web content process receives
the subset of the contents.
* Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp:
(WebCore::WebGPU::BufferImpl::getMappedRange):
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp:
(WebKit::WebGPU::RemoteBufferProxy::getMappedRange):
Canonical link: https://commits.webkit.org/306505@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications