livoxG1: Rename stagingBuffer=>assemblyBuffer

This is in preparation for re-using StagingBuffer to also serve
as the collation buffer that we'll use as the intermediate stage
for producing the final output mesh.
This commit is contained in:
2025-11-06 14:09:10 -04:00
parent d69636bf7b
commit db30001140
3 changed files with 4 additions and 4 deletions
@@ -59,7 +59,7 @@ bool IoUringAssemblyEngine::setup()
// Get FrameAssemblyDesc from staging buffer
frameAssemblyDesc = static_cast<std::shared_ptr<FrameAssemblyDesc>>(
parent.stagingBuffer);
parent.assemblyBuffer);
if (!frameAssemblyDesc || frameAssemblyDesc->slots.empty())
{ return false; }
@@ -94,7 +94,7 @@ bool IoUringAssemblyEngine::setup()
{ goto cleanup; }
// Register staging buffer with io_uring for DMA-apt I/O
iov = parent.stagingBuffer.getIoUringRegisterIoVec();
iov = parent.assemblyBuffer.getIoUringRegisterIoVec();
ret = io_uring_register_buffers(&ring, &iov, 1);
if (ret < 0)
{ goto cleanup_ring; }
@@ -27,7 +27,7 @@ PcloudStimulusBuffer::PcloudStimulusBuffer(
openClInputConstraints,
device->componentThread->getIoService()),
device(device),
formatDesc(formatDesc), stagingBuffer(
formatDesc(formatDesc), assemblyBuffer(
StagingBuffer::InputEngineConstraints::ioUringConstraints,
OpenClConstraints(), nDgramsPerStagingBufferFrame),
ioUringAssemblyEngine(*this)
@@ -57,7 +57,7 @@ public:
std::shared_ptr<livoxProto1::Device> device;
PcloudFormatDesc formatDesc;
StagingBuffer stagingBuffer;
StagingBuffer assemblyBuffer;
IoUringAssemblyEngine ioUringAssemblyEngine;
private: