Home
last modified time | relevance | path

Searched refs:drawImageRect (Results 1 – 25 of 166) sorted by relevance

1234567

/external/skia/gm/
Dbitmaprect.cpp81 canvas->drawImageRect(image.get(), srcR, dstR, sampling, &paint, in onDraw()
84 canvas->drawImageRect(image.get(), SkRect::Make(src[i]), dstR, sampling, &paint, in onDraw()
155 canvas->drawImageRect(bitmap.asImage(), srcR, dstR, SkSamplingOptions(), in onDraw()
227 canvas->drawImageRect(fBigImage, srcR1, dstR1, sampling, &paint, in onDraw()
229 canvas->drawImageRect(fBigImage, srcR2, dstR2, sampling, &paint, in onDraw()
232 canvas->drawImageRect(fBigImage, SkRect::Make(srcR1.roundOut()), dstR1, sampling, in onDraw()
234 canvas->drawImageRect(fBigImage, SkRect::Make(srcR2.roundOut()), dstR2, sampling, in onDraw()
279 canvas->drawImageRect(fBM.asImage(), r, SkSamplingOptions()); in onDraw()
Ddrawbitmaprect.cpp111 canvas->drawImageRect(bm.asImage(), SkRect::Make(srcR), dstR, sampling, paint, in bitmapproc()
125 canvas->drawImageRect(subset.asImage(), dstR, sampling, paint); in bitmapsubsetproc()
131 canvas->drawImageRect(image, SkRect::Make(srcR), dstR, sampling, paint, in imageproc()
145 canvas->drawImageRect(subset, dstR, sampling, paint); in imagesubsetproc()
190 canvas->drawImageRect(fImage, SkRect::MakeIWH(gSize, gSize), SkSamplingOptions(), &paint); in onDraw()
Dbitmaptiled.cpp53 canvas->drawImageRect(bmp.asImage(), in draw_tile_bitmap_with_fractional_offset()
59 canvas->drawImageRect(bmp.asImage(), in draw_tile_bitmap_with_fractional_offset()
Dducky_yuv_blend.cpp63 canvas->drawImageRect(duckyBG, kDstRect, sampling, nullptr);
66 canvas->drawImageRect(fg, kDstRect, sampling, &paint);
Dmipmap.cpp57 canvas->drawImageRect(img.get(), dst, samplings[i], nullptr);
88 canvas->drawImageRect(img, SkRect::Make(dst), sampling, nullptr); in show_mips()
137 canvas->drawImageRect(img, SkRect::Make(dst), sampling, nullptr); in show_mips_only()
Dimagemasksubset.cpp85 canvas->drawImageRect(image, SkRect::Make(kSubset), kDest, SkSamplingOptions(),
89 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0),
Dperspimages.cpp98 canvas->drawImageRect(img, src, dst, sampling, &paint, in onDraw()
102 canvas->drawImageRect(img, src, dst, sampling, &paint, in onDraw()
Dverylargebitmap.cpp75 canvas->drawImageRect(image, subset, dstRect, SkSamplingOptions(), nullptr, in show_image()
80 canvas->drawImageRect(image, dstRect, SkSamplingOptions(), nullptr); in show_image()
/external/skia/samplecode/
DSampleChineseFling.cpp144 canvas->drawImageRect(image, in onDrawContent()
149 canvas->drawImageRect(image, in onDrawContent()
154 canvas->drawImageRect(image, in onDrawContent()
159 canvas->drawImageRect(image, in onDrawContent()
DSampleTiming.cpp43 canvas->drawImageRect(fImg.get(), in onDrawContent()
75 offscreen->getCanvas()->drawImageRect(fImg, in onDrawContent()
/external/skia/docs/examples/
Dcolor_filter_vs_colorFilterImageFilter_saveLayer.cpp16 canvas->drawImageRect(image, {0, 0, 128, 128}, SkSamplingOptions(), &paint); in draw()
22 canvas->drawImageRect(image, {128, 0, 256, 128}, SkSamplingOptions()); in draw()
DImageInfo_computeOffset.cpp20 canvas->drawImageRect(bitmap.asImage(), SkRect::MakeWH(8, 8), SkRect::MakeWH(32, 32), in draw()
27 canvas->drawImageRect(bitmap.asImage(), SkRect::MakeWH(8, 8), SkRect::MakeWH(128, 128), in draw()
DImageInfo_makeWH.cpp9 canvas->drawImageRect(image, SkRect::Make(source.bounds()), canvasBounds, SkSamplingOptions(), in draw()
16 offscreen.drawImageRect(image, SkRect::Make(source.bounds()), SkRect::Make(inset.bounds()), in draw()
DCanvas_drawImageRect_3.cpp9 canvas->drawImageRect(image.get(), SkRect::MakeXYWH(i, i, i, i), SkSamplingOptions()); in draw()
/external/skqp/samplecode/
DSampleChineseFling.cpp165 canvas->drawImageRect(image, in onDrawContent()
169 canvas->drawImageRect(image, in onDrawContent()
173 canvas->drawImageRect(image, in onDrawContent()
177 canvas->drawImageRect(image, in onDrawContent()
DSampleTextureDomain.cpp72 canvas->drawImageRect(image, srcRect, dstRect, &paint); in onDrawContent()
80 canvas->drawImageRect(image, srcRect, dstRect, &paint); in onDrawContent()
/external/skqp/gm/
Dmipmap.cpp44 canvas->drawImageRect(img.get(), dst, &paint);
75 canvas->drawImageRect(img, SkRect::Make(dst), &paint); in show_mips()
124 canvas->drawImageRect(img, SkRect::Make(dst), &paint); in show_mips_only()
Dimagemasksubset.cpp78 canvas->drawImageRect(image, SkRect::Make(kSubset), kDest, &paint);
80 canvas->drawImageRect(subset, kDest.makeOffset(kSize.width() * 1.5f, 0), &paint);
Dperspimages.cpp88 canvas->drawImageRect(img, src, dst, &paint, in onDraw()
92 canvas->drawImageRect(img, src, dst, &paint, in onDraw()
Ddrawbitmaprect.cpp111 canvas->drawImageRect(image, srcR, dstR, paint); in imageproc()
122 canvas->drawImageRect(subset, dstR, paint); in imagesubsetproc()
167 canvas->drawImageRect(fImage, SkRect::MakeIWH(gSize, gSize), &paint); in onDraw()
Dverylargebitmap.cpp62 canvas->drawImageRect(image, subset, dstRect, nullptr); in show_image()
66 canvas->drawImageRect(image, dstRect, nullptr); in show_image()
/external/skqp/tests/
DGrOpListFlushTest.cpp60 canvas2->drawImageRect(image.get(), srcRect, dstRect, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
65 canvas1->drawImageRect(image.get(), srcRect, dstRect, nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DRepeatedClippedBlurTest.cpp72 c->drawImageRect(bigImg, SkRect::MakeWH(1024, 600), SkSamplingOptions()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
102 dstCanvas->drawImageRect(filteredImg, SkRect::Make(outSubset), dstRect, SkSamplingOptions(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DGrOpListFlushTest.cpp61 canvas2->drawImageRect(image.get(), srcRect, dstRect, SkSamplingOptions(), nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
67 canvas1->drawImageRect(image.get(), srcRect, dstRect, SkSamplingOptions(), nullptr, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/include/core/
DSkCanvas.h1382 void drawImageRect(const SkImage* image, const SkRect& src, const SkRect& dst,
1410 void drawImageRect(const SkImage* image, const SkIRect& isrc, const SkRect& dst,
1430 void drawImageRect(const SkImage* image, const SkRect& dst, const SkPaint* paint);
1450 void drawImageRect(const sk_sp<SkImage>& image, const SkRect& src, const SkRect& dst,
1453 this->drawImageRect(image.get(), src, dst, paint, constraint);
1479 void drawImageRect(const sk_sp<SkImage>& image, const SkIRect& isrc, const SkRect& dst,
1482 this->drawImageRect(image.get(), isrc, dst, paint, constraint);
1505 void drawImageRect(const sk_sp<SkImage>& image, const SkRect& dst, const SkPaint* paint) { in drawImageRect() function
1506 this->drawImageRect(image.get(), dst, paint); in drawImageRect()

1234567