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

Unified Diff: tools/skpdiff/SkDiffContext.h

Issue 27541003: add initial support ofr multi-threaded execution (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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 | « no previous file | tools/skpdiff/SkDiffContext.cpp » ('j') | tools/skpdiff/SkDiffContext.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpdiff/SkDiffContext.h
diff --git a/tools/skpdiff/SkDiffContext.h b/tools/skpdiff/SkDiffContext.h
index 93354e8dec0d1ce752aeb72094a6fbaf03bd6ebb..20193b38514248e77ba6e7a34752cf299a413d14 100644
--- a/tools/skpdiff/SkDiffContext.h
+++ b/tools/skpdiff/SkDiffContext.h
@@ -23,6 +23,8 @@ public:
SkDiffContext();
~SkDiffContext();
+ void setThreadCount(int threadCount) { fThreadCount = threadCount; }
+
/**
* Sets the differs to be used in each diff. Already started diffs will not retroactively use
* these.
@@ -104,6 +106,7 @@ private:
};
struct DiffRecord {
+ SkString fDifferencePath;
SkString fBaselinePath;
SkString fTestPath;
SkTArray<DiffData> fDiffs;
@@ -117,6 +120,7 @@ private:
SkImageDiffer** fDiffers;
int fDifferCount;
+ int fThreadCount;
};
#endif
« no previous file with comments | « no previous file | tools/skpdiff/SkDiffContext.cpp » ('j') | tools/skpdiff/SkDiffContext.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698