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