diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-29 18:11:31 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-06-29 18:11:31 +0000 |
commit | d5429282d18dc0bebbc134bc279b2dfadd2741c3 (patch) | |
tree | 81dc47a518ce073821c7dcd2753115ac23b7a0e6 | |
parent | 99853c743dea174c11b84866d262e02d75e6138c (diff) |
Disable pipe playback on android for composeshader GM.
Review URL: https://codereview.appspot.com/6349058
git-svn-id: http://skia.googlecode.com/svn/trunk@4409 2bbb7eff-a529-9590-31e7-b0007b416f81
-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); |