Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 032bebe8d4bd208a9a5a93a3797859589f6f9857
https://github.com/WebKit/WebKit/commit/032bebe8d4bd208a9a5a93a3797859589f6f9857
Author: Mike Wyrzykowski <[email protected]>
Date: 2025-03-10 (Mon, 10 Mar 2025)
Changed paths:
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.messages.in
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.messages.in
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.h
M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteQueueProxy.cpp
Log Message:
-----------
[WebGPU] Optimize small buffer copies
https://bugs.webkit.org/show_bug.cgi?id=277647
radar://133239762
Reviewed by Dan Glastonbury.
Avoid using shmem path for smaller sized buffers and textures as
cost of allocation is too high and given the allocation size was
page sized it may not having been saving memory for most copies.
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp:
(WebKit::RemoteBuffer::copyWithCopy):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.messages.in:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.cpp:
(WebKit::RemoteQueue::writeBufferWithCopy):
(WebKit::RemoteQueue::writeTextureWithCopy):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteQueue.messages.in:
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp:
(WebKit::WebGPU::RemoteBufferProxy::copyFrom):
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.h:
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteQueueProxy.cpp:
(WebKit::WebGPU::RemoteQueueProxy::writeBuffer):
(WebKit::WebGPU::RemoteQueueProxy::writeTexture):
Canonical link: https://commits.webkit.org/291894@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes