| Index: src/utils/debugger/SkDrawCommand.h
|
| diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h
|
| index 538dd23c209218fa9927e6604005e1bc43947654..307599fdb725a8e2efc0bed5e2f237f9bfb9bf6f 100644
|
| --- a/src/utils/debugger/SkDrawCommand.h
|
| +++ b/src/utils/debugger/SkDrawCommand.h
|
| @@ -15,13 +15,11 @@
|
| class SK_API SkDrawCommand {
|
| public:
|
| enum OpType {
|
| - kBeginCommentGroup_OpType,
|
| kBeginDrawPicture_OpType,
|
| kClipPath_OpType,
|
| kClipRegion_OpType,
|
| kClipRect_OpType,
|
| kClipRRect_OpType,
|
| - kComment_OpType,
|
| kConcat_OpType,
|
| kDrawBitmap_OpType,
|
| kDrawBitmapNine_OpType,
|
| @@ -42,7 +40,6 @@ public:
|
| kDrawTextBlob_OpType,
|
| kDrawTextOnPath_OpType,
|
| kDrawVertices_OpType,
|
| - kEndCommentGroup_OpType,
|
| kEndDrawPicture_OpType,
|
| kRestore_OpType,
|
| kSave_OpType,
|
| @@ -267,41 +264,6 @@ private:
|
| typedef SkDrawCommand INHERITED;
|
| };
|
|
|
| -class SkBeginCommentGroupCommand : public SkDrawCommand {
|
| -public:
|
| - SkBeginCommentGroupCommand(const char* description);
|
| - void execute(SkCanvas* canvas) const override {
|
| - canvas->beginCommentGroup(fDescription.c_str());
|
| - };
|
| -private:
|
| - SkString fDescription;
|
| -
|
| - typedef SkDrawCommand INHERITED;
|
| -};
|
| -
|
| -class SkCommentCommand : public SkDrawCommand {
|
| -public:
|
| - SkCommentCommand(const char* kywd, const char* value);
|
| - void execute(SkCanvas* canvas) const override {
|
| - canvas->addComment(fKywd.c_str(), fValue.c_str());
|
| - };
|
| -private:
|
| - SkString fKywd;
|
| - SkString fValue;
|
| -
|
| - typedef SkDrawCommand INHERITED;
|
| -};
|
| -
|
| -class SkEndCommentGroupCommand : public SkDrawCommand {
|
| -public:
|
| - SkEndCommentGroupCommand();
|
| - void execute(SkCanvas* canvas) const override {
|
| - canvas->endCommentGroup();
|
| - };
|
| -private:
|
| - typedef SkDrawCommand INHERITED;
|
| -};
|
| -
|
| class SkDrawOvalCommand : public SkDrawCommand {
|
| public:
|
| SkDrawOvalCommand(const SkRect& oval, const SkPaint& paint);
|
|
|