aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-30 18:58:03 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-30 18:58:03 +0000
commit537e26ae3ce715d34c75cb815c781a1e535b7d92 (patch)
tree8a6afdd8bbcf009aff4651103ad34e5c0278ac4a /gm
parent1ab9f737f000e530f0c7713c8fad282f39e26efe (diff)
Exclude verylargebitmap test from replay modes on windows.
BUG=skia:1756 R=epoger@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/52903003 git-svn-id: http://skia.googlecode.com/svn/trunk@12030 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/verylargebitmap.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/gm/verylargebitmap.cpp b/gm/verylargebitmap.cpp
index bc83526c29..e6d81cdaa7 100644
--- a/gm/verylargebitmap.cpp
+++ b/gm/verylargebitmap.cpp
@@ -100,6 +100,20 @@ protected:
show_bm(canvas, veryBig, small, colors);
}
+ virtual uint32_t onGetFlags() const {
+#ifdef SK_BUILD_FOR_WIN32
+ // The Windows bot runs out of memory in replay modes on this test in 32bit builds:
+ // http://skbug.com/1756
+ return kSkipPicture_Flag |
+ kSkipPipe_Flag |
+ kSkipPipeCrossProcess_Flag |
+ kSkipTiled_Flag |
+ kSkipScaledReplay_Flag;
+#else
+ return 0;
+#endif
+ }
+
private:
typedef skiagm::GM INHERITED;
};