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

Unified Diff: gm/dcshader.cpp

Issue 872043002: Add patheffects to debugger printout (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | include/core/SkPathEffect.h » ('j') | include/core/SkPathEffect.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/dcshader.cpp
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp
index 07af695e476cab1443f4c7a0dc5b2b9faac9e3e4..23f48afa636ce9c10f2a909d17796bb51645a5f7 100644
--- a/gm/dcshader.cpp
+++ b/gm/dcshader.cpp
@@ -36,6 +36,13 @@ public:
bool asFragmentProcessor(GrContext*, const SkPaint& paint, const SkMatrix& viewM,
const SkMatrix* localMatrix, GrColor* color,
GrFragmentProcessor** fp) const SK_OVERRIDE;
+
+#ifndef SK_IGNORE_TO_STRING
+ void toString(SkString* str) const SK_OVERRIDE {
+ str->appendf("DCShader: ()");
+ }
+#endif
+
private:
const SkMatrix fDeviceMatrix;
};
« no previous file with comments | « no previous file | include/core/SkPathEffect.h » ('j') | include/core/SkPathEffect.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698