mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[idd] lgmp: expose stream allocation
Expose LGMP stream creation through the existing IDD host wrapper so subsystem transports do not reach through its ownership boundary. Keep stream lifetime and binding under each transport while the host continues to own the underlying shared-memory allocator.
This commit is contained in:
@@ -150,6 +150,12 @@ LGMP_STATUS CLGMPHost::CreateQueue(
|
||||
return lgmpHostQueueNew(m_host, config, queue);
|
||||
}
|
||||
|
||||
LGMP_STATUS CLGMPHost::CreateStream(
|
||||
const struct LGMPStreamConfig& config, PLGMPHostStream * stream)
|
||||
{
|
||||
return lgmpHostStreamNew(m_host, config, stream);
|
||||
}
|
||||
|
||||
LGMP_STATUS CLGMPHost::Allocate(uint32_t size, PLGMPMemory * memory)
|
||||
{
|
||||
return lgmpHostMemAlloc(m_host, size, memory);
|
||||
|
||||
Reference in New Issue
Block a user