Lines Matching defs:flushState
493 void OpsTask::onPrepare(GrOpFlushState* flushState) {
506 flushState->setSampledProxyArray(&fSampledProxies);
508 auto grGpu = flushState->gpu();
528 flushState->setOpArgs(&opArgs);
532 // chain.head()->prePrepare(flushState->gpu()->getContext(), &this->target(0),
536 chain.head()->prepare(flushState);
537 flushState->setOpArgs(nullptr);
543 flushState->setSampledProxyArray(nullptr);
549 bool OpsTask::onExecute(GrOpFlushState* flushState) {
568 !flushState->gpu()->caps()->performColorClearsAsDraws());
570 const GrCaps& caps = *flushState->gpu()->caps();
577 if (!flushState->resourceProvider()->attachStencilAttachment(renderTarget,
627 GrOpsRenderPass* renderPass = create_render_pass(flushState->gpu(),
643 flushState->setOpsRenderPass(renderPass);
648 auto grGpu = flushState->gpu();
671 flushState->setOpArgs(&opArgs);
672 chain.head()->execute(flushState, chain.bounds());
673 flushState->setOpArgs(nullptr);
680 flushState->gpu()->submit(renderPass);
681 flushState->setOpsRenderPass(nullptr);