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

Unified Diff: dm/DMReplayTask.h

Issue 27476007: DM: duh, don't calculate digests unless we're going to look at them. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: sync and merge Created 7 years, 2 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 | « dm/DMCpuTask.cpp ('k') | dm/DMReplayTask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMReplayTask.h
diff --git a/dm/DMReplayTask.h b/dm/DMReplayTask.h
index 0ed9351c137ae7c9dc09e52bc859c1fe66a82a31..6a96373f72d274d7fd087631d5e4a4bf8bb72479 100644
--- a/dm/DMReplayTask.h
+++ b/dm/DMReplayTask.h
@@ -10,7 +10,7 @@
#include "gm.h"
#include "gm_expectations.h"
-// Records a GM through an SkPicture, draws it, and compares against the reference checksum.
+// Records a GM through an SkPicture, draws it, and compares against the reference bitmap.
epoger 2013/10/17 16:14:01 The question is, will DM have the reference bitmap
namespace DM {
@@ -20,8 +20,7 @@ public:
ReplayTask(const char* name,
const Task& parent,
skiagm::GM*,
- skiagm::GmResultDigest reference,
- SkBitmap::Config);
+ SkBitmap reference);
virtual void draw() SK_OVERRIDE;
virtual bool usesGpu() const SK_OVERRIDE { return false; }
@@ -31,8 +30,7 @@ public:
private:
const SkString fName;
SkAutoTDelete<skiagm::GM> fGM;
- const skiagm::GmResultDigest fReference;
- const SkBitmap::Config fConfig;
+ const SkBitmap fReference;
};
} // namespace DM
« no previous file with comments | « dm/DMCpuTask.cpp ('k') | dm/DMReplayTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698