Name Description Size Coverage
MappedRangeGuard.cpp static 1362 100 %
MappedRangeGuard.h A range of a `GPUBuffer`'s contents made visible in the CPU's address space. Construct one of these by calling `WebGPUParent::LockMappedRange`, or by calling `MappedRangeGuard::Create` directly if the `WebGPUParent` is not available. The memory covered by `AsSpan()` is valid for as long as the `MappedRangeGuard` is alive. `MappedRangeGuard` supports moves, but not copies. Take care to destroy `MappedRangeGuard` objects promptly. Unmapping or destroying the buffer will block until the `MappedRangeGuard` is destroyed. Such operations will deadlock if the thread trying to do so is the very thread that owns the `MappedRangeGuard`. Note that actions like device loss or teardown may attempt to destroy buffers. 3252 100 %
PWebGPU.ipdl Represents the connection between a WebGPUChild actor that issues WebGPU command from the content process, and a WebGPUParent in the compositor process that runs the commands. 1425 -
WebGPUChild.cpp 26155 46 %
WebGPUChild.h 7323 67 %
WebGPUParent.cpp 54788 52 %
WebGPUParent.h 8009 33 %
WebGPUTypes.h 2118 37 %