diff options
author | Brian Osman <brianosman@google.com> | 2017-08-09 20:45:52 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-09 20:47:49 +0000 |
commit | 0f450acd76fd58a2f7464f99869ed6afbfac303c (patch) | |
tree | d8d995e380c20d8432c30f32c1f43746f96d1e82 /src/gpu/GrGpu.h | |
parent | a5a69cfb480b99747ddc272149d35c6302abf1bf (diff) |
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 <brianosman@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
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 <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index cc55a05722..fa5f372e14 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -40,7 +40,6 @@ class GrStencilAttachment; class GrStencilSettings; class GrSurface; class GrTexture; -class SkJSONWriter; namespace gr_instanced { class InstancedOp; @@ -459,7 +458,6 @@ public: }; Stats* stats() { return &fStats; } - void dumpJSON(SkJSONWriter*) const; /** Creates a texture directly in the backend API without wrapping it in a GrTexture. This is only to be used for testing (particularly for testing the methods that import an externally @@ -621,8 +619,6 @@ private: virtual void onFinishFlush(bool insertedSemaphores) = 0; - virtual void onDumpJSON(SkJSONWriter*) const {} - void resetContext() { this->onResetContext(fResetBits); fResetBits = 0; |