| OLD | NEW |
| 1 #include <cmath> | 1 #include <cmath> |
| 2 | 2 |
| 3 #include "SkBitmap.h" | 3 #include "SkBitmap.h" |
| 4 #include "skpdiff_util.h" | 4 #include "skpdiff_util.h" |
| 5 #include "SkPMetric.h" | 5 #include "SkPMetric.h" |
| 6 #include "SkPMetricUtil_generated.h" | 6 #include "SkPMetricUtil_generated.h" |
| 7 | 7 |
| 8 struct RGB { | 8 struct RGB { |
| 9 float r, g, b; | 9 float r, g, b; |
| 10 }; | 10 }; |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 return fQueuedDiffs[id].result; | 467 return fQueuedDiffs[id].result; |
| 468 } | 468 } |
| 469 | 469 |
| 470 int SkPMetric::getPointsOfInterestCount(int id) { | 470 int SkPMetric::getPointsOfInterestCount(int id) { |
| 471 return fQueuedDiffs[id].poi.count(); | 471 return fQueuedDiffs[id].poi.count(); |
| 472 } | 472 } |
| 473 | 473 |
| 474 SkIPoint* SkPMetric::getPointsOfInterest(int id) { | 474 SkIPoint* SkPMetric::getPointsOfInterest(int id) { |
| 475 return fQueuedDiffs[id].poi.begin(); | 475 return fQueuedDiffs[id].poi.begin(); |
| 476 } | 476 } |
| OLD | NEW |