aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gradients_2pt_conical.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/gradients_2pt_conical.cpp')
-rw-r--r--gm/gradients_2pt_conical.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/gradients_2pt_conical.cpp b/gm/gradients_2pt_conical.cpp
index 7f0467e53e..dece66ed8b 100644
--- a/gm/gradients_2pt_conical.cpp
+++ b/gm/gradients_2pt_conical.cpp
@@ -339,6 +339,13 @@ public:
}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ if (fGradCaseType != kInside_GradCaseType) {
+ return kSkipTiled_Flag;
+ }
+ return 0;
+ }
+
SkString onShortName() {
return fName;
}