Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkMipmapAccessor.cpp61 int levelNum = sk_float_floor2int(level); in SkMipmapAccessor() local
62 float lowerWeight = level - levelNum; // fract(level) in SkMipmapAccessor()
63 SkASSERT(levelNum >= 0); in SkMipmapAccessor()
65 if (levelNum == 0) { in SkMipmapAccessor()
69 if (levelNum > 0 || (fResolvedMode == SkMipmapMode::kLinear && lowerWeight > 0)) { in SkMipmapAccessor()
78 if (levelNum > 0) { in SkMipmapAccessor()
79 if (fCurrMip->getLevel(levelNum - 1, &levelRec)) { in SkMipmapAccessor()
88 if (fCurrMip->getLevel(levelNum, &levelRec)) { in SkMipmapAccessor()