[client] egl: make better use of the second thread for streaming
This commit is contained in:
1 parent
dc3e89e65c
commit
01bfd2e090
8 files changed
+195
-109
No files matched your search
@@ -180,6 +180,10 @@ static int renderThread(void * unused)
|
||||
}
|
||||
}
|
||||
|
||||
if (state.lgr->render_begin && !state.lgr->render_begin(state.lgrData,
|
||||
state.window))
|
||||
break;
|
||||
|
||||
if (state.lgrResize)
|
||||
{
|
||||
if (state.lgr)
|
||||
@@ -209,6 +213,10 @@ static int renderThread(void * unused)
|
||||
}
|
||||
}
|
||||
|
||||
if (state.lgr->render_end && !state.lgr->render_end(state.lgrData,
|
||||
state.window))
|
||||
break;
|
||||
|
||||
if (!state.resizeDone && state.resizeTimeout < microtime())
|
||||
{
|
||||
SDL_SetWindowSize(
|
||||
|
||||
Reference in new issue
Block a user