Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Unified Diff: tools/debugger/SkDebugCanvas.h

Issue 1691773002: wire up new json code in skiaserve (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixup comment Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/debugger/SkDebugCanvas.h
diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h
index 505b5c79fac684447feb36cb6b678df19911c0bd..339e7add4aa20df5117b15af68cb1b06ee6f8ec7 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
« no previous file with comments | « no previous file | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698