diff options
-rw-r--r-- | gm/composeshader.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gm/composeshader.cpp b/gm/composeshader.cpp index 31a9abca94..33d467be57 100644 --- a/gm/composeshader.cpp +++ b/gm/composeshader.cpp @@ -59,10 +59,15 @@ protected: return make_isize(640, 480); } +#ifdef SK_BUILD_FOR_ANDROID + virtual uint32_t onGetFlags() const SK_OVERRIDE { + return this->INHERITED::onGetFlags() | GM::kSkipPipe_Flag; + } +#endif + virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE { SkPaint paint; - SkRect r; paint.setColor(SK_ColorGREEN); canvas->drawRectCoords(0, 0, SkIntToScalar(100), SkIntToScalar(100), paint); |