/external/skia/gm/ |
D | clear_swizzle.cpp | 57 auto offscreen = make_offscreen({2*kSize, 2*kSize}); variable 59 offscreen->clear(c.rect, c.color); 61 rtCtx->blitTexture(offscreen->readSurfaceView(), 67 offscreen = make_offscreen(c.rect.size()); 68 offscreen->clear(SkIRect::MakeSize(c.rect.size()), c.color); 69 rtCtx->blitTexture(offscreen->readSurfaceView(), 70 SkIRect::MakeSize(offscreen->dimensions()),
|
D | colorspace.cpp | 95 sk_sp<SkSurface> offscreen = in draw_colorspace_gm() local 97 if (!offscreen) { in draw_colorspace_gm() 102 offscreen->getCanvas()->drawImage(img, 0,0); in draw_colorspace_gm() 103 canvas->drawImage(offscreen->makeImageSnapshot(), 0,0); in draw_colorspace_gm()
|
D | overdrawcanvas.cpp | 35 sk_sp<SkSurface> offscreen = SkSurface::MakeRaster(offscreenInfo); in DEF_SIMPLE_GM_BG() local 36 auto c = offscreen->getCanvas(); in DEF_SIMPLE_GM_BG() 50 sk_sp<SkImage> counts = offscreen->makeImageSnapshot(); in DEF_SIMPLE_GM_BG()
|
D | copy_to_4444.cpp | 55 SkCanvas offscreen(bitmap); 56 offscreen.clear(SK_ColorRED); 58 offscreen.clear(SK_ColorBLUE);
|
/external/skia/docs/examples/ |
D | Canvas_destructor.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 13 offscreen.drawString("ABC", 20, 160, font, paint); in draw() 15 offscreen.saveLayerAlpha(&layerBounds, 128); in draw() 16 offscreen.clear(SK_ColorWHITE); in draw() 17 offscreen.drawString("DEF", 20, 160, font, paint); in draw()
|
D | Device_Text.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 19 offscreen.drawString(",,,,", 0, 4, paint); 20 offscreen.translate(0, 7);
|
D | Bitmap_extractAlpha.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | no_gpu_blur.cpp | 8 SkCanvas offscreen(bitmap); in draw() local 9 offscreen.clear(0); in draw() 15 offscreen.drawCircle(50, 50, 39, paint); in draw() 16 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_3.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(0); in draw() 16 offscreen.drawCircle(50, 50, 39, paint); in draw() 17 offscreen.flush(); in draw()
|
D | Bitmap_extractAlpha_2.cpp | 13 SkCanvas offscreen(bitmap); in draw() local 14 offscreen.clear(0); in draw() 20 offscreen.drawCircle(50, 50, 39, paint); in draw() 21 offscreen.flush(); in draw()
|
D | ImageInfo_MakeN32.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 13 offscreen.drawString("g", 0, 10, paint);
|
D | ImageInfo_MakeN32Premul_2.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB9", 1, 15, paint);
|
D | ImageInfo_MakeN32Premul.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 15 offscreen.drawString("\xF0\x9F\x98\xB8", 1, 15, paint);
|
D | Bitmap_tryAllocPixels_2.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.scale(.25f, .5f); in draw() 12 offscreen.drawImage(source.asImage(), -y, -y); in draw()
|
D | Bitmap_tryAllocPixels.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.scale(.5f, .5f); in draw() 13 offscreen.drawImage(source.asImage(), -x, 0); in draw()
|
D | Bitmap_allocPixels.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.scale(.5f, .5f); in draw() 13 offscreen.drawImage(source.asImage(), 0, -y); in draw()
|
D | Paint_setImageFilter.cpp | 10 SkCanvas offscreen(bitmap); 15 offscreen.clear(0); 16 offscreen.drawString("e", 20, 70, paint);
|
D | setimagefilter.cpp | 8 SkCanvas offscreen(bitmap); in draw() local 13 offscreen.clear(0); in draw() 14 offscreen.drawString("e", 20, 70, font, paint); in draw()
|
D | f16to8888busted.cpp | 11 sk_sp<SkSurface> offscreen = SkSurface::MakeRaster(info); in draw() local 13 offscreen->getCanvas()->drawRect(SkRect::MakeXYWH(25, 25, 50, 50), paint); in draw() 16 sk_sp<SkImage> img = offscreen->makeImageSnapshot(); in draw()
|
D | Bitmap_peekPixels.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(SK_ColorWHITE); in draw() 13 offscreen.drawString("?", 0, 10, font, paint); in draw()
|
D | Image_peekPixels.cpp | 10 SkCanvas offscreen(bitmap); 11 offscreen.clear(SK_ColorWHITE); 13 offscreen.drawString("%", 1, 10, paint);
|
D | Bitmap_pixmap.cpp | 9 SkCanvas offscreen(bitmap); in draw() local 10 offscreen.clear(SK_ColorWHITE); in draw() 14 offscreen.drawString("&", 0, 10, font, paint); in draw()
|
D | gpu8888diff.cpp | 11 SkCanvas offscreen(bitmap); in draw() local 12 offscreen.clear(SK_ColorGREEN); in draw() 14 offscreen.clear(SK_ColorGRAY); in draw()
|
D | gpu4444diff.cpp | 10 SkCanvas offscreen(bitmap); in draw() local 11 offscreen.clear(SK_ColorGREEN); in draw() 13 offscreen.clear(SK_ColorGRAY); in draw()
|
/external/skqp/gm/ |
D | copyTo4444.cpp | 62 SkCanvas offscreen(bitmap); 63 offscreen.clear(SK_ColorRED); 65 offscreen.clear(SK_ColorBLUE);
|