Home
last modified time | relevance | path

Searched refs:opsTask (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/tests/
DOpChainTest.cpp223 skgpu::v1::OpsTask opsTask(drawingMgr, variable
241 opsTask.addOp(drawingMgr, std::move(op),
245 opsTask.makeClosed(dContext.get());
246 opsTask.prepare(&flushState);
247 opsTask.execute(&flushState);
248 opsTask.endFlush(drawingMgr);
249 opsTask.disown(drawingMgr);
DBulkRectTest.cpp76 auto opsTask = sdc->testingOnly_PeekLastOpsTask(); in fillrectop_creation_test() local
77 int actualNumOps = opsTask->numOpChains(); in fillrectop_creation_test()
82 const GrOp* tmp = opsTask->getChain(i); in fillrectop_creation_test()
181 auto opsTask = sdc->testingOnly_PeekLastOpsTask(); in textureop_creation_test() local
182 int actualNumOps = opsTask->numOpChains(); in textureop_creation_test()
196 const GrOp* tmp = opsTask->getChain(i); in textureop_creation_test()
DClearTest.cpp255 auto opsTask = sdc->getOpsTask(); in clear_op_test() local
256 REPORTER_ASSERT(reporter, opsTask->numOpChains() == 1); in clear_op_test()
258 const ClearOp& clearOp = opsTask->getChain(0)->cast<ClearOp>(); in clear_op_test()
281 auto opsTask = sdc->getOpsTask(); in clear_op_test() local
282 REPORTER_ASSERT(reporter, opsTask->numOpChains() == 1); in clear_op_test()
284 const ClearOp& clearOp = opsTask->getChain(0)->cast<ClearOp>(); in clear_op_test()
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp200 auto opsTask = this->getOpsTask(); in internalClear() local
201 if (opsTask->resetForFullscreenClear(this->canDiscardPreviousOpsOnFullClear()) && in internalClear()
205 opsTask->setColorLoadOp(GrLoadOp::kClear, color); in internalClear()
210 opsTask->setColorLoadOp(GrLoadOp::kDiscard); in internalClear()
DSurfaceDrawContext.cpp1496 auto opsTask = this->getOpsTask(); in setLastClip() local
1497 opsTask->fLastClipStackGenID = clipStackGenID; in setLastClip()
1498 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip()
1499 opsTask->fLastClipNumAnalyticElements = numClipAnalyticElements; in setLastClip()
1505 auto opsTask = this->getOpsTask(); in mustRenderClip() local
1506 return opsTask->fLastClipStackGenID != clipStackGenID || in mustRenderClip()
1507 !opsTask->fLastDevClipBounds.contains(devClipBounds) || in mustRenderClip()
1508 opsTask->fLastClipNumAnalyticElements != numClipAnalyticElements; in mustRenderClip()
1987 auto opsTask = this->getOpsTask(); in addDrawOp() local
1989 willAddFn(op.get(), opsTask->uniqueID()); in addDrawOp()
[all …]
/third_party/skia/src/gpu/
DGrDrawingManager.cpp431 if (auto opsTask = task->asOpsTask()) { in reorderTasks() local
434 int removeCount = opsTask->mergeFrom(nextTasks); in reorderTasks()
710 sk_sp<skgpu::v1::OpsTask> opsTask(new skgpu::v1::OpsTask(this, in newOpsTask() local
715 SkASSERT(this->getLastRenderTask(opsTask->target(0)) == opsTask.get()); in newOpsTask()
718 fOnFlushRenderTasks.push_back(opsTask); in newOpsTask()
720 this->appendTask(opsTask); in newOpsTask()
722 fActiveOpsTask = opsTask.get(); in newOpsTask()
726 return opsTask; in newOpsTask()
DGrAuditTrail.h151 void copyOutFromOpsTask(OpInfo* outOpInfo, int opsTask);
/third_party/skia/src/gpu/ops/
DOpsTask.cpp687 bool OpsTask::canMerge(const OpsTask* opsTask) const { in canMerge()
688 return this->target(0) == opsTask->target(0) && in canMerge()
689 fArenas == opsTask->fArenas && in canMerge()
690 !opsTask->fCannotMergeBackward; in canMerge()
696 auto opsTask = task->asOpsTask(); in mergeFrom() local
697 if (!opsTask || !this->canMerge(opsTask)) { in mergeFrom()
700 SkASSERT(fTargetSwizzle == opsTask->fTargetSwizzle); in mergeFrom()
701 SkASSERT(fTargetOrigin == opsTask->fTargetOrigin); in mergeFrom()
702 if (GrLoadOp::kClear == opsTask->fColorLoadOp) { in mergeFrom()