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 2088bf190c
commit d3e9df260a
3 changed files with 83 additions and 116 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