• Home
  • Raw
  • Download

Lines Matching refs:config8888

57 static bool config8888IsPremul(SkCanvas::Config8888 config8888) {  in config8888IsPremul()  argument
58 switch (config8888) { in config8888IsPremul()
74 static uint32_t packConfig8888(SkCanvas::Config8888 config8888, in packConfig8888() argument
78 switch (config8888) { in packConfig8888()
104 static uint32_t getBitmapColor(int x, int y, int w, SkCanvas::Config8888 config8888) { in getBitmapColor() argument
127 if (config8888IsPremul(config8888)) { in getBitmapColor()
132 return packConfig8888(config8888, a, r, g , b); in getBitmapColor()
159 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888, in convertConfig8888ToPMColor() argument
165 switch (config8888) { in convertConfig8888ToPMColor()
227 SkCanvas::Config8888 config8888) { in checkWrite() argument
251 uint32_t bmpColor8888 = getBitmapColor(bx, by, bitmap.width(), config8888); in checkWrite()
253 SkPMColor bmpPMColor = convertConfig8888ToPMColor(config8888, bmpColor8888, &mul); in checkWrite()
342 SkCanvas::Config8888 config8888, in setupBitmap() argument
355 *pixel = getBitmapColor(x, y, w, config8888); in setupBitmap()
452 SkCanvas::Config8888 config8888 = gSrcConfigs[c]; in WritePixelsTest() local
454 …REPORTER_ASSERT(reporter, setupBitmap(&bmp, config8888, rect.width(), rect.height(), SkToBool(tigh… in WritePixelsTest()
456 canvas.writePixels(bmp, rect.fLeft, rect.fTop, config8888); in WritePixelsTest()
458 … REPORTER_ASSERT(reporter, checkWrite(reporter, &canvas, bmp, rect.fLeft, rect.fTop, config8888)); in WritePixelsTest()