Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: tools/skpdiff/SkPMetric.cpp

Issue 19608005: move skpdiff into tools (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/skpdiff/SkPMetric.h ('k') | tools/skpdiff/SkPMetricUtil_generated.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tools/skpdiff/SkPMetric.h ('k') | tools/skpdiff/SkPMetricUtil_generated.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698