Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrRenderTask.cpp105 void GrRenderTask::addDependency(GrRenderTask* dependedOn) { in addDependency() argument
106 SkASSERT(!dependedOn->dependsOn(this)); // loops are bad in addDependency()
107 SkASSERT(!this->dependsOn(dependedOn)); // caller should weed out duplicates in addDependency()
109 fDependencies.push_back(dependedOn); in addDependency()
110 dependedOn->addDependent(this); in addDependency()
127 void GrRenderTask::addDependency(GrDrawingManager* drawingMgr, GrSurfaceProxy* dependedOn, in addDependency() argument
134 GrRenderTask* dependedOnTask = drawingMgr->getLastRenderTask(dependedOn); in addDependency()
141 SkASSERT(!dependedOn->requiresManualMSAAResolve()); in addDependency()
142 SkASSERT(!dependedOn->asTextureProxy() || in addDependency()
143 !dependedOn->asTextureProxy()->texPriv().isDeferred()); in addDependency()
[all …]
DGrRenderTask.h71 void addDependency(GrDrawingManager*, GrSurfaceProxy* dependedOn, GrMipmapped,
90 bool dependsOn(const GrRenderTask* dependedOn) const;
221 void addDependency(GrRenderTask* dependedOn);
/third_party/flutter/skia/tests/
DIncrTopoSortTest.cpp41 for (Node* dependedOn : fNodesIDependOn) { in validate()
42 REPORTER_ASSERT(reporter, dependedOn->indexInSort() < this->indexInSort()); in validate()
67 void addDependency(Node* dependedOn) { in addDependency() argument
68 fNodesIDependOn.push_back(dependedOn); in addDependency()
70 dependedOn->addDependent(this); in addDependency()
103 void addEdge(Node* dependedOn, Node* dependent) { in addEdge() argument
106 SkTDArray<Node*> tmp(&dependedOn, 1); in addEdge()
125 void addEdges(SkTDArray<Node*>* dependedOn, Node* dependent) { in addEdges() argument
129 for (int i = 0; i < dependedOn->count(); ++i) { in addEdges()
130 if ((*dependedOn)[i]->indexInSort() < dependent->indexInSort()) { in addEdges()
[all …]
/third_party/skia/tests/
DIncrTopoSortTest.cpp41 for (Node* dependedOn : fNodesIDependOn) { in validate()
42 REPORTER_ASSERT(reporter, dependedOn->indexInSort() < this->indexInSort()); in validate()
67 void addDependency(Node* dependedOn) { in addDependency() argument
68 fNodesIDependOn.push_back(dependedOn); in addDependency()
70 dependedOn->addDependent(this); in addDependency()
103 void addEdge(Node* dependedOn, Node* dependent) { in addEdge() argument
106 SkTDArray<Node*> tmp(&dependedOn, 1); in addEdge()
125 void addEdges(SkTDArray<Node*>* dependedOn, Node* dependent) { in addEdges() argument
129 for (int i = 0; i < dependedOn->count(); ++i) { in addEdges()
130 if ((*dependedOn)[i]->indexInSort() < dependent->indexInSort()) { in addEdges()
[all …]
/third_party/flutter/skia/src/gpu/
DGrRenderTask.cpp57 void GrRenderTask::addDependency(GrRenderTask* dependedOn) { in addDependency() argument
58 SkASSERT(!dependedOn->dependsOn(this)); // loops are bad in addDependency()
60 if (this->dependsOn(dependedOn)) { in addDependency()
64 fDependencies.push_back(dependedOn); in addDependency()
65 dependedOn->addDependent(this); in addDependency()
71 void GrRenderTask::addDependency(GrSurfaceProxy* dependedOn, GrMipMapped mipMapped, in addDependency() argument
74 GrRenderTask* dependedOnTask = dependedOn->getLastRenderTask(); in addDependency()
75 GrTextureProxy* textureProxy = dependedOn->asTextureProxy(); in addDependency()
129 bool GrRenderTask::dependsOn(const GrRenderTask* dependedOn) const { in dependsOn()
131 if (fDependencies[i] == dependedOn) { in dependsOn()
DGrRenderTask.h51 void addDependency(GrSurfaceProxy* dependedOn, GrMipMapped, GrTextureResolveManager,
57 bool dependsOn(const GrRenderTask* dependedOn) const;
111 void addDependency(GrRenderTask* dependedOn);