From 0f450acd76fd58a2f7464f99869ed6afbfac303c Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 9 Aug 2017 20:45:52 +0000 Subject: Revert "GrContext::dump that produces JSON formatted output" This reverts commit 175af0d01177fc6e5a81e979cd2ae3009c375940. Reason for revert: Chrome doesn't know about portable format specifiers. Sigh. Original change's description: > GrContext::dump that produces JSON formatted output > > Includes caps, GL strings, and extensions > > Bug: skia: > Change-Id: I1e8b3dd50fb68357f9de8ca6149cf65443d027ef > Reviewed-on: https://skia-review.googlesource.com/32340 > Commit-Queue: Brian Osman > Reviewed-by: Brian Salomon TBR=bsalomon@google.com,brianosman@google.com Change-Id: Ie280b25275725f0661da7541f54ed62897abb82f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/32861 Reviewed-by: Brian Osman Commit-Queue: Brian Osman --- include/gpu/gl/GrGLExtensions.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/gpu/gl') diff --git a/include/gpu/gl/GrGLExtensions.h b/include/gpu/gl/GrGLExtensions.h index 0355ad292d..faf73fd36c 100644 --- a/include/gpu/gl/GrGLExtensions.h +++ b/include/gpu/gl/GrGLExtensions.h @@ -13,7 +13,6 @@ #include "SkString.h" struct GrGLInterface; -class SkJSONWriter; /** * This helper queries the current GL context for its extensions, remembers them, and can be @@ -65,7 +64,7 @@ public: void reset() { fStrings->reset(); } - void dumpJSON(SkJSONWriter*) const; + void print(const char* sep = "\n") const; private: bool fInitialized; -- cgit v1.2.3