aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-08-10 10:23:25 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-10 15:42:25 +0000
commit71a1889a1432715e515e000f1f4ef277e90e9ae1 (patch)
tree5965dc540193f8e9d6add43928a0985eb24bb389 /include/gpu/gl
parent47238c79c4dd61c8770f45fc36d0cdbaea00b3e2 (diff)
Revert "Revert "GrContext::dump that produces JSON formatted output""
This reverts commit 0f450acd76fd58a2f7464f99869ed6afbfac303c. Bug: skia: Change-Id: I97428fbbc6d82bf8b186ec5fdbf1a939c00e4126 Reviewed-on: https://skia-review.googlesource.com/32726 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'include/gpu/gl')
-rw-r--r--include/gpu/gl/GrGLExtensions.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gpu/gl/GrGLExtensions.h b/include/gpu/gl/GrGLExtensions.h
index faf73fd36c..0355ad292d 100644
--- a/include/gpu/gl/GrGLExtensions.h
+++ b/include/gpu/gl/GrGLExtensions.h
@@ -13,6 +13,7 @@
#include "SkString.h"
struct GrGLInterface;
+class SkJSONWriter;
/**
* This helper queries the current GL context for its extensions, remembers them, and can be
@@ -64,7 +65,7 @@ public:
void reset() { fStrings->reset(); }
- void print(const char* sep = "\n") const;
+ void dumpJSON(SkJSONWriter*) const;
private:
bool fInitialized;