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

Method createViewNodeTree

valdi/src/valdi/runtime/Runtime.cpp:295–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293
294bool Runtime::hasViewNodeTreeForContext(const SharedContext& context) const {
295 return _viewNodeManager.getViewNodeTreeForContextId(context->getContextId()) != nullptr;
296}
297
298SharedViewNodeTree Runtime::createViewNodeTree(const SharedContext& context,
299 ViewNodeTreeThreadAffinity threadAffinity) {
300 return _viewNodeManager.createViewNodeTreeForContext(context, threadAffinity);
301}

Callers 7

TEST_PFunction · 0.80
TEST_PMethod · 0.80
CreateRenderAndDestroyFunction · 0.80
DestroyFunction · 0.80
RenderFunction · 0.80
UpdateCSSFunction · 0.80

Calls 1

Tested by 6

TEST_PFunction · 0.64
TEST_PMethod · 0.64
CreateRenderAndDestroyFunction · 0.64
DestroyFunction · 0.64
RenderFunction · 0.64
UpdateCSSFunction · 0.64