MCPcopy Create free account
hub / github.com/Snapchat/Valdi / runNextPendingRenderRequest

Method runNextPendingRenderRequest

valdi/src/valdi/runtime/Context/Context.cpp:280–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void 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
289bool Context::flushRenderRequests() {
290 bool didFlush = false;

Callers

nothing calls this directly

Calls 3

frontMethod · 0.80
processRenderRequestMethod · 0.80
unlockMethod · 0.45

Tested by

no test coverage detected