aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SkBenchmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/SkBenchmark.h')
-rw-r--r--bench/SkBenchmark.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bench/SkBenchmark.h b/bench/SkBenchmark.h
index 27009d9e7d..20582514e0 100644
--- a/bench/SkBenchmark.h
+++ b/bench/SkBenchmark.h
@@ -23,7 +23,11 @@ public:
void setForceAA(bool aa) {
fForceAA = aa;
}
-
+
+ void setForceFilter(bool filter) {
+ fForceFilter = filter;
+ }
+
protected:
void setupPaint(SkPaint* paint);
@@ -35,6 +39,7 @@ protected:
private:
int fForceAlpha;
bool fForceAA;
+ bool fForceFilter;
};
static inline SkIPoint SkMakeIPoint(int x, int y) {