Lines Matching refs:CGRGBPixel
183 typedef uint32_t CGRGBPixel;
185 static unsigned CGRGBPixel_getAlpha(CGRGBPixel pixel) {
325 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
331 kSize = 32 * 32 * sizeof(CGRGBPixel)
714 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
739 size_t rowBytes = fSize.fWidth * sizeof(CGRGBPixel);
748 rowBytes = fSize.fWidth * sizeof(CGRGBPixel);
784 CGRGBPixel* image = (CGRGBPixel*)fImageStorage.get();
1051 static void cgpixels_to_bits(uint8_t dst[], const CGRGBPixel src[], int count) {
1065 static inline uint8_t rgb_to_a8(CGRGBPixel rgb, const uint8_t* table8) {
1072 static void rgb_to_a8(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes,
1082 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1088 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb, const uint8_t* tableR,
1097 static void rgb_to_lcd16(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph,
1107 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1113 static inline uint32_t rgb_to_lcd32(CGRGBPixel rgb, const uint8_t* tableR,
1122 static void rgb_to_lcd32(const CGRGBPixel* SK_RESTRICT cgPixels, size_t cgRowBytes, const SkGlyph& glyph,
1131 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1148 CGRGBPixel* cgPixels = fOffscreen.getCG(*this, glyph, cgGlyph, &cgRowBytes, generateA8FromLCD);
1167 CGRGBPixel* addr = cgPixels;
1212 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);