Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.h46 kSubPixelPosLen = 2u, enumerator
50 kGlyphID = kSubPixelPosLen,
51 kSubPixelY = kGlyphIDLen + kSubPixelPosLen,
52 kEndData = kGlyphIDLen + 2 * kSubPixelPosLen,
56 kSubPixelPosMask = (1u << kSubPixelPosLen) - 1,
61 kFixedPointSubPixelPosBits = kFixedPointBinaryPointPos - kSubPixelPosLen,
65 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1));
137 SkASSERT(x < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
138 SkASSERT(y < (1u << kSubPixelPosLen)); in PackIDSubXSubY()
166 const XY magic = {1.f * (1u << (kSubPixelPosLen + kSubPixelX)), in PackIDSkPoint()
[all …]
/external/skia/tests/
DSkGlyphBufferTest.cpp25 const int perUnit = 1u << (PG::kSubPixelPosLen + 2); in DEF_TEST()
87 const uint32_t kLogLargeDistance = 24 - PG::kSubPixelPosLen - 1; in DEF_TEST()