Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: gm/resizeimagefilter.cpp

Issue 537713002: Revert to enabling all of -O2 as it exposes a bug in the toolchain. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gm/resizeimagefilter.cpp
diff --git a/gm/resizeimagefilter.cpp b/gm/resizeimagefilter.cpp
index e87dff0d35480a24d4b2eece45c9954e531f8f29..324d07cda2c54c500fa45e0de24c9a4a55fae15d 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 this->INHERITED::onGetFlags() | GM::kSkipTiled_Flag;
+ }
+#endif
+
void draw(SkCanvas* canvas,
const SkRect& rect,
const SkSize& deviceSize,
« gm/bitmaprect.cpp ('K') | « gm/bitmaprect.cpp ('k') | gm/tilemodes_scaled.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698