diff options
author | Brian Osman <brianosman@google.com> | 2017-08-09 14:29:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-09 18:52:05 +0000 |
commit | 175af0d01177fc6e5a81e979cd2ae3009c375940 (patch) | |
tree | 9b2ef3150a60da2d42101c4c805252e4254b3533 /src/gpu/gl/GrGLCaps.h | |
parent | a07e4302cfefc282d8d235edfbc20a54c75afa88 (diff) |
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>
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 104308a9ce..1ce6094a6b 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -348,10 +348,7 @@ public: bool srgbDecodeDisableAffectsMipmaps() const { return fSRGBDecodeDisableAffectsMipmaps; } - /** - * Returns a string containing the caps info. - */ - SkString dump() const override; + void onDumpJSON(SkJSONWriter*) const override; bool rgba8888PixelsOpsAreSlow() const { return fRGBA8888PixelsOpsAreSlow; } bool partialFBOReadIsSlow() const { return fPartialFBOReadIsSlow; } |