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
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);
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,
return name;
}
+#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
+
SkISize onISize() { return SkISize::Make(880, 760); }
virtual void onOnceBeforeDraw() SK_OVERRIDE {
'-fno-omit-frame-pointer',
],
}],
- [ 'skia_arch_type == "arm64"', {
- # this flag causes tiling errors with GCC 4.9 (pre-release) toolchain
- # see skbug.com/
- 'cflags': [
- '-fno-expensive-optimizations'
- ],
- }],
[ 'skia_arch_type == "arm" and arm_thumb == 1', {
'cflags': [
'-mthumb',