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
This commit is contained in:
mtklein 2014-09-03 13:22:46 -07:00 committed by Commit bot
parent 91cab830c8
commit 0c88d8233b

View File

@ -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() {