aboutsummaryrefslogtreecommitdiffhomepage
path: root/fuzz/FuzzCommon.h
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2018-06-07 10:33:11 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-07 14:53:58 +0000
commitfaef51451a81dccffcba50b58d9a323bdd9f150c (patch)
treec1120ca9d527c70aa2a942ef0b3066f87f81b734 /fuzz/FuzzCommon.h
parent0d225395faf27690c724619af35243985bf6e2df (diff)
More libfuzzer cleanups from GPU switchover
This was breaking the oss-fuzz build as is. Bug: oss-fuzz:8701 Change-Id: I23ad21816a293356c91cd3bbc6276b2ed3ceafe6 Reviewed-on: https://skia-review.googlesource.com/132822 Commit-Queue: Kevin Lubick <kjlubick@google.com> Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'fuzz/FuzzCommon.h')
-rw-r--r--fuzz/FuzzCommon.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/fuzz/FuzzCommon.h b/fuzz/FuzzCommon.h
index 9435b43552..98fab259ec 100644
--- a/fuzz/FuzzCommon.h
+++ b/fuzz/FuzzCommon.h
@@ -12,30 +12,6 @@
#include "SkPath.h"
#include "SkRegion.h"
-
-#if SK_SUPPORT_GPU
-#include "GrContextFactory.h"
-#include "gl/GrGLFunctions.h"
-#include "gl/GrGLGpu.h"
-#include "gl/GrGLUtil.h"
-#include "GrContextPriv.h"
-
-inline void dumpGPUInfo(GrContext* context) {
- const GrGLInterface* gl = static_cast<GrGLGpu*>(context->contextPriv().getGpu())
- ->glInterface();
- const GrGLubyte* output;
- GR_GL_CALL_RET(gl, output, GetString(GR_GL_RENDERER));
- SkDebugf("GL_RENDERER %s\n", (const char*) output);
-
- GR_GL_CALL_RET(gl, output, GetString(GR_GL_VENDOR));
- SkDebugf("GL_VENDOR %s\n", (const char*) output);
-
- GR_GL_CALL_RET(gl, output, GetString(GR_GL_VERSION));
- SkDebugf("GL_VERSION %s\n", (const char*) output);
-}
-
-#endif
-
// We don't always want to test NaNs and infinities.
static inline void fuzz_nice_float(Fuzz* fuzz, float* f) {
float v;