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

Unified Diff: gm/downsamplebitmap.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/degeneratesegments.cpp ('k') | gm/drawlooper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/downsamplebitmap.cpp
diff --git a/gm/downsamplebitmap.cpp b/gm/downsamplebitmap.cpp
index 4b97804b01f74e70c627f5ecc80319d37a2eb943..00b1a4b5879584405c4efd2e6a553c3059ce05b3 100644
--- a/gm/downsamplebitmap.cpp
+++ b/gm/downsamplebitmap.cpp
@@ -40,6 +40,13 @@ public:
}
protected:
+ virtual uint32_t onGetFlags() const SK_OVERRIDE {
+ if (SkPaint::kHigh_FilterLevel != fFilterLevel) {
+ return kSkipTiled_Flag;
+ }
+ return 0;
+ }
+
virtual SkString onShortName() SK_OVERRIDE {
return fName;
}
« no previous file with comments | « gm/degeneratesegments.cpp ('k') | gm/drawlooper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698