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