Lines Matching refs:kSubPixelPosLen
32 kSubPixelPosLen = 2u, enumerator
36 kGlyphID = kSubPixelPosLen,
37 kSubPixelY = kGlyphIDLen + kSubPixelPosLen,
38 kEndData = kGlyphIDLen + 2 * kSubPixelPosLen,
42 kSubPixelPosMask = (1u << kSubPixelPosLen) - 1,
47 kFixedPointSubPixelPosBits = kFixedPointBinaryPointPos - kSubPixelPosLen,
50 static constexpr SkScalar kSubpixelRound = 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1));
109 SkASSERT(x < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
110 SkASSERT(y < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
138 const XY magic = {1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
139 1.f * (1u << (kSubPixelPosLen + kSubPixelY))}; in PackIDSkPoint()
144 const float magicX = 1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
145 magicY = 1.f * (1u << (kSubPixelPosLen + kSubPixelY)); in PackIDSkPoint()
157 SkASSERT(sub[0] / (1u << kSubPixelX) < (1u << kSubPixelPosLen)); in PackIDSkPoint()
158 SkASSERT(sub[1] / (1u << kSubPixelY) < (1u << kSubPixelPosLen)); in PackIDSkPoint()