Index: src/utils/debugger/SkDrawCommand.cpp |
diff --git a/src/utils/debugger/SkDrawCommand.cpp b/src/utils/debugger/SkDrawCommand.cpp |
index 47b29f731f87772671edfdee96df432352c7f9e1..08047976922526632108d0cba0ccfe8c4336fd4b 100644 |
--- a/src/utils/debugger/SkDrawCommand.cpp |
+++ b/src/utils/debugger/SkDrawCommand.cpp |
@@ -14,6 +14,15 @@ |
// TODO(chudy): Refactor into non subclass model. |
+const char* SkDrawCommand::kDrawRectString = "Draw Rect"; |
+const char* SkDrawCommand::kClipRectString = "Clip Rect"; |
+ |
+const SkDrawCommand::OpType SkDrawCommand::kSave_OpType = SAVE; |
+const SkDrawCommand::OpType SkDrawCommand::kClipRect_OpType = CLIP_RECT; |
+const SkDrawCommand::OpType SkDrawCommand::kDrawRect_OpType = DRAW_RECT; |
+const SkDrawCommand::OpType SkDrawCommand::kRestore_OpType = RESTORE; |
+const SkDrawCommand::OpType SkDrawCommand::kSetMatrix_OpType = SET_MATRIX; |
+ |
SkDrawCommand::SkDrawCommand(DrawType type) |
: fDrawType(type) |
, fOffset(0) |
@@ -57,7 +66,7 @@ const char* SkDrawCommand::GetCommandString(DrawType type) { |
case SAVE: return "Save"; |
case SAVE_LAYER: return "Save Layer"; |
case SCALE: return "Scale"; |
- case SET_MATRIX: return "Set Matrix"; |
+ case SET_MATRIX: return "SetMatrix"; |
case SKEW: return "Skew"; |
case TRANSLATE: return "Translate"; |
case NOOP: return "NoOp"; |