| Index: src/gpu/GrOvalRenderer.cpp
|
| diff --git a/src/gpu/GrOvalRenderer.cpp b/src/gpu/GrOvalRenderer.cpp
|
| index c5d807c8e8081d89932cfff9bf689935f9c6b64d..46803ece674e369a970095935070f40ba8a4ceb6 100644
|
| --- a/src/gpu/GrOvalRenderer.cpp
|
| +++ b/src/gpu/GrOvalRenderer.cpp
|
| @@ -626,6 +626,21 @@ public:
|
|
|
| const char* name() const override { return "CircleBatch"; }
|
|
|
| + SkString dumpInfo() const override {
|
| + SkString string;
|
| + for (int i = 0; i < fGeoData.count(); ++i) {
|
| + string.appendf("Color: 0x%08x Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f],"
|
| + "InnerRad: %.2f, OuterRad: %.2f\n",
|
| + fGeoData[i].fColor,
|
| + fGeoData[i].fDevBounds.fLeft, fGeoData[i].fDevBounds.fTop,
|
| + fGeoData[i].fDevBounds.fRight, fGeoData[i].fDevBounds.fBottom,
|
| + fGeoData[i].fInnerRadius,
|
| + fGeoData[i].fOuterRadius);
|
| + }
|
| + string.append(INHERITED::dumpInfo());
|
| + return string;
|
| + }
|
| +
|
| void getInvariantOutputColor(GrInitInvariantOutput* out) const override {
|
| // When this is called on a batch, there is only one geometry bundle
|
| out->setKnownFourComponents(fGeoData[0].fColor);
|
|
|