From 6233c7b2d3f0b5dcc331e88d8029523bdf08217a Mon Sep 17 00:00:00 2001 From: djsollen Date: Wed, 3 Sep 2014 13:38:32 -0700 Subject: 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 --- gm/resizeimagefilter.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gm/resizeimagefilter.cpp') diff --git a/gm/resizeimagefilter.cpp b/gm/resizeimagefilter.cpp index e87dff0d35..bb09e0b079 100644 --- a/gm/resizeimagefilter.cpp +++ b/gm/resizeimagefilter.cpp @@ -25,6 +25,13 @@ protected: return SkString("resizeimagefilter"); } +#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 + void draw(SkCanvas* canvas, const SkRect& rect, const SkSize& deviceSize, -- cgit v1.2.3