Index: src/gpu/GrAtlasTextContext.cpp |
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp |
index 37fe092496d0f4521d4f8ce77a36544ac880072d..09190c495b692527d10d5f927bac9699b44265e7 100644 |
--- a/src/gpu/GrAtlasTextContext.cpp |
+++ b/src/gpu/GrAtlasTextContext.cpp |
@@ -1335,6 +1335,22 @@ public: |
const char* name() const override { return "TextBatch"; } |
+ SkString dumpInfo() const override { |
+ SkString str; |
+ |
+ for (int i = 0; i < fGeoCount; ++i) { |
+ str.appendf("%d: Color: 0x%08x Trans: %.2f,%.2f Runs: %d\n", |
+ i, |
+ fGeoData[i].fColor, |
+ fGeoData[i].fTransX, |
+ fGeoData[i].fTransY, |
+ fGeoData[i].fBlob->fRunCount); |
+ } |
+ |
+ str.append(INHERITED::dumpInfo()); |
+ return str; |
+ } |
+ |
void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
if (kColorBitmapMask_MaskType == fMaskType) { |
out->setUnknownFourComponents(); |