call blitRect in our convex scanconverter (next: take advantage of that in our
region and soft-region builders, and in our supersampler)
git-svn-id: http://skia.googlecode.com/svn/trunk@2563 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkAAClip.cpp b/src/core/SkAAClip.cpp
index 47c650e..9225061 100644
--- a/src/core/SkAAClip.cpp
+++ b/src/core/SkAAClip.cpp
@@ -1021,8 +1021,12 @@
virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE
{ unexpected(); }
- // let the default impl call blitH
-// virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE
+ virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE {
+// SkDebugf("blitRect Y:%d H:%d\n", y, height);
+ while (--height >= 0) {
+ this->blitH(x, y++, width);
+ }
+ }
virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE
{ unexpected(); }