Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBlockAllocator.cpp22 , fN0((policy == GrowthPolicy::kLinear || policy == GrowthPolicy::kExponential) ? 1 : 0) in GrBlockAllocator()
130 if (fN0 > 0 && (fN1 > 1 || gp == GrowthPolicy::kFibonacci)) { in releaseBlock()
133 fN1 = fN1 - fN0; in releaseBlock()
136 int temp = fN1 - fN0; // yields prior fN0 in releaseBlock()
138 fN0 = temp; in releaseBlock()
143 fN0 = fN1; in releaseBlock()
147 SkASSERT(fN1 >= 1 && fN0 >= 0); in releaseBlock()
186 fN0 = (gp == GrowthPolicy::kLinear || gp == GrowthPolicy::kExponential) ? 1 : 0; in reset()
223 int nextN1 = fN0 + fN1; in addBlock()
226 nextN0 = fN0; in addBlock()
[all …]
DGrBlockAllocator.h458 uint64_t fN0 : 23; // = 1 for linear/exp.; = 0 for fixed/fibonacci, initially variable