Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMipmapAccessor.cpp64 int levelNum = resolvedMode == SkMipmapMode::kNearest ? sk_float_round2int(level) in SkMipmapAccessor() local
66 float lowerWeight = level - levelNum; // fract(level) in SkMipmapAccessor()
67 SkASSERT(levelNum >= 0); in SkMipmapAccessor()
69 if (levelNum == 0) { in SkMipmapAccessor()
73 if (levelNum > 0 || (resolvedMode == SkMipmapMode::kLinear && lowerWeight > 0)) { in SkMipmapAccessor()
82 if (levelNum > 0) { in SkMipmapAccessor()
83 if (fCurrMip->getLevel(levelNum - 1, &levelRec)) { in SkMipmapAccessor()
92 if (fCurrMip->getLevel(levelNum, &levelRec)) { in SkMipmapAccessor()