Lines Matching refs:flushState
174 GrProgramInfo* createProgramInfo(GrOpFlushState* flushState) const { in createProgramInfo()
175 return this->createProgramInfo(&flushState->caps(), in createProgramInfo()
176 flushState->allocator(), in createProgramInfo()
177 flushState->writeView(), in createProgramInfo()
178 flushState->detachAppliedClip(), in createProgramInfo()
179 flushState->dstProxyView(), in createProgramInfo()
180 flushState->renderPassBarriers(), in createProgramInfo()
181 flushState->colorLoadOp()); in createProgramInfo()
202 void onPrepare(GrOpFlushState* flushState) override { in onPrepare() argument
209 fVertexBuffer = flushState->resourceProvider()->createBuffer( in onPrepare()
213 void onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) override { in onExecute() argument
219 fProgramInfo = this->createProgramInfo(flushState); in onExecute()
222 flushState->bindPipeline(*fProgramInfo, SkRect::MakeXYWH(0, fY, 100, 100)); in onExecute()
223 flushState->bindBuffers(nullptr, nullptr, std::move(fVertexBuffer)); in onExecute()
224 flushState->draw(4, 0); in onExecute()