aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/GrMemoryPoolBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/GrMemoryPoolBench.cpp')
-rw-r--r--bench/GrMemoryPoolBench.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp
index 2fad7fcf4d..98fd6e5bde 100644
--- a/bench/GrMemoryPoolBench.cpp
+++ b/bench/GrMemoryPoolBench.cpp
@@ -5,6 +5,9 @@
* found in the LICENSE file.
*/
+// This tests a Gr class
+#if SK_SUPPORT_GPU
+
#include "GrMemoryPool.h"
#include "SkBenchmark.h"
#include "SkRandom.h"
@@ -162,3 +165,4 @@ static BenchRegistry gReg01(Fact1);
static BenchRegistry gReg02(Fact2);
static BenchRegistry gReg03(Fact3);
+#endif