Home
last modified time | relevance | path

Searched refs:kMaxN (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrBlockAllocator.cpp201 static constexpr int kMaxN = (1 << 23) - 1; in addBlock() local
202 static_assert(2 * kMaxN <= std::numeric_limits<int32_t>::max()); // Growth policy won't overflow in addBlock()
233 fN0 = std::min(kMaxN, nextN0); in addBlock()
234 fN1 = std::min(kMaxN, nextN1); in addBlock()
DGrSubRunAllocator.h78 constexpr int kMaxN = kMaxByteSize / sizeof(T); variable
79 SkASSERT_RELEASE(0 <= n && n < kMaxN);