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

Method createTree

valdi/test/benchmark/ViewNode_benchmark.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 ~Dependencies() {}
34
35 Ref<ViewNodeTree> createTree() {
36 return makeShared<ViewNodeTree>(nullptr, viewManagerContext, nullptr, mainThreadManager, true);
37 }
38
39 void destroyTree(Ref<ViewNodeTree>& tree) {
40 auto rootViewNode = tree->getRootViewNode();

Callers 2

InitialRenderFunction · 0.80
DestroyTreeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected