Index: src/utils/debugger/SkDrawCommand.cpp |
diff --git a/src/utils/debugger/SkDrawCommand.cpp b/src/utils/debugger/SkDrawCommand.cpp |
index 8e1612fad77544187ea3868f4b77bb51e4f01a6f..75d847493b8393db59b93ab4063ddd9e9e7e6954 100644 |
--- a/src/utils/debugger/SkDrawCommand.cpp |
+++ b/src/utils/debugger/SkDrawCommand.cpp |
@@ -402,6 +402,16 @@ SkDrawImageRectCommand::SkDrawImageRectCommand(const SkImage* image, const SkRec |
if (paint) { |
fPaint.set(*paint); |
} |
+ |
+ fInfo.push(SkObjectParser::ImageToString(image)); |
+ if (src) { |
+ fInfo.push(SkObjectParser::RectToString(*src, "Src: ")); |
+ } |
+ fInfo.push(SkObjectParser::RectToString(dst, "Dst: ")); |
+ if (paint) { |
+ fInfo.push(SkObjectParser::PaintToString(*paint)); |
+ } |
+ fInfo.push(SkObjectParser::IntToString(fConstraint, "Constraint: ")); |
} |
void SkDrawImageRectCommand::execute(SkCanvas* canvas) const { |