Home | History | Annotate | Download | only in ports

Lines Matching refs:CGRGBPixel

148 typedef uint32_t CGRGBPixel;
150 static unsigned CGRGBPixel_getAlpha(CGRGBPixel pixel) {
276 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
281 kSize = 32 * 32 * sizeof(CGRGBPixel)
699 CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
723 size_t rowBytes = fSize.fWidth * sizeof(CGRGBPixel);
733 rowBytes = fSize.fWidth * sizeof(CGRGBPixel);
770 CGRGBPixel* image = (CGRGBPixel*)fImageStorage.get();
777 sk_memset_rect(image, erase, glyph.fWidth * sizeof(CGRGBPixel),
1103 static void invertGammaMask(bool isWhite, CGRGBPixel rgb[], int width,
1114 rgb = (CGRGBPixel*)((char*)rgb + rb);
1118 static void cgpixels_to_bits(uint8_t dst[], const CGRGBPixel src[], int count) {
1135 static CGRGBPixel lerpPixel(CGRGBPixel dst, CGRGBPixel src,
1150 static void lerpPixels(CGRGBPixel dst[], const CGRGBPixel src[], int width,
1169 src = (CGRGBPixel*)((char*)src + rowBytes);
1170 dst = (CGRGBPixel*)((char*)dst + rowBytes);
1196 static inline uint16_t rgb_to_lcd16(CGRGBPixel rgb) {
1204 static inline uint32_t rgb_to_lcd32(CGRGBPixel rgb) {
1255 CGRGBPixel* cgPixels;
1259 CGRGBPixel* wtPixels = NULL;
1260 CGRGBPixel* bkPixels = NULL;
1292 CGRGBPixel* cgPixels = fOffscreen.getCG(*this, glyph, fgColorIsWhite, cgGlyph,
1316 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1328 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1343 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);
1352 cgPixels = (CGRGBPixel*)((char*)cgPixels + cgRowBytes);