Home
last modified time | relevance | path

Searched refs:extractSubset (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/tests/
H A DImageBitmapTest.cpp22 (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 DBitmapCopyTest.cpp95 // 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 DSkImageTest.cpp29 srcBitmap.extractSubset(&dstBitmap, r); in DEF_TEST()
H A DReadWritePixelsGpuTest.cpp359 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 Dsubsetshader.cpp33 source.extractSubset(&leftBitmap, left); in DEF_SIMPLE_GM_CAN_FAIL()
34 source.extractSubset(&rightBitmap, right); in DEF_SIMPLE_GM_CAN_FAIL()
H A Dtexelsubset.cpp83 fBitmap.extractSubset(&fBitmap, SkIRect::MakeSize(fBitmap.dimensions()).makeInset(0, 20));
130 fBitmap.extractSubset(&subsetBmp, texelSubset);
H A Dtallstretchedbitmaps.cpp45 bm->extractSubset(&smallBM, subRect); in make_bm()
H A Dencode_platform.cpp124 tmp.extractSubset(&premulBm, SkIRect::MakeWH(256, 256));
H A Ddrawbitmaprect.cpp123 if (bm.extractSubset(&subset, srcR)) { in bitmapsubsetproc()
/third_party/skia/src/pdf/
H A DSkPDFShader.cpp170 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 Dskbug_5648.cpp8 source.extractSubset(&bitmap, {0, 0, source.width() - 1, source.height() - 1}); in REG_FIDDLE()
H A DBitmap_pixelRef.cpp8 source.extractSubset(&subset, SkIRect::MakeXYWH(32, 64, 128, 256)); in REG_FIDDLE()
H A DBitmap_getBounds_2.cpp11 source.extractSubset(&bitmap, bounds); in REG_FIDDLE()
H A DBitmap_pixelRefOrigin.cpp8 source.extractSubset(&subset, SkIRect::MakeXYWH(32, 64, 128, 256)); in REG_FIDDLE()
H A DBitmap_isImmutable.cpp12 original.extractSubset(&copy, {5, 10, 15, 20}); in REG_FIDDLE()
H A DPixmap_addr.cpp14 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
H A DPixmap_info.cpp13 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
H A DPixmap_extractSubset.cpp13 if (pixmap.extractSubset(&inset, {128, 128, 512, 512})) { in REG_FIDDLE()
H A DBitmap_extractSubset.cpp14 bool success = source.extractSubset(&subset, b); in REG_FIDDLE()
H A DBitmap_getSubset.cpp11 source.extractSubset(&subset, bounds); in REG_FIDDLE()
H A Dsubset_example.cpp23 source.extractSubset(&subset, SkIRect::MakeXYWH(w * x, h * y, w, h)); in REG_FIDDLE()
/third_party/skia/samplecode/
H A DSampleWritePixels.cpp44 bitmap.extractSubset(&subset, SkIRect::MakeXYWH(x, y, x, y));
/third_party/skia/src/core/
H A DSkSpecialImage.cpp210 return fBitmap.extractSubset(bm, this->subset());
245 if (!fBitmap.extractSubset(&subsetBM, *subset)) {
/third_party/skia/include/core/
H A DSkPixmap.h119 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
H A DSkBitmap.h918 bool extractSubset(SkBitmap* dst, const SkIRect& subset) const;

Completed in 12 milliseconds

12