Lines Matching refs:programInfo
62 void GrOpsRenderPass::bindPipeline(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipeline() argument
66 SkASSERT(programInfo.origin() == fOrigin); in bindPipeline()
67 if (programInfo.geomProc().hasInstanceAttributes()) { in bindPipeline()
70 if (programInfo.pipeline().usesConservativeRaster()) { in bindPipeline()
73 if (programInfo.pipeline().isWireframe()) { in bindPipeline()
77 programInfo.isStencilEnabled()) { in bindPipeline()
78 const GrUserStencilSettings* stencil = programInfo.userStencilSettings(); in bindPipeline()
79 if (stencil->isTwoSided(programInfo.pipeline().hasStencilClip())) { in bindPipeline()
85 if (GrPrimitiveType::kPatches == programInfo.primitiveType()) { in bindPipeline()
88 programInfo.checkAllInstantiated(); in bindPipeline()
89 programInfo.checkMSAAAndMIPSAreResolved(); in bindPipeline()
94 if (programInfo.geomProc().numVertexAttributes() > this->gpu()->caps()->maxVertexAttributes()) { in bindPipeline()
99 if (!this->onBindPipeline(programInfo, drawBounds)) { in bindPipeline()
105 fScissorStatus = (programInfo.pipeline().isScissorTestEnabled()) ? in bindPipeline()
107 bool hasTextures = (programInfo.geomProc().numTextureSamplers() > 0); in bindPipeline()
109 programInfo.pipeline().visitProxies([&hasTextures](GrSurfaceProxy*, GrMipmapped) { in bindPipeline()
116 fInstanceBufferStatus = (programInfo.geomProc().hasInstanceAttributes()) ? in bindPipeline()
118 fVertexBufferStatus = (programInfo.geomProc().hasVertexAttributes()) ? in bindPipeline()
123 fXferBarrierType = programInfo.pipeline().xferBarrierType(*this->gpu()->caps()); in bindPipeline()