Searched refs:opsTask (Results 1 – 8 of 8) sorted by relevance
223 skgpu::v1::OpsTask opsTask(drawingMgr, variable241 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);
76 auto opsTask = sdc->testingOnly_PeekLastOpsTask(); in fillrectop_creation_test() local77 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() local182 int actualNumOps = opsTask->numOpChains(); in textureop_creation_test()196 const GrOp* tmp = opsTask->getChain(i); in textureop_creation_test()
255 auto opsTask = sdc->getOpsTask(); in clear_op_test() local256 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() local282 REPORTER_ASSERT(reporter, opsTask->numOpChains() == 1); in clear_op_test()284 const ClearOp& clearOp = opsTask->getChain(0)->cast<ClearOp>(); in clear_op_test()
200 auto opsTask = this->getOpsTask(); in internalClear() local201 if (opsTask->resetForFullscreenClear(this->canDiscardPreviousOpsOnFullClear()) && in internalClear()205 opsTask->setColorLoadOp(GrLoadOp::kClear, color); in internalClear()210 opsTask->setColorLoadOp(GrLoadOp::kDiscard); in internalClear()
1496 auto opsTask = this->getOpsTask(); in setLastClip() local1497 opsTask->fLastClipStackGenID = clipStackGenID; in setLastClip()1498 opsTask->fLastDevClipBounds = devClipBounds; in setLastClip()1499 opsTask->fLastClipNumAnalyticElements = numClipAnalyticElements; in setLastClip()1505 auto opsTask = this->getOpsTask(); in mustRenderClip() local1506 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() local1989 willAddFn(op.get(), opsTask->uniqueID()); in addDrawOp()[all …]
431 if (auto opsTask = task->asOpsTask()) { in reorderTasks() local434 int removeCount = opsTask->mergeFrom(nextTasks); in reorderTasks()710 sk_sp<skgpu::v1::OpsTask> opsTask(new skgpu::v1::OpsTask(this, in newOpsTask() local715 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()
151 void copyOutFromOpsTask(OpInfo* outOpInfo, int opsTask);
687 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() local697 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()