Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.h32 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()
[all …]
DSkRemoteGlyphCache.cpp222 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()