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

Unified Diff: gm/complexclip2.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/complexclip.cpp ('k') | gm/composeshader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/complexclip2.cpp
diff --git a/gm/complexclip2.cpp b/gm/complexclip2.cpp
index 2b94ffd661fd091ca2d71556b7af982c7e62c317..4c69cadc3c9483fd32464094abd14366fda1e1bf 100644
--- a/gm/complexclip2.cpp
+++ b/gm/complexclip2.cpp
@@ -111,6 +111,13 @@ protected:
return "";
}
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ if (kRect_Clip != fClip) {
+ return kSkipTiled_Flag;
+ }
+ return 0;
+ }
+
virtual SkString onShortName() {
if (kRect_Clip == fClip && !fAntiAlias) {
return SkString("complexclip2");
« no previous file with comments | « gm/complexclip.cpp ('k') | gm/composeshader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698