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

Unified Diff: dm/DMSrcSink.h

Issue 1327433003: Various improvements to CodecSrc testing in dm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixed comments Created 5 years, 4 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/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMSrcSink.h
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
index e5f22f8267baf55e364ba02eccabf9138f7cb9fd..efae87138e50c6684b0ef1e65bfbbb7272aedaab 100644
--- a/dm/DMSrcSink.h
+++ b/dm/DMSrcSink.h
@@ -24,6 +24,7 @@ namespace DM {
struct ImplicitString : public SkString {
template <typename T>
ImplicitString(const T& s) : SkString(s) {}
+ ImplicitString() : SkString("") {}
};
typedef ImplicitString Name;
typedef ImplicitString Path;
@@ -102,7 +103,8 @@ private:
class CodecSrc : public Src {
public:
enum Mode {
- kNormal_Mode,
+ kScaledCodec_Mode,
+ kCodec_Mode,
kScanline_Mode,
kScanline_Subset_Mode,
kStripe_Mode, // Tests the skipping of scanlines
@@ -120,10 +122,10 @@ public:
Name name() const override;
bool veto(SinkFlags) const override;
private:
- Path fPath;
- Mode fMode;
- DstColorType fDstColorType;
- float fScale;
+ Path fPath;
+ Mode fMode;
+ DstColorType fDstColorType;
+ float fScale;
};
« no previous file with comments | « dm/DM.cpp ('k') | dm/DMSrcSink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698