aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrClearOp.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-04-17 12:47:15 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-17 17:25:32 +0000
commitcd11c809f206af0da3ce1779dee3c91193baa7b0 (patch)
treebb012cbe517e6e83b4d9d5ad685957e63d53f8cc /src/gpu/ops/GrClearOp.h
parentb3821730e1ddd86b356fbf3247d115950c269240 (diff)
Split cleanup changes out of bigger CL
This are split out of: https://skia-review.googlesource.com/c/11581/ (Split up opLists) TBR=bsalomon@google.com Change-Id: I1239e806a30a93d3c17ad933f118b98a5077dd3a Reviewed-on: https://skia-review.googlesource.com/13585 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrClearOp.h')
-rw-r--r--src/gpu/ops/GrClearOp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/ops/GrClearOp.h b/src/gpu/ops/GrClearOp.h
index 5340af1172..4f51796e6c 100644
--- a/src/gpu/ops/GrClearOp.h
+++ b/src/gpu/ops/GrClearOp.h
@@ -56,6 +56,7 @@ public:
SkString dumpInfo() const override {
SkString string;
+ string.append(INHERITED::dumpInfo());
string.appendf("rtID: %d proxyID: %d Scissor [",
fRenderTarget.get()->uniqueID().asUInt(),
fProxyUniqueID.asUInt());
@@ -65,11 +66,11 @@ public:
} else {
string.append("disabled");
}
- string.appendf("], Color: 0x%08x ", fColor);
- string.append(INHERITED::dumpInfo());
+ string.appendf("], Color: 0x%08x\n", fColor);
return string;
}
+ GrColor color() const { return fColor; }
void setColor(GrColor color) { fColor = color; }
private: