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

Unified Diff: dm/DMChecksumTask.h

Issue 108963002: DM: Add support for reading a directory of images with --expectations (-r). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: comments etc Created 7 years 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 | « dm/DM.cpp ('k') | dm/DMChecksumTask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMChecksumTask.h
diff --git a/dm/DMChecksumTask.h b/dm/DMChecksumTask.h
deleted file mode 100644
index b0afac9467be2365e20ffb854a8cf010af1535b6..0000000000000000000000000000000000000000
--- a/dm/DMChecksumTask.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef DMChecksumTask_DEFINED
-#define DMChecksumTask_DEFINED
-
-#include "DMTask.h"
-#include "SkBitmap.h"
-#include "SkString.h"
-#include "gm_expectations.h"
-
-namespace DM {
-
-// ChecksumTask compares an SkBitmap against some Expectations.
-// Moving this off the GPU threadpool is a nice (~30%) runtime win.
-class ChecksumTask : public Task {
-public:
- ChecksumTask(const Task& parent, skiagm::Expectations, SkBitmap);
-
- virtual void draw() SK_OVERRIDE;
- virtual bool usesGpu() const SK_OVERRIDE { return false; }
- virtual bool shouldSkip() const SK_OVERRIDE { return false; }
- virtual SkString name() const SK_OVERRIDE { return fName; }
-
-private:
- const SkString fName;
- const skiagm::Expectations fExpectations;
- const SkBitmap fBitmap;
-};
-
-} // namespace DM
-
-#endif // DMChecksumTask_DEFINED
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMChecksumTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698