mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 06:42:02 +00:00
[idd] avoid release frame timeouts during replug
Drop frames when the LGMP queue is full instead of blocking while holding an IddCx surface. Always finish every acquired frame, including duplicate frame numbers, so replug teardown cannot trigger the release-frame watchdog.
This commit is contained in:
@@ -210,6 +210,7 @@ public:
|
||||
uint8_t* mem;
|
||||
};
|
||||
|
||||
bool FrameBufferAvailable() const;
|
||||
PreparedFrameBuffer PrepareFrameBuffer(unsigned pitch, const D12FrameFormat& srcFormat, const D12FrameFormat& dstFormat, const RECT * dirtyRects, unsigned nbDirtyRects);
|
||||
bool PublishFrameBuffer(unsigned frameIndex);
|
||||
void WriteFrameBuffer(unsigned frameIndex, void* src, size_t offset, size_t len, bool setWritePos) const;
|
||||
|
||||
Reference in New Issue
Block a user