D | makecolorspace.cpp | 35 sk_sp<SkImage> orig, sk_sp<SkColorSpace> colorSpace, GrDirectContext* direct) { in make_color_space() argument 36 sk_sp<SkImage> xform = orig->makeColorSpace(colorSpace, direct); in make_color_space() 59 auto direct = GrAsDirectContext(canvas->recordingContext()); variable 61 canvas->drawImage(make_color_space(opaqueImage, wideGamut, direct), 128.0f, 0.0f); 62 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear, direct), 256.0f, 0.0f); 64 canvas->drawImage(make_color_space(premulImage, wideGamut, direct), 128.0f, 128.0f); 65 canvas->drawImage(make_color_space(premulImage, wideGamutLinear, direct), 256.0f, 128.0f); 72 canvas->drawImage(make_color_space(opaqueImage, wideGamut, direct), 128.0f, 0.0f); 73 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear, direct), 256.0f, 0.0f); 75 canvas->drawImage(make_color_space(premulImage, wideGamut, direct), 128.0f, 128.0f); [all …]
|