Add flag to skip pipe on select GMs
authorborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 Jul 2012 18:45:10 +0000 (18:45 +0000)
committerborenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 Jul 2012 18:45:10 +0000 (18:45 +0000)
Confirmed with scroggo@ that these should not be run
with pipe.
Review URL: https://codereview.appspot.com/6405068

git-svn-id: http://skia.googlecode.com/svn/trunk@4698 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/aaclip.cpp
gm/bitmapcopy.cpp

index ba630ca..2988cf3 100644 (file)
@@ -183,6 +183,8 @@ protected:
         draw_rect_tests(canvas);
     }
 
+    virtual uint32_t onGetFlags() const { return kSkipPipe_Flag; }
+
 private:
     typedef GM INHERITED;
 };
index 4b73baf..6080918 100644 (file)
@@ -111,7 +111,8 @@ protected:
         }
     }
 
-    virtual uint32_t onGetFlags() const { return kSkipPicture_Flag; }
+    virtual uint32_t onGetFlags() const { return kSkipPicture_Flag
+                                               | kSkipPipe_Flag; }
 
 private:
     typedef GM INHERITED;