mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 23:21:29 +00:00
[idd] transport: add frame sink boundary
This commit is contained in:
@@ -22,9 +22,26 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct FrameToken
|
||||
{
|
||||
uint32_t sink = 0;
|
||||
uint32_t epoch = 0;
|
||||
uint32_t slot = 0;
|
||||
uint64_t serial = 0;
|
||||
};
|
||||
|
||||
struct PreparedFrameBuffer
|
||||
{
|
||||
unsigned frameIndex;
|
||||
FrameToken token;
|
||||
unsigned resourceSlot;
|
||||
uint8_t * mem;
|
||||
uint64_t heapOffset;
|
||||
bool fullCopy;
|
||||
};
|
||||
|
||||
struct SinkTarget
|
||||
{
|
||||
unsigned slot;
|
||||
uint8_t * mem;
|
||||
uint64_t heapOffset;
|
||||
bool fullCopy;
|
||||
|
||||
Reference in New Issue
Block a user