Use one thread to process render and mouse/key events

This commit is contained in:
dijunkun
2023-09-02 00:20:55 +08:00
parent 6989d58e47
commit daf7caf5bb
4 changed files with 86 additions and 169 deletions

View File

@@ -20,6 +20,7 @@ class RemoteDeskServer {
ScreenCaptureWgc* screen_capture = nullptr;
char* nv12_buffer_ = nullptr;
std::chrono::steady_clock::time_point last_frame_time_;
};
#endif