From 71a1889a1432715e515e000f1f4ef277e90e9ae1 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Thu, 10 Aug 2017 10:23:25 -0400 Subject: 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 Commit-Queue: Brian Osman --- src/gpu/gl/GrGLGpu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gpu/gl/GrGLGpu.h') diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h index 7ff822fdec..aafcc37a57 100644 --- a/src/gpu/gl/GrGLGpu.h +++ b/src/gpu/gl/GrGLGpu.h @@ -409,6 +409,8 @@ private: // Must be called if bindSurfaceFBOForPixelOps was used to bind a surface for copying. void unbindTextureFBOForPixelOps(GrGLenum fboTarget, GrSurface* surface); + void onDumpJSON(SkJSONWriter*) const override; + sk_sp fGLContext; bool createCopyProgram(GrTexture* srcTexture); -- cgit v1.2.3