Lines Matching refs:srcRB
518 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2);
519 size_t size = fHeight * srcRB;
533 *srcRBPtr = srcRB;
535 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB;
1189 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) {
1196 src = SkTAddOffset<const SkGdiRGB>(src, srcRB);
1203 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB,
1212 // adjust srcRB to skip the values in our byteCount loop,
1214 srcRB -= byteCount * 8 * sizeof(SkGdiRGB);
1241 src = SkTAddOffset<const SkGdiRGB>(src, srcRB);
1255 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB,
1268 src = SkTAddOffset<const SkGdiRGB>(src, srcRB);
1274 static void rgb_to_lcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph,
1284 src = SkTAddOffset<const SkGdiRGB>(src, srcRB);
1290 static void rgb_to_lcd32(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph,
1300 src = SkTAddOffset<const SkGdiRGB>(src, srcRB);
1316 size_t srcRB;
1317 const void* bits = fOffscreen.draw(glyph, isBW, &srcRB);
1320 bits = fOffscreen.draw(glyph, isBW, &srcRB);
1349 addr = SkTAddOffset<SkGdiRGB>(addr, srcRB);
1360 src += srcRB;
1377 rgb_to_a8<true>(src, srcRB, glyph, fPreBlend.fG);
1379 rgb_to_a8<false>(src, srcRB, glyph, fPreBlend.fG);
1383 if (is_rgb_really_bw(src, width, glyph.fHeight, srcRB)) {
1384 rgb_to_bw(src, srcRB, glyph);
1389 rgb_to_lcd16<true>(src, srcRB, glyph,
1392 rgb_to_lcd16<false>(src, srcRB, glyph,
1398 rgb_to_lcd32<true>(src, srcRB, glyph,
1401 rgb_to_lcd32<false>(src, srcRB, glyph,