aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skiaserve/Request.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2016-12-20 16:48:59 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-20 22:35:23 +0000
commit144a5c518ae921f210bdd9647c061e57d18f440c (patch)
tree9635e06add734e1b0eb0635e40a05d169f61e509 /tools/skiaserve/Request.h
parentf4e27f68b07c063f00d5ef618f5d4a64e785f9c3 (diff)
Rename batch->op in skiaserve
Change-Id: Ib831b9a6bcf4f37c0f077b26f68b1cefef81bb73 Reviewed-on: https://skia-review.googlesource.com/6351 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/skiaserve/Request.h')
-rw-r--r--tools/skiaserve/Request.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/skiaserve/Request.h b/tools/skiaserve/Request.h
index 4058d7ce7e..7f41748c02 100644
--- a/tools/skiaserve/Request.h
+++ b/tools/skiaserve/Request.h
@@ -37,7 +37,7 @@ struct Request {
Request(SkString rootUrl);
~Request();
- // draws to skia draw op N, highlighting the Mth batch(-1 means no highlight)
+ // draws to canvas operation N, highlighting the Mth GrOp. m = -1 means no highlight.
sk_sp<SkData> drawToPng(int n, int m = -1);
sk_sp<SkData> writeOutSkp();
SkCanvas* getCanvas();
@@ -53,8 +53,8 @@ struct Request {
// Returns the json list of ops as an SkData
sk_sp<SkData> getJsonOps(int n);
- // Returns a json list of batches as an SkData
- sk_sp<SkData> getJsonBatchList(int n);
+ // Returns a json list of ops as an SkData
+ sk_sp<SkData> getJsonOpList(int n);
// Returns json with the viewMatrix and clipRect
sk_sp<SkData> getJsonInfo(int n);