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

Unified Diff: gm/gradients.cpp

Issue 256373002: Turn on quilt mode in DM. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 8 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 | « gm/gradient_matrix.cpp ('k') | gm/gradients_2pt_conical.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradients.cpp
diff --git a/gm/gradients.cpp b/gm/gradients.cpp
index 5f84d9f3fa1219998f87aac07e1acec29fcaa57a..f5abb07efc235e93d9e239d75ffaf519ca9bb6ba 100644
--- a/gm/gradients.cpp
+++ b/gm/gradients.cpp
@@ -112,6 +112,10 @@ public:
}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipTiled_Flag;
+ }
+
SkString onShortName() {
return SkString("gradients");
}
@@ -165,6 +169,10 @@ public:
}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipTiled_Flag;
+ }
+
SkString onShortName() {
return SkString("gradients_local_perspective");
}
@@ -294,6 +302,10 @@ public:
ClampedGradientsGM() {}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipTiled_Flag;
+ }
+
SkString onShortName() { return SkString("clamped_gradients"); }
virtual SkISize onISize() { return SkISize::Make(640, 510); }
@@ -333,6 +345,10 @@ public:
RadialGradientGM() {}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipTiled_Flag;
+ }
+
SkString onShortName() { return SkString("radial_gradient"); }
virtual SkISize onISize() { return SkISize::Make(1280, 1280); }
void drawBG(SkCanvas* canvas) {
@@ -372,6 +388,10 @@ public:
RadialGradient2GM() {}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ return kSkipTiled_Flag;
+ }
+
SkString onShortName() { return SkString("radial_gradient2"); }
virtual SkISize onISize() { return SkISize::Make(800, 400); }
void drawBG(SkCanvas* canvas) {
« no previous file with comments | « gm/gradient_matrix.cpp ('k') | gm/gradients_2pt_conical.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698