Lines Matching refs:fInstanceBuffer
113 SkASSERT(!fInstanceBuffer); in onBeginFlush()
114 fInstanceBuffer.reset( in onBeginFlush()
119 if (!fInstanceBuffer) { in onBeginFlush()
135 Instance* glMappedInstances = static_cast<Instance*>(fInstanceBuffer->map()); in onBeginFlush()
201 fInstanceBuffer->unmap(); in onBeginFlush()
269 SkASSERT(fInstanceBuffer); in flushInstanceAttribs()
270 if (fInstanceAttribsBufferUniqueId != fInstanceBuffer->uniqueID() || in flushInstanceAttribs()
274 this->glGpu()->bindBuffer(kVertex_GrBufferType, fInstanceBuffer.get()); in flushInstanceAttribs()
304 fInstanceAttribsBufferUniqueId = fInstanceBuffer->uniqueID(); in flushInstanceAttribs()
310 fInstanceBuffer.reset(); in onEndFlush()
321 fInstanceBuffer.reset(); in onResetGpuResources()