Searched refs:fallbackSize (Results 1 – 5 of 5) sorted by relevance
182 size_t fallbackSize, in makeSpaceAtLeast() argument207 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()208 SkASSERT(GrSizeAlignDown(fallbackSize, alignment) == fallbackSize); in makeSpaceAtLeast()209 size = fallbackSize; in makeSpaceAtLeast()231 if (!this->createBlock(fallbackSize)) { in makeSpaceAtLeast()239 *actualSize = fallbackSize; in makeSpaceAtLeast()240 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()241 fBytesInUse += fallbackSize; in makeSpaceAtLeast()
113 size_t fallbackSize,
234 size_t fallbackSize, in makeSpaceAtLeast() argument259 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()260 SkASSERT(GrSizeAlignDown(fallbackSize, alignment) == fallbackSize); in makeSpaceAtLeast()261 size = fallbackSize; in makeSpaceAtLeast()283 if (!this->createBlock(fallbackSize)) { in makeSpaceAtLeast()291 *actualSize = fallbackSize; in makeSpaceAtLeast()292 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()293 fBytesInUse += fallbackSize; in makeSpaceAtLeast()
136 size_t fallbackSize,
288 const size_t fallbackSize = (sizeof(void*) == sizeof(deUint64)) ? 2048*MiB : 1024*MiB; in getTotalSystemMemory() local291 print("WARNING: Using fall-back size of %.2f MiB\n", double(fallbackSize) / double(MiB)); in getTotalSystemMemory()293 return fallbackSize; in getTotalSystemMemory()