Home | History | Annotate | Download | only in core

Lines Matching defs:subpixelBits

1617     const unsigned subpixelBits = paint.isAntiAlias() ? kAntiAliasSubpixelBits : 0;
1625 if (!subpixelBits && !(mat.getType() & ~SkMatrix::kTranslate_Mask)) {
1647 if (subpixelBits) {
1648 isrc.fLeft = SkLeftShift(isrc.fLeft, subpixelBits);
1649 isrc.fTop = SkLeftShift(isrc.fTop, subpixelBits);
1650 isrc.fRight = SkLeftShift(isrc.fRight, subpixelBits);
1651 isrc.fBottom = SkLeftShift(isrc.fBottom, subpixelBits);
1653 const float scale = 1 << subpixelBits;