Index: gm/gm.h |
=================================================================== |
--- gm/gm.h (revision 11353) |
+++ gm/gm.h (working copy) |
@@ -92,6 +92,11 @@ |
return gResourcePath; |
} |
+ bool isIgnoringFailures() const { return fIgnoreFailures; } |
+ void setIgnoreFailures(bool val) { |
+ fIgnoreFailures = val; |
+ } |
+ |
bool isCanvasDeferred() const { return fCanvasIsDeferred; } |
void setCanvasIsDeferred(bool isDeferred) { |
fCanvasIsDeferred = isDeferred; |
@@ -117,6 +122,7 @@ |
SkColor fBGColor; |
bool fCanvasIsDeferred; // work-around problem in srcmode.cpp |
bool fHaveCalledOnceBeforeDraw; |
+ bool fIgnoreFailures; // whether to file any failures as failure-ignored |
}; |
typedef SkTRegistry<GM*(*)(void*)> GMRegistry; |