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

Unified Diff: gm/giantbitmap.cpp

Issue 537693002: On Android, skip tiling for all giantbitmap variants. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweak Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/giantbitmap.cpp
diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp
index 1a78fcfb90044092c7505b1fc85d2d2c97768fe6..de908fef3403c19887b17c6e271bd107df76faa1 100644
--- a/gm/giantbitmap.cpp
+++ b/gm/giantbitmap.cpp
@@ -72,10 +72,14 @@ public:
protected:
virtual uint32_t onGetFlags() const SK_OVERRIDE {
+#ifdef SK_BUILD_FOR_ANDROID
+ return kSkipTiled_Flag;
+#else
if (fDoFilter && fDoRotate && fMode != SkShader::kClamp_TileMode) {
return kSkipTiled_Flag;
}
return 0;
+#endif
}
virtual SkString onShortName() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698