Lines Matching refs:flushState
183 GrProgramInfo* createProgramInfo(GrOpFlushState* flushState) const { in createProgramInfo()
184 return this->createProgramInfo(&flushState->caps(), in createProgramInfo()
185 flushState->allocator(), in createProgramInfo()
186 flushState->writeView(), in createProgramInfo()
187 flushState->detachAppliedClip(), in createProgramInfo()
188 flushState->dstProxyView(), in createProgramInfo()
189 flushState->renderPassBarriers(), in createProgramInfo()
190 flushState->colorLoadOp()); in createProgramInfo()
211 void onPrepare(GrOpFlushState* flushState) final { in onPrepare() argument
218 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare()
222 void onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) final { in onExecute() argument
228 fProgramInfo = this->createProgramInfo(flushState); in onExecute()
231 flushState->bindPipeline(*fProgramInfo, SkRect::MakeIWH(kWidth, kHeight)); in onExecute()
232 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute()
233 flushState->draw(4, 0); in onExecute()