| 278 | } |
| 279 | |
| 280 | void Context::runNextPendingRenderRequest(std::unique_lock<Mutex>& guard) { |
| 281 | auto pendingRenderRequest = _pendingRenderRequests.front(); |
| 282 | _pendingRenderRequests.pop_front(); |
| 283 | Ref<Runtime> runtime(_runtime); |
| 284 | guard.unlock(); |
| 285 | runtime->processRenderRequest(pendingRenderRequest.renderRequest); |
| 286 | markUpdateCompleted(pendingRenderRequest.updateId, guard); |
| 287 | } |
| 288 | |
| 289 | bool Context::flushRenderRequests() { |
| 290 | bool didFlush = false; |
nothing calls this directly
no test coverage detected