Lines Matching refs:kSubPixelPosLen
29 kSubPixelPosLen = 2u, enumerator
33 kGlyphID = kSubPixelPosLen,
34 kSubPixelY = kGlyphIDLen + kSubPixelPosLen,
35 kEndData = kGlyphIDLen + 2 * kSubPixelPosLen,
39 kSubPixelPosMask = (1u << kSubPixelPosLen) - 1,
44 kFixedPointSubPixelPosBits = kFixedPointBinaryPointPos - kSubPixelPosLen,
47 static constexpr SkScalar kSubpixelRound = 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1));
105 SkASSERT(x < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
106 SkASSERT(y < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
134 const XY magic = {1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
135 1.f * (1u << (kSubPixelPosLen + kSubPixelY))}; in PackIDSkPoint()
140 const float magicX = 1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
141 magicY = 1.f * (1u << (kSubPixelPosLen + kSubPixelY)); in PackIDSkPoint()
153 SkASSERT(sub[0] / (1u << kSubPixelX) < (1u << kSubPixelPosLen)); in PackIDSkPoint()
154 SkASSERT(sub[1] / (1u << kSubPixelY) < (1u << kSubPixelPosLen)); in PackIDSkPoint()