Home
last modified time | relevance | path

Searched refs:OpsTask (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/src/gpu/v1/
H A DSurfaceFillContext_v1.h16 #include "src/gpu/ops/OpsTask.h"
47 OpsTask* getOpsTask();
57 OpsTask* testingOnly_PeekLastOpsTask() { return fOpsTask.get(); } in testingOnly_PeekLastOpsTask()
70 OpsTask* replaceOpsTask();
76 virtual void willReplaceOpsTask(OpsTask* prevTask, OpsTask* nextTask) {} in willReplaceOpsTask()
82 virtual OpsTask::CanDiscardPreviousOps canDiscardPreviousOpsOnFullClear() const { in canDiscardPreviousOpsOnFullClear()
83 return OpsTask::CanDiscardPreviousOps::kYes; in canDiscardPreviousOpsOnFullClear()
94 // The OpsTask can be closed by some other surface context that has picked it up. For this
95 // reason, the OpsTask shoul
[all...]
H A DSurfaceFillContext_v1.cpp37 // OpsTask to be picked up and added to by SurfaceFillContext lower in the call
38 // stack. When this occurs with a closed OpsTask, a new one will be allocated
125 OpsTask* SurfaceFillContext::getOpsTask() { in getOpsTask()
140 OpsTask* SurfaceFillContext::replaceOpsTask() { in replaceOpsTask()
141 sk_sp<OpsTask> newOpsTask = this->drawingManager()->newOpsTask( in replaceOpsTask()
H A DSurfaceDrawContext_v1.h24 #include "src/gpu/ops/OpsTask.h"
634 void willReplaceOpsTask(OpsTask* prevTask, OpsTask* nextTask) override;
636 OpsTask::CanDiscardPreviousOps canDiscardPreviousOpsOnFullClear() const override;
700 OpsTask* replaceOpsTaskIfModifiesColor();
H A DSurfaceDrawContext.cpp286 // OpsTask to be picked up and added to by SurfaceDrawContexts lower in the call
287 // stack. When this occurs with a closed OpsTask, a new one will be allocated
313 void SurfaceDrawContext::willReplaceOpsTask(OpsTask* prevTask, OpsTask* nextTask) { in willReplaceOpsTask()
320 nextTask->setInitialStencilContent(OpsTask::StencilContent::kPreserved); in willReplaceOpsTask()
856 OpsTask::CanDiscardPreviousOps SurfaceDrawContext::canDiscardPreviousOpsOnFullClear() const { in canDiscardPreviousOpsOnFullClear()
859 return OpsTask::CanDiscardPreviousOps::kNo; in canDiscardPreviousOpsOnFullClear()
868 return OpsTask::CanDiscardPreviousOps(!fNeedsStencil); in canDiscardPreviousOpsOnFullClear()
884 OpsTask::StencilContent::kUserBitsCleared); in setNeedsStencil()
1956 // should change to a virtual caps check that returns whether we need to break up an OpsTask in addDrawOp()
[all...]
/third_party/skia/src/gpu/ops/
H A DOpsTask.cpp8 #include "src/gpu/ops/OpsTask.h"
78 inline OpsTask::OpChain::List::List(GrOp::Owner op) in List()
83 inline OpsTask::OpChain::List::List(List&& that) { *this = std::move(that); } in List()
85 inline OpsTask::OpChain::List& OpsTask::OpChain::List::operator=(List&& that) { in operator =()
93 inline GrOp::Owner OpsTask::OpChain::List::popHead() { in popHead()
104 inline GrOp::Owner OpsTask::OpChain::List::removeOp(GrOp* op) { in removeOp()
126 inline void OpsTask::OpChain::List::pushHead(GrOp::Owner op) { in pushHead()
139 inline void OpsTask::OpChain::List::pushTail(GrOp::Owner op) { in pushTail()
145 inline void OpsTask
389 OpsTask::OpsTask(GrDrawingManager* drawingMgr, OpsTask() function in skgpu::v1::OpsTask
[all...]
H A DOpsTask.h41 class OpsTask : public GrRenderTask { class
44 OpsTask(GrDrawingManager*, GrSurfaceProxyView, GrAuditTrail*, sk_sp<GrArenas>);
45 ~OpsTask() override;
47 OpsTask* asOpsTask() override { return this; }
97 bool canMerge(const OpsTask*) const;
253 // The SDC and OpsTask have to work together to handle buffer clears. In most cases, buffer
H A DAtlasRenderTask.cpp24 : OpsTask(rContext->priv().drawingManager(), in AtlasRenderTask()
70 // Set our dimensions now. OpsTask will need them when we add our ops. in onMakeClosed()
143 this->OpsTask::onMakeClosed(rContext, targetUpdateBounds); in onMakeClosed()
178 if (!this->OpsTask::onExecute(flushState)) { in onExecute()
H A DAtlasRenderTask.h14 #include "src/gpu/ops/OpsTask.h"
27 class AtlasRenderTask : public OpsTask {
51 // Adds internal ops to render the atlas before deferring to OpsTask::onMakeClosed.
58 // Executes the OpsTask and resolves msaa if needed.
/third_party/skia/src/gpu/
H A DGrDrawingManager.h42 class OpsTask;
54 sk_sp<skgpu::v1::OpsTask> newOpsTask(GrSurfaceProxyView,
156 skgpu::v1::OpsTask* getLastOpsTask(const GrSurfaceProxy*) const;
219 skgpu::v1::OpsTask* fActiveOpsTask = nullptr;
H A DGrAuditTrail.h149 typedef SkTArray<std::unique_ptr<OpNode>, true> OpsTask; typedef in GrAuditTrail
159 OpsTask fOpsTask;
H A DGrRenderTask.h22 namespace skgpu { namespace v1 { class OpsTask; }}
100 * Safely cast this GrRenderTask to a OpsTask (if possible).
102 virtual skgpu::v1::OpsTask* asOpsTask() { return nullptr; } in asOpsTask()
257 virtual void onPrePrepare(GrRecordingContext*) {} // Only OpsTask currently overrides this in onPrePrepare()
258 virtual void onPrepare(GrOpFlushState*) {} // OpsTask and GrDDLTask override this in onPrepare()
H A DGrDrawingManager.cpp47 #include "src/gpu/ops/OpsTask.h"
578 skgpu::v1::OpsTask* GrDrawingManager::getLastOpsTask(const GrSurfaceProxy* proxy) const { in getLastOpsTask()
702 sk_sp<skgpu::v1::OpsTask> GrDrawingManager::newOpsTask(GrSurfaceProxyView surfaceView, in newOpsTask()
710 sk_sp<skgpu::v1::OpsTask> opsTask(new skgpu::v1::OpsTask(this, in newOpsTask()
/third_party/skia/tests/
H A DTextureOpTest.cpp15 #include "src/gpu/ops/OpsTask.h"
21 typedef skgpu::v1::OpsTask::OpChain OpChain;
H A DOpChainTest.cpp15 #include "src/gpu/ops/OpsTask.h"
143 // This op doesn't use the arenas, but make sure the OpsTask is sending it
223 skgpu::v1::OpsTask opsTask(drawingMgr, in DEF_GPUTEST()

Completed in 17 milliseconds