returns and removes the cmd from the front of the work queue NOTE: requires holding "work_cv_lock"
| 108 | //! returns and removes the cmd from the front of the work queue |
| 109 | //! NOTE: requires holding "work_cv_lock" |
| 110 | inline cmd_t get_work() { |
| 111 | cmd_t cmd = std::move(work_queue.front()); |
| 112 | work_queue.pop(); |
| 113 | return cmd; |
| 114 | } |
| 115 | }; |
| 116 | static unique_ptr<vulkan_cmd_completion_handler> vk_cmd_completion_handler; |
| 117 |