Fixed debugger for addition of drawRRect, clipRRect & drawOval

https://codereview.appspot.com/7035051/



git-svn-id: http://skia.googlecode.com/svn/trunk@6975 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/SkDrawCommand.h b/debugger/SkDrawCommand.h
index c6811f6..9e73ce1 100644
--- a/debugger/SkDrawCommand.h
+++ b/debugger/SkDrawCommand.h
@@ -98,6 +98,16 @@
     bool fDoAA;
 };
 
+class ClipRRect : public SkDrawCommand {
+public:
+    ClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA);
+    virtual void execute(SkCanvas* canvas) SK_OVERRIDE;
+private:
+    const SkRRect* fRRect;
+    SkRegion::Op fOp;
+    bool fDoAA;
+};
+
 class Concat : public SkDrawCommand {
 public:
     Concat(const SkMatrix& matrix);
@@ -170,6 +180,15 @@
     size_t fLength;
 };
 
+class DrawOval : public SkDrawCommand {
+public:
+    DrawOval(const SkRect& oval, const SkPaint& paint);
+    virtual void execute(SkCanvas* canvas) SK_OVERRIDE;
+private:
+    const SkRect* fOval;
+    const SkPaint* fPaint;
+};
+
 class DrawPaint : public SkDrawCommand {
 public:
     DrawPaint(const SkPaint& paint);
@@ -273,6 +292,15 @@
     const SkPaint* fPaint;
 };
 
+class DrawRRect : public SkDrawCommand {
+public:
+    DrawRRect(const SkRRect& rrect, const SkPaint& paint);
+    virtual void execute(SkCanvas* canvas) SK_OVERRIDE;
+private:
+    SkRRect fRRect;
+    const SkPaint* fPaint;
+};
+
 class DrawSprite : public SkDrawCommand {
 public:
     DrawSprite(const SkBitmap& bitmap, int left, int top, const SkPaint* paint,