Lines Matching refs:flushState
224 void GrPathIndirectTessellator::draw(GrOpFlushState* flushState) const { in draw()
226 flushState->bindBuffers(fIndirectIndexBuffer, fInstanceBuffer, nullptr); in draw()
227 flushState->drawIndexedIndirect(fIndirectDrawBuffer.get(), fIndirectDrawOffset, in draw()
232 void GrPathIndirectTessellator::drawHullInstances(GrOpFlushState* flushState) const { in drawHullInstances()
234 flushState->bindBuffers(nullptr, fInstanceBuffer, nullptr); in drawHullInstances()
235 flushState->drawInstanced(fTotalInstanceCount, fBaseInstance, 4, 0); in drawHullInstances()
337 void GrPathHardwareTessellator::draw(GrOpFlushState* flushState) const { in draw()
339 flushState->bindBuffers(nullptr, nullptr, fPatchBuffer); in draw()
340 flushState->draw(fPatchVertexCount, fBasePatchVertex); in draw()
341 if (flushState->caps().requiresManualFBBarrierAfterTessellatedStencilDraw()) { in draw()
342 flushState->gpu()->insertManualFramebufferBarrier(); // http://skbug.com/9739 in draw()