• Home
  • Raw
  • Download

Lines Matching full:back

49         GrBuffer* buffer = fBlocks.back().fBuffer.get();  in deleteBlocks()
51 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
80 BufferBlock& block = fBlocks.back(); in unmap()
85 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
97 if (!fBlocks.back().fBuffer->isMapped()) { in validate()
101 SkASSERT(fBlocks.empty() || !fBlocks.back().fBuffer->isMapped()); in validate()
139 BufferBlock& back = fBlocks.back(); in makeSpace() local
140 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace()
147 if (alignedSize <= back.fBytesFree) { in makeSpace()
151 *buffer = back.fBuffer; in makeSpace()
152 back.fBytesFree -= alignedSize; in makeSpace()
173 BufferBlock& back = fBlocks.back(); in makeSpace() local
174 *buffer = back.fBuffer; in makeSpace()
175 back.fBytesFree -= size; in makeSpace()
194 BufferBlock& back = fBlocks.back(); in makeSpaceAtLeast() local
195 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpaceAtLeast()
197 if ((minSize + pad) <= back.fBytesFree) { in makeSpaceAtLeast()
201 back.fBytesFree -= pad; in makeSpaceAtLeast()
207 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()
211 size = GrSizeAlignDown(back.fBytesFree, alignment); in makeSpaceAtLeast()
214 *buffer = back.fBuffer; in makeSpaceAtLeast()
216 back.fBytesFree -= size; in makeSpaceAtLeast()
237 BufferBlock& back = fBlocks.back(); in makeSpaceAtLeast() local
238 *buffer = back.fBuffer; in makeSpaceAtLeast()
240 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()
250 // caller shouldn't try to put back more than they've taken in putBack()
252 BufferBlock& block = fBlocks.back(); in putBack()
324 SkASSERT(!fBlocks.back().fBuffer->isMapped()); in destroyBlock()