/external/skia/gm/ |
D | overdrawcolorfilter.cpp | 53 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()
|
D | copy_to_4444.cpp | 36 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);
|
D | bitmappremul.cpp | 47 return bitmap.asImage(); in make_argb8888_gradient() 57 return bitmap.asImage(); in make_argb4444_gradient() 76 return bitmap.asImage(); in make_argb8888_stripes() 86 return bitmap.asImage(); in make_argb4444_stripes() 133 return bmp.asImage(); in make_out_of_gamut_image()
|
D | bmpfilterqualityrepeat.cpp | 39 canvas.drawImage(colorBmp.asImage(), 0, 0); in onOnceBeforeDraw() 41 canvas.drawImage(colorBmp.asImage(), 20, 0); in onOnceBeforeDraw() 43 canvas.drawImage(colorBmp.asImage(), 0, 20); in onOnceBeforeDraw() 45 canvas.drawImage(colorBmp.asImage(), 20, 20); in onOnceBeforeDraw()
|
D | bitmapfilters.cpp | 82 fImg32 = bm32.asImage(); in onOnceBeforeDraw() 83 fImg4444 = bm4444.asImage(); in onOnceBeforeDraw() 84 fImg565 = bm565.asImage(); in onOnceBeforeDraw() 160 canvas->drawImage(fBitmap.asImage(), 10, 10, sampling, &paint); in onDraw() 162 canvas->drawImage(fAlpha.asImage(), 120, 10, sampling, &paint); in onDraw()
|
D | alpha_image.cpp | 45 auto image = make_alpha_image(96, 96).asImage(); 76 auto image = bm.asImage(); 120 offscreenCanvas.drawImage(maskBitmap.asImage(), 0, 0, SkSamplingOptions{}, &clearPaint); 123 canvas->drawImage(offscreenBitmap.asImage(), 0, 0);
|
/external/skia/docs/examples/ |
D | gpu8888diff.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 15 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw() 29 canvas->drawImage(bitmap.asImage(), 6, 6); in draw()
|
D | gpu4444diff.cpp | 12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 14 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw() 29 canvas->drawImage(bitmap.asImage(), 6, 6); in draw()
|
D | Bitmap_tryAllocPixels_3.cpp | 11 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 14 canvas->drawImage(bitmap.asImage(), 8, 0); in draw() 16 canvas->drawImage(bitmap.asImage(), 16, 0); in draw()
|
D | Bitmap_notifyPixelsChanged.cpp | 12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 14 canvas->drawImage(bitmap.asImage(), 2, 0); in draw() 17 canvas->drawImage(bitmap.asImage(), 4, 0); in draw()
|
D | Color_Type_RGB_888.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 22 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 25 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_RGB_101010.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 22 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 26 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_RGB_565.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_RGBA_8888.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_RGBA_1010102.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 26 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 30 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_ARGB_4444.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | Color_Type_BGRA_8888.cpp | 13 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 23 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 27 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | ImageInfo_MakeS32.cpp | 19 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 23 canvas->drawImage(bitmap.asImage(), 0, 48); in draw() 27 canvas->drawImage(noColorSpaceBitmap.asImage(), 0, 96); in draw()
|
D | Color_Type_RGBA_F16.cpp | 30 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 45 canvas->drawImage(bitmap.asImage(), 2, 2); in draw() 49 canvas->drawImage(bitmap.asImage(), 4, 4); in draw()
|
D | skbug_5648.cpp | 9 auto img0 = bitmap.asImage(); in draw() 10 auto img1 = bitmap.asImage(); in draw()
|
D | Bitmap_eraseARGB.cpp | 11 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 12 canvas->drawImage(bitmap.asImage(), .5f, .5f); in draw()
|
D | Bitmap_setPixels.cpp | 12 canvas->drawImage(bitmap.asImage(), 0, 0); in draw() 14 canvas->drawImage(bitmap.asImage(), 10, 0); in draw()
|
D | Bitmap_tryAllocPixels_2.cpp | 12 offscreen.drawImage(source.asImage(), -y, -y); in draw() 13 canvas->drawImage(bitmap.asImage(), y, y); in draw()
|
D | Bitmap_tryAllocPixels.cpp | 13 offscreen.drawImage(source.asImage(), -x, 0); in draw() 14 canvas->drawImage(bitmap.asImage(), x, 0); in draw()
|
/external/skia/tests/ |
D | ImageBitmapTest.cpp | 27 auto img = bm.asImage(); in DEF_TEST() 28 auto imgA = a.asImage(); in DEF_TEST() 29 auto imgB = b.asImage(); in DEF_TEST()
|