mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 15:00:21 +00:00
Use a separate render thread even with a V-Sync source
This commit is contained in:
1 parent
81c6202582
commit
f03d12b677
2 files changed
+49
-29
No files matched your search
@@ -33,11 +33,13 @@ private:
|
||||
|
||||
void renderFrame(AVFrame* frame);
|
||||
|
||||
QQueue<AVFrame*> m_FrameQueue;
|
||||
QQueue<int> m_FrameQueueHistory;
|
||||
QQueue<AVFrame*> m_RenderQueue;
|
||||
QQueue<AVFrame*> m_PacingQueue;
|
||||
QQueue<int> m_PacingQueueHistory;
|
||||
QQueue<int> m_RenderTimeHistory;
|
||||
QMutex m_FrameQueueLock;
|
||||
QWaitCondition m_FrameQueueNotEmpty;
|
||||
QWaitCondition m_RenderQueueNotEmpty;
|
||||
QWaitCondition m_PacingQueueNotEmpty;
|
||||
SDL_Thread* m_RenderThread;
|
||||
bool m_Stopping;
|
||||
|
||||
|
||||
Reference in new issue
Block a user