Home
last modified time | relevance | path

Searched refs:GrRenderTask (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/src/gpu/
DGrRenderTaskCluster.cpp16 static GrSurfaceProxy* first_target(GrRenderTask* task) { return task->target(0); } in first_target()
19 [[maybe_unused]] static SkString describe_task(GrRenderTask* t) { in describe_task()
27 [[maybe_unused]] static SkString describe_tasks(SkSpan<const sk_sp<GrRenderTask>> collection) { in describe_tasks()
29 for (const sk_sp<GrRenderTask>& t : collection) { in describe_tasks()
35 [[maybe_unused]] static SkString describe_tasks(const SkTInternalLList<GrRenderTask>& collection) { in describe_tasks()
37 for (GrRenderTask* t : collection) { in describe_tasks()
43 static void validate(SkSpan<const sk_sp<GrRenderTask>> input, in validate()
44 const SkTInternalLList<GrRenderTask>& llist) { in validate()
46 SkTHashSet<GrRenderTask*> seen; in validate()
47 for (GrRenderTask* t : llist) { in validate()
[all …]
DGrRenderTask.cpp15 uint32_t GrRenderTask::CreateUniqueID() { in CreateUniqueID()
24 GrRenderTask::GrRenderTask() in GrRenderTask() function in GrRenderTask
29 void GrRenderTask::disown(GrDrawingManager* drawingMgr) { in disown()
45 void GrRenderTask::makeSkippable() { in makeSkippable()
54 GrRenderTask::~GrRenderTask() { in ~GrRenderTask()
58 bool GrRenderTask::deferredProxiesAreInstantiated() const { in deferredProxiesAreInstantiated()
69 void GrRenderTask::makeClosed(const GrCaps& caps) { in makeClosed()
96 void GrRenderTask::prepare(GrOpFlushState* flushState) { in prepare()
105 void GrRenderTask::addDependency(GrRenderTask* dependedOn) { in addDependency()
115 void GrRenderTask::addDependenciesFromOtherTask(GrRenderTask* otherTask) { in addDependenciesFromOtherTask()
[all …]
DGrRenderTask.h28 class GrRenderTask : public SkRefCnt {
30 GrRenderTask();
31 SkDEBUGCODE(~GrRenderTask() override);
79 void addDependenciesFromOtherTask(GrRenderTask* otherTask);
81 SkSpan<GrRenderTask*> dependencies() { return SkMakeSpan(fDependencies); } in dependencies()
82 SkSpan<GrRenderTask*> dependents() { return SkMakeSpan(fDependents); } in dependents()
84 void replaceDependency(const GrRenderTask* toReplace, GrRenderTask* replaceWith);
85 void replaceDependent(const GrRenderTask* toReplace, GrRenderTask* replaceWith);
91 bool dependsOn(const GrRenderTask* dependedOn) const;
147 SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrRenderTask);
[all …]
DGrDrawingManager.h34 class GrRenderTask; variable
85 sk_sp<GrRenderTask> newCopyRenderTask(sk_sp<GrSurfaceProxy> src,
138 GrRenderTask* getLastRenderTask(const GrSurfaceProxy*) const;
140 void setLastRenderTask(const GrSurfaceProxy*, GrRenderTask*);
170 GrRenderTask* appendTask(sk_sp<GrRenderTask>);
171 GrRenderTask* insertTaskBeforeLast(sk_sp<GrRenderTask>);
198 SkTArray<sk_sp<GrRenderTask>> fDAG;
204 SkSTArray<4, sk_sp<GrRenderTask>> fOnFlushRenderTasks;
221 GrHashMapWithCache<uint32_t, GrRenderTask*, SurfaceIDKeyTraits, GrCheapHash> fLastRenderTasks;
DGrDrawingManager.cpp294 for (sk_sp<GrRenderTask>& onFlushRenderTask : fOnFlushRenderTasks) { in executeRenderTasks()
348 for (const sk_sp<GrRenderTask>& onFlushRenderTask : fOnFlushRenderTasks) { in removeRenderTasks()
355 if (!GrTTopoSort<GrRenderTask, GrRenderTask::TopoSortTraits>(&fDAG)) { in sortTasks()
394 SkTInternalLList<GrRenderTask> llist; in reorderTasks()
400 for (GrRenderTask* task : llist) { in reorderTasks()
416 sk_sp<GrRenderTask>& task = fDAG[i]; in reorderTasks()
419 SkSpan<sk_sp<GrRenderTask>> nextTasks{fDAG.end() - remaining, remaining}; in reorderTasks()
441 GrRenderTask* GrDrawingManager::insertTaskBeforeLast(sk_sp<GrRenderTask> task) { in insertTaskBeforeLast()
454 GrRenderTask* GrDrawingManager::appendTask(sk_sp<GrRenderTask> task) { in appendTask()
543 void GrDrawingManager::setLastRenderTask(const GrSurfaceProxy* proxy, GrRenderTask* task) { in setLastRenderTask()
[all …]
DGrRenderTaskCluster.h15 class GrRenderTask; variable
26 bool GrClusterRenderTasks(SkSpan<const sk_sp<GrRenderTask>> input,
27 SkTInternalLList<GrRenderTask>* llist);
DGrWritePixelsRenderTask.cpp14 sk_sp<GrRenderTask> GrWritePixelsTask::Make(GrDrawingManager* dm, in Make()
21 return sk_sp<GrRenderTask>(new GrWritePixelsTask(dm, in Make()
51 GrRenderTask::ExpectedOutcome GrWritePixelsTask::onMakeClosed(const GrCaps&, in onMakeClosed()
DGrCopyRenderTask.cpp14 sk_sp<GrRenderTask> GrCopyRenderTask::Make(GrDrawingManager* drawingMgr, in Make()
32 return sk_sp<GrRenderTask>(new GrCopyRenderTask(drawingMgr, in Make()
65 GrRenderTask::ExpectedOutcome GrCopyRenderTask::onMakeClosed(const GrCaps&, in onMakeClosed()
DGrTextureResolveRenderTask.h13 class GrTextureResolveRenderTask final : public GrRenderTask {
15 GrTextureResolveRenderTask() : GrRenderTask() {} in GrTextureResolveRenderTask()
DGrWritePixelsRenderTask.h13 class GrWritePixelsTask final : public GrRenderTask {
15 static sk_sp<GrRenderTask> Make(GrDrawingManager*,
DGrWaitRenderTask.h14 class GrWaitRenderTask final : public GrRenderTask {
19 : GrRenderTask() in GrWaitRenderTask()
DGrCopyRenderTask.h13 class GrCopyRenderTask final : public GrRenderTask {
19 static sk_sp<GrRenderTask> Make(GrDrawingManager*,
DGrDDLTask.h22 class GrDDLTask final : public GrRenderTask {
74 typedef GrRenderTask INHERITED;
DGrTransferFromRenderTask.h13 class GrTransferFromRenderTask final : public GrRenderTask {
21 : GrRenderTask() in GrTransferFromRenderTask()
DGrSurfaceProxy.h23 class GrRenderTask; variable
323 sk_sp<GrRenderTask>* outTask = nullptr);
332 sk_sp<GrRenderTask>* outTask = nullptr);
DGrOpsTask.cpp361 : GrRenderTask() in GrOpsTask()
446 GrRenderTask::endFlush(drawingMgr); in endFlush()
697 int GrOpsTask::mergeFrom(SkSpan<const sk_sp<GrRenderTask>> tasks) { in mergeFrom()
699 for (const sk_sp<GrRenderTask>& task : tasks) { in mergeFrom()
751 for (GrRenderTask* renderTask : toMerge->dependents()) { in mergeFrom()
754 for (GrRenderTask* renderTask : toMerge->dependencies()) { in mergeFrom()
804 GrRenderTask::dump(label, indent, printDependencies, false); in dump()
1045 GrRenderTask::ExpectedOutcome GrOpsTask::onMakeClosed(const GrCaps& caps, in onMakeClosed()
DGrTextureResolveManager.h16 class GrRenderTask; variable
DGrOpsTask.h35 class GrOpsTask : public GrRenderTask {
95 int mergeFrom(SkSpan<const sk_sp<GrRenderTask>> tasks);
DGrSurfaceProxy.cpp257 sk_sp<GrRenderTask>* outTask) { in Copy()
291 sk_sp<GrRenderTask> copyTask; in Copy()
331 sk_sp<GrRenderTask>* outTask) { in Copy()
/external/skia/src/gpu/mock/
DGrMockRenderTask.h13 class GrMockRenderTask : public GrRenderTask {
15 GrMockRenderTask() : GrRenderTask() { in GrMockRenderTask()
21 void addDependency(GrRenderTask* dep) { fDependencies.push_back(dep); } in addDependency()
/external/skia/tests/
DGrRenderTaskClusterTest.cpp136 SkTInternalLList<GrRenderTask> llist; in DEF_TEST()
139 SkSpan<const sk_sp<GrRenderTask>> graphSpan( in DEF_TEST()
140 reinterpret_cast<sk_sp<GrRenderTask>*>(graph.data()), graph.count()); in DEF_TEST()
149 for ([[maybe_unused]] GrRenderTask* t : llist) { in DEF_TEST()
155 for (GrRenderTask* n : llist) { in DEF_TEST()
DWrappedSurfaceCopyOnWriteTest.cpp101 sk_sp<GrRenderTask> task = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
141 sk_sp<GrRenderTask> task = sk_ref_sp(dst->getOpsTask()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/image/
DSkImage_Gpu.h80 sk_sp<GrRenderTask> copyTask,
106 sk_sp<GrRenderTask> copyTask,
134 sk_sp<GrRenderTask> fVolatileToStableCopyTask;
/external/skia/include/core/
DSkDeferredDisplayList.h21 class GrRenderTask; variable
111 SkTArray<sk_sp<GrRenderTask>> fRenderTasks;
/external/skia/src/core/
DSkDeferredDisplayListPriv.h37 const SkTArray<sk_sp<GrRenderTask>>& renderTasks() const { in renderTasks()

12