Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkMipmapAccessor.cpp31 SkMipmapMode resolvedMode = requestedMode; in SkMipmapAccessor() local
47 resolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor()
51 resolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor()
64 int levelNum = resolvedMode == SkMipmapMode::kNearest ? sk_float_round2int(level) in SkMipmapAccessor()
73 if (levelNum > 0 || (resolvedMode == SkMipmapMode::kLinear && lowerWeight > 0)) { in SkMipmapAccessor()
77 resolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor()
81 SkASSERT(resolvedMode != SkMipmapMode::kNone); in SkMipmapAccessor()
87 resolvedMode = SkMipmapMode::kNone; in SkMipmapAccessor()
91 if (resolvedMode == SkMipmapMode::kLinear) { in SkMipmapAccessor()
97 resolvedMode = SkMipmapMode::kNearest; in SkMipmapAccessor()