• Home
  • Raw
  • Download

Lines Matching full:back

97         GrBuffer* buffer = fBlocks.back().fBuffer.get();  in deleteBlocks()
99 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
125 BufferBlock& block = fBlocks.back(); in unmap()
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate()
150 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate()
191 BufferBlock& back = fBlocks.back(); in makeSpace() local
192 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace()
199 if (alignedSize <= back.fBytesFree) { in makeSpace()
203 *buffer = back.fBuffer; in makeSpace()
204 back.fBytesFree -= alignedSize; in makeSpace()
225 BufferBlock& back = fBlocks.back(); in makeSpace() local
226 *buffer = back.fBuffer; in makeSpace()
227 back.fBytesFree -= size; in makeSpace()
246 BufferBlock& back = fBlocks.back(); in makeSpaceAtLeast() local
247 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpaceAtLeast()
249 if ((minSize + pad) <= back.fBytesFree) { in makeSpaceAtLeast()
253 back.fBytesFree -= pad; in makeSpaceAtLeast()
259 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()
263 size = GrSizeAlignDown(back.fBytesFree, alignment); in makeSpaceAtLeast()
266 *buffer = back.fBuffer; in makeSpaceAtLeast()
268 back.fBytesFree -= size; in makeSpaceAtLeast()
289 BufferBlock& back = fBlocks.back(); in makeSpaceAtLeast() local
290 *buffer = back.fBuffer; in makeSpaceAtLeast()
292 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()
302 // caller shouldn't try to put back more than they've taken in putBack()
304 BufferBlock& block = fBlocks.back(); in putBack()
381 SkASSERT(fBlocks.back().fBuffer->isCpuBuffer() || in destroyBlock()
382 !static_cast<GrGpuBuffer*>(fBlocks.back().fBuffer.get())->isMapped()); in destroyBlock()