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:
parent
91cab830c8
commit
0c88d8233b
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user