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

Unified Diff: gm/bitmaprect.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: shorter 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
« no previous file with comments | « no previous file | gm/resizeimagefilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bitmaprect.cpp
diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp
index 8b292837f321180ae7b5a011e1cd7dc9d86238f1..badffb9a939060c0e4bdd04c5a29bab3f559cae4 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);
« no previous file with comments | « no previous file | gm/resizeimagefilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698