diff options
author | djsollen <djsollen@google.com> | 2014-09-03 13:38:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-03 13:38:32 -0700 |
commit | 6233c7b2d3f0b5dcc331e88d8029523bdf08217a (patch) | |
tree | adccf6f3b9ac3da5832e2acca28d5b3ed1c87d26 /gm/bitmaprect.cpp | |
parent | 0c88d8233ba3a8baa9b4dd6ef515def6b3749980 (diff) |
Revert to enabling all of -O2 as it exposes a bug in the toolchain.
Instead as a workaround we will temporarily disable tiling the
few GMs that produce errors with the existing 64-bit ARM toolchain.
BUG=skia:2908
R=mtklein@google.com
Author: djsollen@google.com
Review URL: https://codereview.chromium.org/537713002
Diffstat (limited to 'gm/bitmaprect.cpp')
-rw-r--r-- | gm/bitmaprect.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp index 8b292837f3..badffb9a93 100644 --- a/gm/bitmaprect.cpp +++ b/gm/bitmaprect.cpp @@ -45,6 +45,13 @@ protected: return SkISize::Make(640, 480); } +#ifdef SK_CPU_ARM64 + // Skip tiled drawing on 64-bit ARM until https://skbug.com/2908 is fixed. + virtual uint32_t onGetFlags() const SK_OVERRIDE { + return kSkipTiled_Flag; + } +#endif + virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { canvas->drawColor(0xFFCCCCCC); |