Home
last modified time | relevance | path

Searched refs:actual_bmp (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/cc/test/
Dpixel_comparator.cc17 bool ExactPixelComparator::Compare(const SkBitmap& actual_bmp, in Compare() argument
23 DCHECK(actual_bmp.width() == expected_bmp.width() && in Compare()
24 actual_bmp.height() == expected_bmp.height()); in Compare()
26 SkAutoLockPixels lock_actual_bmp(actual_bmp); in Compare()
29 for (int x = 0; x < actual_bmp.width(); ++x) { in Compare()
30 for (int y = 0; y < actual_bmp.height(); ++y) { in Compare()
31 SkColor actual_color = actual_bmp.getColor(x, y); in Compare()
78 bool FuzzyPixelComparator::Compare(const SkBitmap& actual_bmp, in Compare() argument
96 DCHECK(actual_bmp.width() == expected_bmp.width() && in Compare()
97 actual_bmp.height() == expected_bmp.height()); in Compare()
[all …]
Dpixel_comparator.h18 virtual bool Compare(const SkBitmap& actual_bmp,
31 virtual bool Compare(const SkBitmap& actual_bmp,
54 virtual bool Compare(const SkBitmap& actual_bmp,
/external/chromium_org/cc/output/
Drenderer_pixeltest.cc163 virtual bool Compare(const SkBitmap& actual_bmp,
173 const SkBitmap& actual_bmp, in Compare() argument
175 return fuzzy_.Compare(actual_bmp, expected_bmp); in Compare()
181 const SkBitmap& actual_bmp, in Compare() argument
183 return fuzzy_.Compare(actual_bmp, expected_bmp); in Compare()
188 const SkBitmap& actual_bmp, in Compare() argument
190 return exact_.Compare(actual_bmp, expected_bmp); in Compare()