Searched refs:premulImage (Results 1 – 4 of 4) sorted by relevance
/external/skia/gm/ |
D | makecolorspace.cpp | 58 sk_sp<SkImage> premulImage = GetResourceAsImage("images/color_wheel.png"); in onDraw() local 59 if (!opaqueImage || !premulImage) { in onDraw() 66 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw() 67 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw() 68 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw() 73 premulImage = make_raster_image("images/color_wheel.png"); in onDraw() 77 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw() 78 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw() 79 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw()
|
D | encode-platform.cpp | 105 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw() local 109 canvas->drawImage(premulImage.get(), 0.0f, 256.0f); in onDraw()
|
/external/skqp/gm/ |
D | makecolorspace.cpp | 58 sk_sp<SkImage> premulImage = GetResourceAsImage("images/color_wheel.png"); in onDraw() local 59 if (!opaqueImage || !premulImage) { in onDraw() 65 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw() 66 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw() 67 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw() 72 premulImage = make_raster_image("images/color_wheel.png"); in onDraw() 76 canvas->drawImage(premulImage, 0.0f, 128.0f); in onDraw() 77 canvas->drawImage(make_color_space(premulImage, wideGamut), 128.0f, 128.0f); in onDraw() 78 canvas->drawImage(make_color_space(premulImage, wideGamutLinear), 256.0f, 128.0f); in onDraw()
|
D | encode-platform.cpp | 101 auto premulImage = SkImage::MakeFromEncoded(encode_data(type, premulBm)); in onDraw() local 105 canvas->drawImage(premulImage.get(), 0.0f, 256.0f); in onDraw()
|