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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user