aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/ChecksumBench.cpp1
-rw-r--r--bench/DecodeBench.cpp1
-rw-r--r--bench/MutexBench.cpp2
-rw-r--r--bench/PathIterBench.cpp2
-rw-r--r--bench/ScalarBench.cpp2
-rw-r--r--bench/WriterBench.cpp4
6 files changed, 10 insertions, 2 deletions
diff --git a/bench/ChecksumBench.cpp b/bench/ChecksumBench.cpp
index fe3fd47789..818b9e367b 100644
--- a/bench/ChecksumBench.cpp
+++ b/bench/ChecksumBench.cpp
@@ -23,6 +23,7 @@ public:
for (int i = 0; i < U32COUNT; ++i) {
fData[i] = rand.nextU();
}
+ fIsRendering = false;
}
protected:
diff --git a/bench/DecodeBench.cpp b/bench/DecodeBench.cpp
index c85b715edb..6593d103f1 100644
--- a/bench/DecodeBench.cpp
+++ b/bench/DecodeBench.cpp
@@ -32,6 +32,7 @@ public:
}
}
fName.printf("decode_%s_%s", gConfigName[c], fname);
+ fIsRendering = false;
}
protected:
diff --git a/bench/MutexBench.cpp b/bench/MutexBench.cpp
index af8a840182..dfdb792748 100644
--- a/bench/MutexBench.cpp
+++ b/bench/MutexBench.cpp
@@ -14,7 +14,7 @@ class MutexBench : public SkBenchmark {
};
public:
MutexBench(void* param) : INHERITED(param) {
-
+ fIsRendering = false;
}
protected:
virtual const char* onGetName() {
diff --git a/bench/PathIterBench.cpp b/bench/PathIterBench.cpp
index 189d1b5dce..ed99f0a154 100644
--- a/bench/PathIterBench.cpp
+++ b/bench/PathIterBench.cpp
@@ -56,6 +56,8 @@ public:
break;
}
}
+
+ fIsRendering = false;
}
protected:
diff --git a/bench/ScalarBench.cpp b/bench/ScalarBench.cpp
index 2d547b7883..333dd229e1 100644
--- a/bench/ScalarBench.cpp
+++ b/bench/ScalarBench.cpp
@@ -17,6 +17,7 @@ class ScalarBench : public SkBenchmark {
public:
ScalarBench(void* param, const char name[]) : INHERITED(param) {
fName.printf("scalar_%s", name);
+ fIsRendering = false;
}
virtual void performTest() = 0;
@@ -145,6 +146,7 @@ public:
fPts[i].fX = rand.nextSScalar1();
fPts[i].fY = rand.nextSScalar1();
}
+ fIsRendering = false;
}
protected:
diff --git a/bench/WriterBench.cpp b/bench/WriterBench.cpp
index 2de653c374..faf17b5a86 100644
--- a/bench/WriterBench.cpp
+++ b/bench/WriterBench.cpp
@@ -12,7 +12,9 @@
class WriterBench : public SkBenchmark {
public:
- WriterBench(void* param) : INHERITED(param) {}
+ WriterBench(void* param) : INHERITED(param) {
+ fIsRendering = false;
+ }
protected:
virtual const char* onGetName() SK_OVERRIDE {