Home
last modified time | relevance | path

Searched refs:TopoTestNode (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tests/
DTopoSortTest.cpp14 typedef void (*CreateGraphPF)(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph);
23 static void create_graph0(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph0()
24 sk_tool_utils::TopoTestNode::AllocNodes(graph, 4); in create_graph0()
41 static void create_graph1(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph1()
42 sk_tool_utils::TopoTestNode::AllocNodes(graph, 4); in create_graph1()
54 static void create_graph2(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph2()
55 sk_tool_utils::TopoTestNode::AllocNodes(graph, 3); in create_graph2()
73 static void create_graph3(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph3()
74 sk_tool_utils::TopoTestNode::AllocNodes(graph, 7); in create_graph3()
94 static void create_graph4(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph4()
[all …]
/external/skia/tests/
DTopoSortTest.cpp14 typedef void (*CreateGraphPF)(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph);
23 static void create_graph0(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph0()
24 sk_tool_utils::TopoTestNode::AllocNodes(graph, 4); in create_graph0()
41 static void create_graph1(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph1()
42 sk_tool_utils::TopoTestNode::AllocNodes(graph, 4); in create_graph1()
54 static void create_graph2(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph2()
55 sk_tool_utils::TopoTestNode::AllocNodes(graph, 3); in create_graph2()
73 static void create_graph3(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph3()
74 sk_tool_utils::TopoTestNode::AllocNodes(graph, 7); in create_graph3()
94 static void create_graph4(SkTArray<sk_sp<sk_tool_utils::TopoTestNode>>* graph) { in create_graph4()
[all …]
/external/skia/tools/
Dsk_tool_utils.h144 class TopoTestNode : public SkRefCnt {
146 TopoTestNode(int id) : fID(id), fOutputPos(-1), fTempMark(false) { } in TopoTestNode() function
148 void dependsOn(TopoTestNode* src) { in dependsOn()
177 static void SetTempMark(TopoTestNode* node) { node->fTempMark = true; } in SetTempMark()
178 static void ResetTempMark(TopoTestNode* node) { node->fTempMark = false; } in ResetTempMark()
179 static bool IsTempMarked(TopoTestNode* node) { return node->fTempMark; } in IsTempMarked()
180 static void Output(TopoTestNode* node, int outputPos) { in Output()
184 static bool WasOutput(TopoTestNode* node) { return (-1 != node->fOutputPos); } in WasOutput()
185 static int NumDependencies(TopoTestNode* node) { return node->fDependencies.count(); } in NumDependencies()
186 static TopoTestNode* Dependency(TopoTestNode* node, int index) { in Dependency()
[all …]
/external/skqp/tools/
Dsk_tool_utils.h149 class TopoTestNode : public SkRefCnt {
151 TopoTestNode(int id) : fID(id), fOutputPos(-1), fTempMark(false) { } in TopoTestNode() function
153 void dependsOn(TopoTestNode* src) { in dependsOn()
182 static void SetTempMark(TopoTestNode* node) { node->fTempMark = true; } in SetTempMark()
183 static void ResetTempMark(TopoTestNode* node) { node->fTempMark = false; } in ResetTempMark()
184 static bool IsTempMarked(TopoTestNode* node) { return node->fTempMark; } in IsTempMarked()
185 static void Output(TopoTestNode* node, int outputPos) { in Output()
189 static bool WasOutput(TopoTestNode* node) { return (-1 != node->fOutputPos); } in WasOutput()
190 static int NumDependencies(TopoTestNode* node) { return node->fDependencies.count(); } in NumDependencies()
191 static TopoTestNode* Dependency(TopoTestNode* node, int index) { in Dependency()
[all …]
/external/skia/bench/
DTopoSortBench.cpp33 sk_tool_utils::TopoTestNode::AllocNodes(&fGraph, kNumElements); in onDelayedSetup()
52 sk_tool_utils::TopoTestNode::Shuffle(&fGraph, &fRand); in onDraw()
54 SkDEBUGCODE(bool actualResult =) SkTTopoSort<sk_tool_utils::TopoTestNode>(&fGraph); in onDraw()
69 SkTArray<sk_sp<sk_tool_utils::TopoTestNode>> fGraph;
/external/skqp/bench/
DTopoSortBench.cpp33 sk_tool_utils::TopoTestNode::AllocNodes(&fGraph, kNumElements); in onDelayedSetup()
52 sk_tool_utils::TopoTestNode::Shuffle(&fGraph, &fRand); in onDraw()
54 SkDEBUGCODE(bool actualResult =) SkTTopoSort<sk_tool_utils::TopoTestNode>(&fGraph); in onDraw()
69 SkTArray<sk_sp<sk_tool_utils::TopoTestNode>> fGraph;