aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/bleed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/bleed.cpp')
-rw-r--r--gm/bleed.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/gm/bleed.cpp b/gm/bleed.cpp
index 85d3328428..6dc0ebbfaf 100644
--- a/gm/bleed.cpp
+++ b/gm/bleed.cpp
@@ -15,11 +15,9 @@
#include "SkUtils.h"
#include "sk_tool_utils.h"
-#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "GrContextOptions.h"
#include "SkGr.h"
-#endif
/** Holds either a bitmap or image to be rendered and a rect that indicates what part of the bitmap
or image should be tested by the GM. The area outside of the rect is present to check
@@ -402,11 +400,9 @@ protected:
}
}
-#if SK_SUPPORT_GPU
void modifyGrContextOptions(GrContextOptions* options) override {
options->fMaxTileSizeOverride = kMaxTileSize;
}
-#endif
private:
static constexpr int kBlockSize = 70;