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

Unified Diff: experimental/skpdiff/SkPMetric.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/skpdiff/SkImageDiffer.cpp ('k') | experimental/skpdiff/SkPMetric.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/skpdiff/SkPMetric.h
diff --git a/experimental/skpdiff/SkPMetric.h b/experimental/skpdiff/SkPMetric.h
deleted file mode 100644
index 5963c2f33ca48257a99ae572d844bd9fa1c6e117..0000000000000000000000000000000000000000
--- a/experimental/skpdiff/SkPMetric.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkPMetric_DEFINED
-#define SkPMetric_DEFINED
-
-#include "SkTArray.h"
-#include "SkTDArray.h"
-
-#include "SkImageDiffer.h"
-
-/**
- * An image differ that uses the pdiff image metric to compare images.
- */
-class SkPMetric : public SkImageDiffer {
-public:
- virtual const char* getName() SK_OVERRIDE;
- virtual int queueDiff(SkBitmap* baseline, SkBitmap* test) SK_OVERRIDE;
- virtual void deleteDiff(int id) SK_OVERRIDE;
- virtual bool isFinished(int id) SK_OVERRIDE;
- virtual double getResult(int id) SK_OVERRIDE;
- virtual int getPointsOfInterestCount(int id) SK_OVERRIDE;
- virtual SkIPoint* getPointsOfInterest(int id) SK_OVERRIDE;
-
-private:
- struct QueuedDiff {
- bool finished;
- double result;
- SkTDArray<SkIPoint> poi;
- };
-
- SkTArray<QueuedDiff> fQueuedDiffs;
-
- typedef SkImageDiffer INHERITED;
-};
-
-
-#endif
« no previous file with comments | « experimental/skpdiff/SkImageDiffer.cpp ('k') | experimental/skpdiff/SkPMetric.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698