| 395 | } |
| 396 | |
| 397 | void RenderingServerDefault::_thread_loop() { |
| 398 | DisplayServer::get_singleton()->gl_window_make_current(DisplayServer::MAIN_WINDOW_ID); // Move GL to this thread. |
| 399 | |
| 400 | while (!exit) { |
| 401 | WorkerThreadPool::get_singleton()->yield(); |
| 402 | command_queue.flush_all(); |
| 403 | } |
| 404 | |
| 405 | DisplayServer::get_singleton()->release_rendering_thread(); |
| 406 | } |
| 407 | |
| 408 | /* INTERPOLATION */ |
| 409 |
nothing calls this directly
no test coverage detected