diff options
author | 2017-04-17 12:47:15 -0400 | |
---|---|---|
committer | 2017-04-17 17:25:32 +0000 | |
commit | cd11c809f206af0da3ce1779dee3c91193baa7b0 (patch) | |
tree | bb012cbe517e6e83b4d9d5ad685957e63d53f8cc /src/gpu/ops/GrClearOp.h | |
parent | b3821730e1ddd86b356fbf3247d115950c269240 (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.h | 5 |
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: |