aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/debugger/SkDebugCanvas.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2016-02-11 07:09:51 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-11 07:09:51 -0800
commitdb6a254bdcf6884db172f716966d7787e0d6f264 (patch)
tree41b26c2735e1b65adabbe870c0b6b0237b55280a /tools/debugger/SkDebugCanvas.h
parent860fc696d7020e59904f15a7d89b596a135bade8 (diff)
wire up new json code in skiaserve
Diffstat (limited to 'tools/debugger/SkDebugCanvas.h')
-rw-r--r--tools/debugger/SkDebugCanvas.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h
index 505b5c79fa..339e7add4a 100644
--- a/tools/debugger/SkDebugCanvas.h
+++ b/tools/debugger/SkDebugCanvas.h
@@ -141,10 +141,11 @@ public:
SkString clipStackData() const { return fClipStackData; }
/**
- Returns a JSON object representing all of the draws. The encoder may use the UrlDataManager
- to store binary data such as images, referring to them via URLs embedded in the JSON.
+ Returns a JSON object representing up to N draws, where N is < SkDebugCanvas::getSize().
+ The encoder may use the UrlDataManager to store binary data such as images, referring to
+ them via URLs embedded in the JSON.
*/
- Json::Value toJSON(UrlDataManager& urlDataManager);
+ Json::Value toJSON(UrlDataManager& urlDataManager, int n);
////////////////////////////////////////////////////////////////////////////////
// Inherited from SkCanvas