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
This commit is contained in:
parent
99853c743d
commit
d5429282d1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user