diff options
Diffstat (limited to 'gm/shallowgradient.cpp')
-rw-r--r-- | gm/shallowgradient.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/shallowgradient.cpp b/gm/shallowgradient.cpp index fd14943395..a2b29d37ed 100644 --- a/gm/shallowgradient.cpp +++ b/gm/shallowgradient.cpp @@ -42,6 +42,13 @@ public: } protected: + virtual uint32_t onGetFlags() const SK_OVERRIDE { + if (fName.contains("linear") || fName.contains("radial")) { + return kSkipTiled_Flag; + } + return 0; + } + virtual SkString onShortName() SK_OVERRIDE { return fName; } |