Lines Matching refs:srcRB
510 size_t srcRB = isBW ? (biWidth >> 3) : (fWidth << 2); in draw() local
511 size_t size = fHeight * srcRB; in draw()
525 *srcRBPtr = srcRB; in draw()
527 return (const char*)fBits + (fHeight - glyph.fHeight) * srcRB; in draw()
1129 static bool is_rgb_really_bw(const SkGdiRGB* src, int width, int height, size_t srcRB) { in is_rgb_really_bw() argument
1136 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw()
1143 static void rgb_to_bw(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_bw() argument
1154 srcRB -= byteCount * 8 * sizeof(SkGdiRGB); in rgb_to_bw()
1181 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw()
1195 static void rgb_to_a8(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, in rgb_to_a8() argument
1208 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_a8()
1214 static void rgb_to_lcd16(const SkGdiRGB* SK_RESTRICT src, size_t srcRB, const SkGlyph& glyph, in rgb_to_lcd16() argument
1224 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_lcd16()
1235 size_t srcRB; in generateImage() local
1236 const void* bits = fOffscreen.draw(glyph, isBW, &srcRB); in generateImage()
1239 bits = fOffscreen.draw(glyph, isBW, &srcRB); in generateImage()
1268 addr = SkTAddOffset<SkGdiRGB>(addr, srcRB); in generateImage()
1279 src += srcRB; in generateImage()
1296 rgb_to_a8<true>(src, srcRB, glyph, fPreBlend.fG); in generateImage()
1298 rgb_to_a8<false>(src, srcRB, glyph, fPreBlend.fG); in generateImage()
1302 if (is_rgb_really_bw(src, width, glyph.fHeight, srcRB)) { in generateImage()
1303 rgb_to_bw(src, srcRB, glyph); in generateImage()
1308 rgb_to_lcd16<true>(src, srcRB, glyph, in generateImage()
1311 rgb_to_lcd16<false>(src, srcRB, glyph, in generateImage()