Lines Matching refs:cgPixels
1072 static void rgb_to_a8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes,
1080 dst[i] = rgb_to_a8<APPLY_PREBLEND>(cgPixels[i], table8);
1082 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1097 static void rgb_to_lcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph,
1105 dst[i] = rgb_to_lcd16<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB);
1107 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1122 static void rgb_to_lcd32(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph,
1129 dst[i] = rgb_to_lcd32<APPLY_PREBLEND>(cgPixels[i], tableR, tableG, tableB);
1131 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1148 CGRGBPixel* cgPixels = fOffscreen.getCG(*this, glyph, cgGlyph, &cgRowBytes, generateA8FromLCD);
1149 if (cgPixels == NULL) {
1167 CGRGBPixel* addr = cgPixels;
1183 rgb_to_lcd32<true>(cgPixels, cgRowBytes, glyph,
1186 rgb_to_lcd32<false>(cgPixels, cgRowBytes, glyph,
1192 rgb_to_lcd16<true>(cgPixels, cgRowBytes, glyph,
1195 rgb_to_lcd16<false>(cgPixels, cgRowBytes, glyph,
1201 rgb_to_a8<true>(cgPixels, cgRowBytes, glyph, fPreBlend.fG);
1203 rgb_to_a8<false>(cgPixels, cgRowBytes, glyph, fPreBlend.fG);
1211 cgpixels_to_bits(dst, cgPixels, width);
1212 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);