| Index: src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| index 3ad869bc9ac67c872856a916301be6aca09c9e32..5f37741b4647fa4e9d460dcd3f6c4759d678fd26 100644
|
| --- a/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| +++ b/src/gpu/batches/GrNonAAFillRectBatch.cpp
|
| @@ -124,9 +124,10 @@ public:
|
|
|
| static const char* Name() { return "NonAAFillRectBatch"; }
|
|
|
| - 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;
|
| @@ -168,9 +169,10 @@ public:
|
|
|
| static const char* Name() { return "NonAAFillRectBatchPerspective"; }
|
|
|
| - 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;
|
|
|