Home | History | Annotate | Download | only in tests

Lines Matching refs:SkCanvas

10 #include "SkCanvas.h"
62 static SkPMColor convertConfig8888ToPMColor(SkCanvas::Config8888 config8888,
69 case SkCanvas::kNative_Premul_Config8888:
71 case SkCanvas::kNative_Unpremul_Config8888:
78 case SkCanvas::kBGRA_Unpremul_Config8888:
80 case SkCanvas::kBGRA_Premul_Config8888:
86 case SkCanvas::kRGBA_Unpremul_Config8888:
88 case SkCanvas::kRGBA_Premul_Config8888:
106 static void fillCanvas(SkCanvas* canvas) {
172 SkCanvas::Config8888 config8888) {
339 SkCanvas canvas(device);
342 static const SkCanvas::Config8888 gReadConfigs[] = {
343 SkCanvas::kNative_Premul_Config8888,
344 SkCanvas::kNative_Unpremul_Config8888,
346 SkCanvas::kBGRA_Premul_Config8888,
347 SkCanvas::kBGRA_Unpremul_Config8888,
349 SkCanvas::kRGBA_Premul_Config8888,
350 SkCanvas::kRGBA_Unpremul_Config8888,
358 SkCanvas::Config8888 config8888 = gReadConfigs[c];
400 SkCanvas::kNative_Premul_Config8888);