Searched refs:premulImage (Results 1 – 5 of 5) sorted by relevance
/third_party/flutter/skia/gm/ |
D | makecolorspace.cpp | 56 sk_sp<SkImage> premulImage = GetResourceAsImage("images/color_wheel.png"); variable 57 if (!opaqueImage || !premulImage) { 64 canvas->drawImage(premulImage, 0.0f, 128.0f); 65 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); 66 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); 71 premulImage = make_raster_image("images/color_wheel.png"); 75 canvas->drawImage(premulImage, 0.0f, 128.0f); 76 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); 77 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f);
|
D | encode_platform.cpp | 117 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw() local 121 canvas->drawImage(premulImage.get(), 0.0f, 256.0f); in onDraw()
|
/third_party/skia/gm/ |
D | makecolorspace.cpp | 54 sk_sp<SkImage> premulImage = GetResourceAsImage("images/color_wheel.png"); variable 55 if (!opaqueImage || !premulImage) { 63 canvas->drawImage(premulImage, 0.0f, 128.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); 70 premulImage = make_raster_image("images/color_wheel.png"); 74 canvas->drawImage(premulImage, 0.0f, 128.0f); 75 canvas->drawImage(make_color_space(premulImage, wideGamut, direct), 128.0f, 128.0f); 76 canvas->drawImage(make_color_space(premulImage, wideGamutLinear, direct), 256.0f, 128.0f);
|
D | encode_platform.cpp | 132 auto premulImage = SkImage::MakeFromEncoded(encode_data(fmt, premulBm, q)); in onDraw() local 136 canvas->drawImage(premulImage.get(), 0.0f, 256.0f); in onDraw()
|
/third_party/skia/docs/examples/ |
D | UnpremulGPU.cpp | 15 sk_sp<SkImage> premulImage = premulBitmap.asImage(); in draw() local 29 paint.setShader(premulImage->makeShader(tile, tile, SkSamplingOptions())); in draw()
|