OLD | NEW |
1 #ifndef DMUtil_DEFINED | 1 #ifndef DMUtil_DEFINED |
2 #define DMUtil_DEFINED | 2 #define DMUtil_DEFINED |
3 | 3 |
4 #include "Benchmark.h" | |
5 #include "SkBitmap.h" | 4 #include "SkBitmap.h" |
6 #include "SkString.h" | 5 #include "SkString.h" |
7 #include "gm_expectations.h" | 6 #include "gm_expectations.h" |
8 | 7 |
9 class SkBBHFactory; | 8 class SkBBHFactory; |
10 | 9 |
11 // Small free functions used in more than one place in DM. | 10 // Small free functions used in more than one place in DM. |
12 | 11 |
13 namespace DM { | 12 namespace DM { |
14 | 13 |
(...skipping 18 matching lines...) Expand all Loading... |
33 | 32 |
34 // What is the maximum component difference in these bitmaps? | 33 // What is the maximum component difference in these bitmaps? |
35 unsigned MaxComponentDifference(const SkBitmap& a, const SkBitmap& b); | 34 unsigned MaxComponentDifference(const SkBitmap& a, const SkBitmap& b); |
36 | 35 |
37 // Are these identical bitmaps? | 36 // Are these identical bitmaps? |
38 bool BitmapsEqual(const SkBitmap& a, const SkBitmap& b); | 37 bool BitmapsEqual(const SkBitmap& a, const SkBitmap& b); |
39 | 38 |
40 } // namespace DM | 39 } // namespace DM |
41 | 40 |
42 #endif // DMUtil_DEFINED | 41 #endif // DMUtil_DEFINED |
OLD | NEW |