• Home
  • Raw
  • Download

Lines Matching refs:flushState

402 void PathInnerTriangulateOp::onPrepare(GrOpFlushState* flushState) {  in onPrepare()  argument
403 const GrCaps& caps = flushState->caps(); in onPrepare()
406 this->prePreparePrograms({flushState->allocator(), flushState->writeView(), in onPrepare()
407 flushState->usesMSAASurface(), &flushState->dstProxyView(), in onPrepare()
408 flushState->renderPassBarriers(), flushState->colorLoadOp(), in onPrepare()
409 &caps}, flushState->detachAppliedClip()); in onPrepare()
416 GrEagerDynamicVertexAllocator alloc(flushState, &fFanBuffer, &fBaseFanVertex); in onPrepare()
425 PatchWriter patchWriter(flushState, fTessellator, patchPreallocCount); in onPrepare()
455 fTessellator->prepareFixedCountBuffers(flushState); in onPrepare()
464 fHullVertexBufferIfNoIDSupport = flushState->resourceProvider()->findOrMakeStaticBuffer( in onPrepare()
470 void PathInnerTriangulateOp::onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) { in onExecute() argument
479 flushState->bindPipelineAndScissorClip(*fStencilCurvesProgram, this->bounds()); in onExecute()
480 fTessellator->draw(flushState, in onExecute()
482 if (flushState->caps().requiresManualFBBarrierAfterTessellatedStencilDraw()) { in onExecute()
483 flushState->gpu()->insertManualFramebufferBarrier(); // http://skbug.com/9739 in onExecute()
490 flushState->bindPipelineAndScissorClip(*fanProgram, this->bounds()); in onExecute()
491 flushState->bindTextures(fanProgram->geomProc(), nullptr, fanProgram->pipeline()); in onExecute()
492 flushState->bindBuffers(nullptr, nullptr, fFanBuffer); in onExecute()
493 flushState->draw(fFanVertexCount, fBaseFanVertex); in onExecute()
499 flushState->bindPipelineAndScissorClip(*fCoverHullsProgram, this->bounds()); in onExecute()
500 flushState->bindTextures(fCoverHullsProgram->geomProc(), nullptr, *fPipelineForFills); in onExecute()
501 fTessellator->drawHullInstances(flushState, fHullVertexBufferIfNoIDSupport); in onExecute()