Lines Matching refs:fDrawIndirectBuffer
123 SkASSERT(!fDrawIndirectBuffer); in onBeginFlush()
125 fDrawIndirectBuffer.reset( in onBeginFlush()
130 if (!fDrawIndirectBuffer) { in onBeginFlush()
141 if (fDrawIndirectBuffer) { in onBeginFlush()
142 glMappedCmds = static_cast<GrGLDrawElementsIndirectCommand*>(fDrawIndirectBuffer->map()); in onBeginFlush()
147 SkASSERT(!baseInstanceSupport || fDrawIndirectBuffer); in onBeginFlush()
175 if (fDrawIndirectBuffer) { in onBeginFlush()
196 if (fDrawIndirectBuffer) { in onBeginFlush()
197 fDrawIndirectBuffer->unmap(); in onBeginFlush()
206 if (!fDrawIndirectBuffer && !fGLDrawCmdsInfo) { in onDraw()
213 if (fDrawIndirectBuffer) { in onDraw()
214 this->glGpu()->bindBuffer(kDrawIndirect_GrBufferType, fDrawIndirectBuffer.get()); in onDraw()
235 SkASSERT(fDrawIndirectBuffer); in onDraw()
248 if (fDrawIndirectBuffer) { in onDraw()
311 fDrawIndirectBuffer.reset(); in onEndFlush()
322 fDrawIndirectBuffer.reset(); in onResetGpuResources()