diff options
author | robertphillips <robertphillips@google.com> | 2015-01-26 06:08:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-26 06:08:52 -0800 |
commit | 42dbfa8651861f2f686879c996aab9f9f82277dd (patch) | |
tree | 6a0299231aff19870a0e8a5822ba1d86b816f624 /gm | |
parent | b644e9afde5c456a731ec44d8f72b2e1d93b863f (diff) |
Add patheffects to debugger printout
TBR=bsalomon@google.com
Review URL: https://codereview.chromium.org/872043002
Diffstat (limited to 'gm')
-rw-r--r-- | gm/dcshader.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp index c08923f4c3..1f5969bd3c 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; }; |