/third_party/skia/tests/ |
H A D | ImageBitmapTest.cpp | 22 (void)bm.extractSubset(&a, SkIRect::MakeXYWH(0, 0, 32, 32)); in DEF_TEST() 23 (void)bm.extractSubset(&b, SkIRect::MakeXYWH(0, 32, 32, 32)); in DEF_TEST()
|
H A D | BitmapCopyTest.cpp | 95 // Relies on old behavior of extractSubset failing if colortype is unknown in DEF_TEST() 96 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) { in DEF_TEST() 122 if (bitmap.extractSubset(&subset, r)) { in DEF_TEST()
|
H A D | SkImageTest.cpp | 29 srcBitmap.extractSubset(&dstBitmap, r); in DEF_TEST()
|
H A D | ReadWritePixelsGpuTest.cpp | 359 SkAssertResult(dstPixels.extractSubset(&actual, dstWriteRect)); in gpu_read_pixels_test_driver() 929 SkAssertResult(secondReadPM.extractSubset(&actual, checkRect)); in gpu_write_pixels_test_driver() 967 SkAssertResult(firstReadPM.extractSubset(&a, r)); in gpu_write_pixels_test_driver() 968 SkAssertResult(firstReadPM.extractSubset(&b, r)); in gpu_write_pixels_test_driver() 1134 SkAssertResult(ref.extractSubset(&src, SkIRect::MakeSize(level.dimensions()))); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 1164 SkAssertResult(ref.extractSubset(&src, SkIRect::MakeWH(w, h))); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/gm/ |
H A D | subsetshader.cpp | 33 source.extractSubset(&leftBitmap, left); in DEF_SIMPLE_GM_CAN_FAIL() 34 source.extractSubset(&rightBitmap, right); in DEF_SIMPLE_GM_CAN_FAIL()
|
H A D | texelsubset.cpp | 83 fBitmap.extractSubset(&fBitmap, SkIRect::MakeSize(fBitmap.dimensions()).makeInset(0, 20)); 130 fBitmap.extractSubset(&subsetBmp, texelSubset);
|
H A D | tallstretchedbitmaps.cpp | 45 bm->extractSubset(&smallBM, subRect); in make_bm()
|
H A D | encode_platform.cpp | 124 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256));
|
H A D | drawbitmaprect.cpp | 123 if (bm.extractSubset(&subset, srcR)) { in bitmapsubsetproc()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFShader.cpp | 170 SkAssertResult(bitmap.extractSubset(&left, subset)); in make_image_shader() 186 SkAssertResult(bitmap.extractSubset(&right, subset)); in make_image_shader() 213 SkAssertResult(bitmap.extractSubset(&top, subset)); in make_image_shader() 229 SkAssertResult(bitmap.extractSubset(&bottom, subset)); in make_image_shader()
|
/third_party/skia/docs/examples/ |
H A D | skbug_5648.cpp | 8 source.extractSubset(&bitmap, {0, 0, source.width() - 1, source.height() - 1}); in REG_FIDDLE()
|
H A D | Bitmap_pixelRef.cpp | 8 source.extractSubset(&subset, SkIRect::MakeXYWH(32, 64, 128, 256)); in REG_FIDDLE()
|
H A D | Bitmap_getBounds_2.cpp | 11 source.extractSubset(&bitmap, bounds); in REG_FIDDLE()
|
H A D | Bitmap_pixelRefOrigin.cpp | 8 source.extractSubset(&subset, SkIRect::MakeXYWH(32, 64, 128, 256)); in REG_FIDDLE()
|
H A D | Bitmap_isImmutable.cpp | 12 original.extractSubset(©, {5, 10, 15, 20}); in REG_FIDDLE()
|
H A D | Pixmap_addr.cpp | 14 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
|
H A D | Pixmap_info.cpp | 13 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
|
H A D | Pixmap_extractSubset.cpp | 13 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
|
H A D | Bitmap_extractSubset.cpp | 14 bool success = source.extractSubset(&subset, b); in REG_FIDDLE()
|
H A D | Bitmap_getSubset.cpp | 11 source.extractSubset(&subset, bounds); in REG_FIDDLE()
|
H A D | subset_example.cpp | 23 source.extractSubset(&subset, SkIRect::MakeXYWH(w * x, h * y, w, h)); in REG_FIDDLE()
|
/third_party/skia/samplecode/ |
H A D | SampleWritePixels.cpp | 44 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
|
/third_party/skia/src/core/ |
H A D | SkSpecialImage.cpp | 210 return fBitmap.extractSubset(bm, this->subset()); 245 if (!fBitmap.extractSubset(&subsetBM, *subset)) {
|
/third_party/skia/include/core/ |
H A D | SkPixmap.h | 119 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
|
H A D | SkBitmap.h | 918 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const;
|