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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 return fQueuedDiffs[id].result; | 462 return fQueuedDiffs[id].result; |
463 } | 463 } |
464 | 464 |
465 int SkPMetric::getPointsOfInterestCount(int id) { | 465 int SkPMetric::getPointsOfInterestCount(int id) { |
466 return fQueuedDiffs[id].poi.count(); | 466 return fQueuedDiffs[id].poi.count(); |
467 } | 467 } |
468 | 468 |
469 SkIPoint* SkPMetric::getPointsOfInterest(int id) { | 469 SkIPoint* SkPMetric::getPointsOfInterest(int id) { |
470 return fQueuedDiffs[id].poi.begin(); | 470 return fQueuedDiffs[id].poi.begin(); |
471 } | 471 } |
OLD | NEW |