mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] reworked capture to capture at the hosts's frame rate
This will help frame delivery to the host arrive on time, as well as allow lower latency with a higher host refresh rate. Data offset addresses are now also pre-calculated rather then updated on every frame.
This commit is contained in:
@@ -49,6 +49,10 @@ private:
|
||||
IVSHMEM * m_ivshmem;
|
||||
HANDLE m_readyEvent;
|
||||
ICapture * m_capture;
|
||||
uint8_t * m_memory;
|
||||
int m_frameIndex;
|
||||
|
||||
KVMGFXHeader * m_header;
|
||||
uint8_t * m_frame[2];
|
||||
size_t m_frameSize;
|
||||
uint64_t m_dataOffset[2];
|
||||
int m_frameIndex;
|
||||
};
|
Reference in New Issue
Block a user