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

Unified Diff: dm/DMRecordTask.h

Issue 206313003: SkRecord strawman (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: IsSmall -> IsLarge: pithier Created 6 years, 9 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/DMCpuGMTask.cpp ('k') | dm/DMRecordTask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMRecordTask.h
diff --git a/dm/DMSerializeTask.h b/dm/DMRecordTask.h
similarity index 54%
copy from dm/DMSerializeTask.h
copy to dm/DMRecordTask.h
index 1f8b83632bbb7a708e20c6c82564f39a03f6ac11..7efd951e0f37ca96ad5ab8eab899f306bf943150 100644
--- a/dm/DMSerializeTask.h
+++ b/dm/DMRecordTask.h
@@ -1,5 +1,5 @@
-#ifndef DMSerializeTask_DEFINED
-#define DMSerializeTask_DEFINED
+#ifndef DMRecordTask_DEFINED
+#define DMRecordTask_DEFINED
#include "DMTask.h"
#include "SkBitmap.h"
@@ -7,16 +7,14 @@
#include "SkTemplates.h"
#include "gm.h"
-// Record a picture, serialize it, deserialize it, then draw it and compare to reference bitmap.
+// Records a GM through an SkRecord, draws it, and compares against the reference bitmap.
namespace DM {
-class SerializeTask : public CpuTask {
+class RecordTask : public CpuTask {
public:
- SerializeTask(const Task& parent,
- skiagm::GM*,
- SkBitmap reference);
+ RecordTask(const Task& parent, skiagm::GM*, SkBitmap reference);
virtual void draw() SK_OVERRIDE;
virtual bool shouldSkip() const SK_OVERRIDE;
@@ -30,4 +28,4 @@ private:
} // namespace DM
-#endif // DMSerializeTask_DEFINED
+#endif // DMRecordTask_DEFINED
« no previous file with comments | « dm/DMCpuGMTask.cpp ('k') | dm/DMRecordTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698