Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.h29 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()
[all …]
DSkRemoteGlyphCache.cpp226 static constexpr int kMaxIndex = kMaxGlyphID * (1u << GID::kSubPixelPosLen);
/external/skia/tests/
DSkGlyphBufferTest.cpp18 const int perUnit = 1u << (PG::kSubPixelPosLen + 2); in DEF_TEST()
80 const uint32_t kLogLargeDistance = 24 - PG::kSubPixelPosLen - 1; in DEF_TEST()