| Index: src/gpu/batches/GrAAFillRectBatch.cpp
|
| diff --git a/src/gpu/batches/GrAAFillRectBatch.cpp b/src/gpu/batches/GrAAFillRectBatch.cpp
|
| index 1b3f139a020dba920bc25fa0ddab17c6a77b2e3a..e2b088c541f45330f1b22f4b2a9690f5ff464fd5 100644
|
| --- a/src/gpu/batches/GrAAFillRectBatch.cpp
|
| +++ b/src/gpu/batches/GrAAFillRectBatch.cpp
|
| @@ -217,9 +217,10 @@ public:
|
|
|
| static const char* Name() { return "AAFillRectBatchNoLocalMatrix"; }
|
|
|
| - static SkString DumpInfo(const Geometry& geo) {
|
| + static SkString DumpInfo(const Geometry& geo, int index) {
|
| SkString str;
|
| - str.appendf("Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n",
|
| + str.appendf("%d: Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n",
|
| + index,
|
| geo.fColor,
|
| geo.fRect.fLeft, geo.fRect.fTop, geo.fRect.fRight, geo.fRect.fBottom);
|
| return str;
|
| @@ -266,9 +267,10 @@ public:
|
|
|
| static const char* Name() { return "AAFillRectBatchLocalMatrix"; }
|
|
|
| - static SkString DumpInfo(const Geometry& geo) {
|
| + static SkString DumpInfo(const Geometry& geo, int index) {
|
| SkString str;
|
| - str.appendf("Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n",
|
| + str.appendf("%d: Color: 0x%08x, Rect [L: %.2f, T: %.2f, R: %.2f, B: %.2f]\n",
|
| + index,
|
| geo.fColor,
|
| geo.fRect.fLeft, geo.fRect.fTop, geo.fRect.fRight, geo.fRect.fBottom);
|
| return str;
|
|
|