Home
last modified time | relevance | path

Searched refs:resultBM (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/gm/
Ddrawbitmaprect.cpp50 static sk_sp<SkImage> makebm(SkCanvas* origCanvas, SkBitmap* resultBM, int w, int h) { in makebm() argument
101 *resultBM = tempBM; in makebm()
/third_party/skia/gm/
Ddrawbitmaprect.cpp51 static sk_sp<SkImage> makebm(SkCanvas* origCanvas, SkBitmap* resultBM, int w, int h) { in makebm() argument
102 *resultBM = tempBM; in makebm()
/third_party/flutter/skia/tests/
DImageFilterTest.cpp593 SkBitmap resultBM; in test_zero_blur_sigma() local
595 REPORTER_ASSERT(reporter, result->getROPixels(&resultBM)); in test_zero_blur_sigma()
597 for (int y = 0; y < resultBM.height(); y++) { in test_zero_blur_sigma()
598 for (int x = 0; x < resultBM.width(); x++) { in test_zero_blur_sigma()
599 bool diff = *resultBM.getAddr32(x, y) != SK_ColorGREEN; in test_zero_blur_sigma()
632 SkBitmap resultBM; in test_fail_affects_transparent_black() local
633 REPORTER_ASSERT(reporter, result->getROPixels(&resultBM)); in test_fail_affects_transparent_black()
634 REPORTER_ASSERT(reporter, *resultBM.getAddr32(0, 0) == SK_ColorGREEN); in test_fail_affects_transparent_black()
1408 SkBitmap resultBM; in test_composed_imagefilter_bounds() local
1409 REPORTER_ASSERT(reporter, result->getROPixels(&resultBM)); in test_composed_imagefilter_bounds()
[all …]
/third_party/skia/tests/
DImageFilterTest.cpp702 SkBitmap resultBM; in test_zero_blur_sigma() local
704 REPORTER_ASSERT(reporter, special_image_to_bitmap(dContext, result.get(), &resultBM)); in test_zero_blur_sigma()
706 for (int y = 0; y < resultBM.height(); y++) { in test_zero_blur_sigma()
707 for (int x = 0; x < resultBM.width(); x++) { in test_zero_blur_sigma()
708 bool diff = *resultBM.getAddr32(x, y) != SK_ColorGREEN; in test_zero_blur_sigma()
742 SkBitmap resultBM; in test_fail_affects_transparent_black() local
743 REPORTER_ASSERT(reporter, special_image_to_bitmap(dContext, result.get(), &resultBM)); in test_fail_affects_transparent_black()
744 REPORTER_ASSERT(reporter, *resultBM.getAddr32(0, 0) == SK_ColorGREEN); in test_fail_affects_transparent_black()
1522 SkBitmap resultBM; in test_composed_imagefilter_bounds() local
1523 REPORTER_ASSERT(reporter, special_image_to_bitmap(dContext, result.get(), &resultBM)); in test_composed_imagefilter_bounds()
[all …]
/third_party/skia/src/core/
DSkBitmapDevice.cpp598 SkBitmap resultBM; in drawSpecial() local
599 if (src->getROPixels(&resultBM)) { in drawSpecial()
605 draw.drawBitmap(resultBM, SkMatrix::I(), nullptr, sampling, paint); in drawSpecial()
/third_party/flutter/skia/src/core/
DSkBitmapDevice.cpp647 SkBitmap resultBM; in drawSpecial() local
648 if (src->getROPixels(&resultBM)) { in drawSpecial()
649 this->drawSprite(resultBM, x, y, *paint); in drawSpecial()
/third_party/skia/src/pdf/
DSkPDFDevice.cpp1730 SkBitmap resultBM; in drawSpecial() local
1731 if (srcImg->getROPixels(&resultBM)) { in drawSpecial()
1732 auto r = SkRect::MakeWH(resultBM.width(), resultBM.height()); in drawSpecial()
1733 this->internalDrawImageRect(SkKeyedImage(resultBM), nullptr, r, sampling, paint, in drawSpecial()
/third_party/flutter/skia/src/pdf/
DSkPDFDevice.cpp1720 SkBitmap resultBM; in drawSpecial() local
1739 if (resultImg->getROPixels(&resultBM)) { in drawSpecial()
1740 this->drawSprite(resultBM, x + offset.x(), y + offset.y(), tmpUnfiltered); in drawSpecial()
1744 if (srcImg->getROPixels(&resultBM)) { in drawSpecial()
1745 this->drawSprite(resultBM, x, y, paint); in drawSpecial()