Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: cf877dfb88599f3a545d4144b8fa23737201964d https://github.com/WebKit/WebKit/commit/cf877dfb88599f3a545d4144b8fa23737201964d Author: Chris Dumez <cdu...@apple.com> Date: 2024-07-26 (Fri, 26 Jul 2024)
Changed paths: M Source/WTF/wtf/FileSystem.cpp M Source/WTF/wtf/StdLibExtras.h M Source/WebCore/Modules/WebGPU/GPUBuffer.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp M Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.h M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUBuffer.h M Source/WebCore/Modules/webcodecs/WebCodecsEncodedAudioChunk.cpp M Source/WebCore/Modules/webcodecs/WebCodecsEncodedVideoChunk.cpp M Source/WebCore/platform/SharedMemory.cpp M Source/WebCore/platform/audio/MultiChannelResampler.cpp M Source/WebCore/platform/audio/SincResampler.cpp M Source/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp M Source/WebCore/platform/network/BlobRegistryImpl.cpp M Source/WebGPU/WebGPU/ComputePassEncoder.mm M Source/WebGPU/WebGPU/RenderPassEncoder.mm M Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.cpp M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp M Source/WebKit/NetworkProcess/cache/NetworkCacheDataCurl.cpp M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp M Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.h M Source/WebKit/WebProcess/Plugins/PDF/PDFIncrementalLoader.mm M Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp Log Message: ----------- Update memcpySpan(A, B) to not require A and B to have the same size https://bugs.webkit.org/show_bug.cgi?id=277118 Reviewed by Darin Adler. Update memcpySpan(A, B) to not require A and B to have the same size. It is sufficient for A's size to be greater or equal to B's. This makes memcpySpan() more convenient to use. * Source/WTF/wtf/FileSystem.cpp: (WTF::FileSystemImpl::mapToFile): * Source/WTF/wtf/StdLibExtras.h: (WTF::memcpySpan): * Source/WebCore/Modules/WebGPU/GPUBuffer.cpp: (WebCore::GPUBuffer::getMappedRange): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.cpp: (WebCore::WebGPU::BufferImpl::getMappedRange): (WebCore::WebGPU::BufferImpl::getBufferContents): * Source/WebCore/Modules/WebGPU/Implementation/WebGPUBufferImpl.h: * Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUBuffer.h: (): Deleted. * Source/WebCore/Modules/webcodecs/WebCodecsEncodedAudioChunk.cpp: (WebCore::WebCodecsEncodedAudioChunk::copyTo): * Source/WebCore/Modules/webcodecs/WebCodecsEncodedVideoChunk.cpp: (WebCore::WebCodecsEncodedVideoChunk::copyTo): * Source/WebCore/platform/SharedMemory.cpp: (WebCore::SharedMemory::copyBuffer): (WebCore::SharedMemory::copySpan): * Source/WebCore/platform/audio/MultiChannelResampler.cpp: (WebCore::MultiChannelResampler::provideInputForChannel): * Source/WebCore/platform/audio/SincResampler.cpp: (WebCore::SincResampler::processBuffer): (WebCore::SincResampler::process): * Source/WebCore/platform/graphics/opentype/OpenTypeUtilities.cpp: (WebCore::renameFont): * Source/WebCore/platform/network/BlobRegistryImpl.cpp: (WebCore::storeInMappedFileData): * Source/WebGPU/WebGPU/ComputePassEncoder.mm: (WebGPU::ComputePassEncoder::executePreDispatchCommands): * Source/WebGPU/WebGPU/RenderPassEncoder.mm: (WebGPU::RenderPassEncoder::executePreDrawCommands): * Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.cpp: (WebKit::RemoteImageBuffer::getPixelBuffer): * Source/WebKit/GPUProcess/graphics/WebGPU/RemoteBuffer.cpp: (WebKit::RemoteBuffer::getMappedRange): (WebKit::RemoteBuffer::copy): * Source/WebKit/NetworkProcess/cache/NetworkCacheDataCurl.cpp: (WebKit::NetworkCache::concatenate): * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.cpp: (WebKit::WebGPU::RemoteBufferProxy::getMappedRange): (WebKit::WebGPU::RemoteBufferProxy::getBufferContents): * Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteBufferProxy.h: * Source/WebKit/WebProcess/Plugins/PDF/PDFIncrementalLoader.mm: (WebKit::PDFIncrementalLoader::dataProviderGetBytesAtPosition): * Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp: (WebKit::IPCTestingAPI::JSSharedMemory::writeBytes): Canonical link: https://commits.webkit.org/281423@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes