Lines Matching defs:flushState
190 void DrawAtlasPathOp::onPrepare(GrOpFlushState* flushState) {
192 this->prepareProgram(flushState->caps(), flushState->allocator(), flushState->writeView(),
193 flushState->usesMSAASurface(), flushState->detachAppliedClip(),
194 flushState->dstProxyView(), flushState->renderPassBarriers(),
195 flushState->colorLoadOp());
199 if (VertexWriter instanceWriter = flushState->makeVertexSpace(
211 if (!flushState->caps().shaderCaps()->vertexIDSupport()) {
216 fVertexBufferIfNoIDSupport = flushState->resourceProvider()->findOrMakeStaticBuffer(
221 void DrawAtlasPathOp::onExecute(GrOpFlushState* flushState, const SkRect& chainBounds) {
225 flushState->bindPipelineAndScissorClip(*fProgram, this->bounds());
226 flushState->bindTextures(fProgram->geomProc(), *fAtlasHelper.proxy(), fProgram->pipeline());
227 flushState->bindBuffers(nullptr, std::move(fInstanceBuffer), fVertexBufferIfNoIDSupport);
228 flushState->drawInstanced(fInstanceCount, fBaseInstance, 4, 0);