Home
last modified time | relevance | path

Searched refs:drawImage (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/third_party/flutter/skia/gm/
Dmakecolorspace.cpp61 canvas->drawImage(opaqueImage, 0.0f, 0.0f);
62 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f);
63 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f);
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);
72 canvas->drawImage(opaqueImage, 0.0f, 0.0f);
73 canvas->drawImage(make_color_space(opaqueImage, wideGamut), 128.0f, 0.0f);
74 canvas->drawImage(make_color_space(opaqueImage, wideGamutLinear), 256.0f, 0.0f);
75 canvas->drawImage(premulImage, 0.0f, 128.0f);
[all …]
Dcolormatrix.cpp101 canvas->drawImage(bmps[i], 0, 0, &paint); in onDraw()
105 canvas->drawImage(bmps[i], 80, 0, &paint); in onDraw()
109 canvas->drawImage(bmps[i], 160, 0, &paint); in onDraw()
113 canvas->drawImage(bmps[i], 240, 0, &paint); in onDraw()
117 canvas->drawImage(bmps[i], 0, 80, &paint); in onDraw()
121 canvas->drawImage(bmps[i], 80, 80, &paint); in onDraw()
125 canvas->drawImage(bmps[i], 160, 80, &paint); in onDraw()
129 canvas->drawImage(bmps[i], 240, 80, &paint); in onDraw()
133 canvas->drawImage(bmps[i], 0, 160, &paint); in onDraw()
137 canvas->drawImage(bmps[i], 80, 160, &paint); in onDraw()
[all …]
Dsrgb.cpp30 canvas->drawImage(img, 0, 0, nullptr);
31 canvas->drawImage(img, 256, 0, &p);
34 canvas->drawImage(img, 0, 256, &p);
36 canvas->drawImage(img, 256, 256, &p);
39 canvas->drawImage(img, 0, 512, &p);
41 canvas->drawImage(img, 256, 512, &p);
Dencode_alpha_jpeg.cpp72 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw()
73 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw()
80 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw()
81 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw()
89 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw()
90 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw()
97 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
98 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
Druntimecolorfilter.cpp48 canvas->drawImage(img, 0, 0, nullptr);
57 canvas->drawImage(img, 256, 0, &p);
67 canvas->drawImage(img, 512, 0, &p);
73 canvas->drawImage(img, 0, 0, nullptr);
82 canvas->drawImage(img, 256, 0, &p);
92 canvas->drawImage(img, 512, 0, &p);
124 canvas->drawImage(fImg, 0, 0, nullptr); in onDraw()
133 canvas->drawImage(fImg, 256, 0, &p); in onDraw()
/third_party/skia/gm/
Dmakecolorspace.cpp60 canvas->drawImage(opaqueImage, 0.0f, 0.0f);
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);
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);
71 canvas->drawImage(opaqueImage, 0.0f, 0.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);
74 canvas->drawImage(premulImage, 0.0f, 128.0f);
[all …]
Doverdrawcolorfilter.cpp53 canvas->drawImage(bitmap.asImage(), 0, 0, sampling, &paint); in onDraw()
55 canvas->drawImage(bitmap.asImage(), 0, 100, sampling, &paint); in onDraw()
57 canvas->drawImage(bitmap.asImage(), 0, 200, sampling, &paint); in onDraw()
59 canvas->drawImage(bitmap.asImage(), 0, 300, sampling, &paint); in onDraw()
61 canvas->drawImage(bitmap.asImage(), 100, 0, sampling, &paint); in onDraw()
63 canvas->drawImage(bitmap.asImage(), 100, 100, sampling, &paint); in onDraw()
65 canvas->drawImage(bitmap.asImage(), 100, 200, sampling, &paint); in onDraw()
Dsrgb.cpp31 canvas->drawImage(img, 0, 0);
32 canvas->drawImage(img, 256, 0, sampling, &p);
35 canvas->drawImage(img, 0, 256, sampling, &p);
37 canvas->drawImage(img, 256, 256, sampling, &p);
40 canvas->drawImage(img, 0, 512, sampling, &p);
42 canvas->drawImage(img, 256, 512, sampling, &p);
Dencode_alpha_jpeg.cpp72 canvas->drawImage(img0, 0.0f, 0.0f); in onDraw()
73 canvas->drawImage(img1, 0.0f, 100.0f); in onDraw()
80 canvas->drawImage(img0, 100.0f, 0.0f); in onDraw()
81 canvas->drawImage(img1, 100.0f, 100.0f); in onDraw()
89 canvas->drawImage(img0, 200.0f, 0.0f); in onDraw()
90 canvas->drawImage(img1, 200.0f, 100.0f); in onDraw()
97 canvas->drawImage(img0, 300.0f, 0.0f); in onDraw()
98 canvas->drawImage(img1, 300.0f, 100.0f); in onDraw()
Dbitmapimage.cpp59 legacyCanvas.drawImage(image, 0.0f, 0.0f); in onDraw()
61 legacyCanvas.drawImage(codecImage, 0.0f, 0.0f); in onDraw()
62 canvas->drawImage(legacyBMCanvas.asImage(), 0.0f, 0.0f); in onDraw()
70 srgbCanvas.drawImage(image, 0.0f, 0.0f); in onDraw()
72 srgbCanvas.drawImage(codecImage, 0.0f, 0.0f); in onDraw()
73 canvas->drawImage(srgbBMCanvas.asImage(), 0.0f, 0.0f); in onDraw()
Dcopy_to_4444.cpp36 canvas->drawImage(bm.asImage(), 0, 0); in onDraw()
40 canvas->drawImage(bm4444.asImage(), SkIntToScalar(bm.width()), 0); in onDraw()
57 canvas->drawImage(bitmap.asImage(), 0, 0);
59 canvas->drawImage(bitmap.asImage(), 1, 1);
67 canvas->drawImage(bitmap.asImage(), 2, 2);
71 canvas->drawImage(bitmap.asImage(), 3, 3);
Dbitmappremul.cpp56 SkCanvas{ bitmap }.drawImage(make_argb8888_gradient(), 0, 0, SkSamplingOptions(), &paint); in make_argb4444_gradient()
85 SkCanvas{ bitmap }.drawImage(make_argb8888_stripes(), 0, 0, SkSamplingOptions(), &paint); in make_argb4444_stripes()
108 canvas->drawImage(make_argb8888_gradient(), 0, 0); in onDraw()
109 canvas->drawImage(make_argb4444_gradient(), slideSize, 0); in onDraw()
110 canvas->drawImage(make_argb8888_stripes(), 0, slideSize); in onDraw()
111 canvas->drawImage(make_argb4444_stripes(), slideSize, slideSize); in onDraw()
/third_party/flutter/skia/docs/examples/
DImage_makeRasterImage.cpp8 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
15 canvas->drawImage(raster, 0, 0);
22 drawImage(image, "image");
24 drawImage(bitmapImage, "source");
26 drawImage(textureImage, "backEndTexture");
DImage_makeNonTextureImage.cpp8 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
15 canvas->drawImage(nonTexture, 0, 0);
22 drawImage(image, "image");
24 drawImage(bitmapImage, "source");
26 drawImage(textureImage, "backEndTexture");
DImage_isTextureBacked.cpp8 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
14 canvas->drawImage(image, 0, 0);
23 drawImage(image, "image");
25 drawImage(bitmapImage, "source");
27 drawImage(textureImage, "backEndTexture");
DImage_isLazyGenerated_b.cpp8 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
14 canvas->drawImage(image, 0, 0);
24 drawImage(image, "image");
26 drawImage(bitmapImage, "source");
28 drawImage(textureImage, "backEndTexture");
DImage_makeTextureImage.cpp8 auto drawImage = [=](sk_sp<SkImage> image, GrContext* context, const char* label) -> void {
15 canvas->drawImage(texture, 0, 0);
23 drawImage(image, context, "image");
25 drawImage(bitmapImage, context, "source");
27 drawImage(textureImage, context, "backEndTexture");
DImage_isValid.cpp8 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void {
14 canvas->drawImage(image, 0, 0);
27 drawImage(image, "image");
29 drawImage(bitmapImage, "source");
31 drawImage(textureImage, "backEndTexture");
/third_party/skia/docs/examples/
DImage_makeNonTextureImage.cpp12 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void { in draw() local
20 canvas->drawImage(nonTexture, 0, 0); in draw()
28 drawImage(image, "image"); in draw()
30 drawImage(bitmapImage, "source"); in draw()
32 drawImage(textureImage, "backEndTexture"); in draw()
DImage_makeRasterImage.cpp12 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void { in draw() local
20 canvas->drawImage(raster, 0, 0); in draw()
28 drawImage(image, "image"); in draw()
30 drawImage(bitmapImage, "source"); in draw()
32 drawImage(textureImage, "backEndTexture"); in draw()
DImage_isTextureBacked.cpp12 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void { in draw() local
19 canvas->drawImage(image, 0, 0); in draw()
29 drawImage(image, "image"); in draw()
31 drawImage(bitmapImage, "source"); in draw()
33 drawImage(textureImage, "backEndTexture"); in draw()
DImage_isLazyGenerated_b.cpp12 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void { in draw() local
19 canvas->drawImage(image, 0, 0); in draw()
30 drawImage(image, "image"); in draw()
32 drawImage(bitmapImage, "source"); in draw()
34 drawImage(textureImage, "backEndTexture"); in draw()
DImage_makeTextureImage.cpp12 auto drawImage = [=](sk_sp<SkImage> image, in draw() local
25 canvas->drawImage(texture, 0, 0); in draw()
35 drawImage(image, dContext, "image"); in draw()
37 drawImage(bitmapImage, dContext, "source"); in draw()
39 drawImage(textureImage, dContext, "backEndTexture"); in draw()
DImage_isValid.cpp12 auto drawImage = [=](sk_sp<SkImage> image, const char* label) -> void { in draw() local
19 canvas->drawImage(image, 0, 0); in draw()
36 drawImage(image, "image"); in draw()
38 drawImage(bitmapImage, "source"); in draw()
40 drawImage(textureImage, "backEndTexture"); in draw()
/third_party/skia/tests/
DPromiseImageTest.cpp160 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
170 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
171 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
178 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
182 canvas->drawImage(refImg, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
264 canvas->drawImage(image, 0, 0); in DEF_GPUTEST()
329 canvas->drawImage(image, 0, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
331 canvas->drawImage(image, 1, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
333 canvas->drawImage(image, 2, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
335 canvas->drawImage(image, 3, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]

12345678910>>...27