From c7ad40f76f6f23b3acd73b53e989220fd71f2da2 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 31 May 2018 14:27:17 -0400 Subject: Remove SK_SUPPORT_GPU checks in tool-only code Most of this is (obviously) not necessary to do, but once I started, I figured I'd just get it all. Tools (nanobench, DM, skiaserve), all GMs, benches, and unit tests, plus support code (command line parsing and config stuff). This is almost entirely mechanical. Bug: skia: Change-Id: I209500f8df8c5bd43f8298ff26440d1c4d7425fb Reviewed-on: https://skia-review.googlesource.com/131153 Reviewed-by: Mike Klein Reviewed-by: Brian Salomon Commit-Queue: Brian Osman --- bench/GrMipMapBench.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bench/GrMipMapBench.cpp') diff --git a/bench/GrMipMapBench.cpp b/bench/GrMipMapBench.cpp index e151fe519f..e756c13bb4 100644 --- a/bench/GrMipMapBench.cpp +++ b/bench/GrMipMapBench.cpp @@ -11,8 +11,6 @@ #include "SkPaint.h" #include "SkSurface.h" -#if SK_SUPPORT_GPU - class GrMipMapBench: public Benchmark { sk_sp fSurface; SkString fName; @@ -75,5 +73,3 @@ DEF_BENCH( return new GrMipMapBench(511, 511); ) DEF_BENCH( return new GrMipMapBench(512, 511); ) DEF_BENCH( return new GrMipMapBench(511, 512); ) DEF_BENCH( return new GrMipMapBench(512, 512); ) - -#endif -- cgit v1.2.3