From 0c88d8233ba3a8baa9b4dd6ef515def6b3749980 Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 3 Sep 2014 13:22:46 -0700 Subject: [PATCH] On Android, skip tiling for all giantbitmap variants. BUG=skia: R=djsollen@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/537693002 --- gm/giantbitmap.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gm/giantbitmap.cpp b/gm/giantbitmap.cpp index 1a78fcfb90..de908fef34 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() {