Lines Matching refs:GrGpuBuffer
83 static_cast<GrGpuBuffer*>(block.fBuffer.get())->unmap(); \
98 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in deleteBlocks()
128 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in unmap()
146 if (!buffer->isCpuBuffer() && !static_cast<const GrGpuBuffer*>(buffer)->isMapped()) { in validate()
151 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate()
156 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate()
160 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->wasDestroyed()) { in validate()
312 if (!buffer->isCpuBuffer() && static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in putBack()
346 if (static_cast<GrGpuBuffer*>(buffer)->isMapped()) { in createBlock()
366 fBufferPtr = static_cast<GrGpuBuffer*>(block.fBuffer.get())->map(); in createBlock()
382 !static_cast<GrGpuBuffer*>(fBlocks.back().fBuffer.get())->isMapped()); in destroyBlock()
404 GrGpuBuffer* buffer = static_cast<GrGpuBuffer*>(block.fBuffer.get()); in flushCpuData()