diff options
author | joshualitt <joshualitt@chromium.org> | 2016-02-17 11:20:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 11:20:26 -0800 |
commit | 6b3cf73af525fdbf6fd093304db840bb998e3dd6 (patch) | |
tree | 59b9b55fee42e6041f6f87cadca2efec108c0150 /tools/debugger/SkDrawCommand.h | |
parent | 91e457d17f8c6c06de33eb2bb430a90ba472eda5 (diff) |
Add batch information to json
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1705093002
Review URL: https://codereview.chromium.org/1705093002
Diffstat (limited to 'tools/debugger/SkDrawCommand.h')
-rw-r--r-- | tools/debugger/SkDrawCommand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/debugger/SkDrawCommand.h b/tools/debugger/SkDrawCommand.h index ff1e1c5248..34832a7cf1 100644 --- a/tools/debugger/SkDrawCommand.h +++ b/tools/debugger/SkDrawCommand.h @@ -102,6 +102,8 @@ public: virtual Json::Value toJSON(UrlDataManager& urlDataManager) const; + Json::Value drawToAndCollectJSON(SkCanvas*, UrlDataManager& urlDataManager) const; + /* Converts a JSON representation of a command into a newly-allocated SkDrawCommand object. It * is the caller's responsibility to delete this object. This method may return null if an error * occurs. |