aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-05-05 12:54:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-05 12:54:33 -0700
commit14fe8fd3e53b5e988aac189a8bc3ed28904d85c8 (patch)
tree1f7f2259964a150606e18a4b27c131f76a53a244 /include/utils
parentbeedb81a7fa9bd1274d64b2c000ef6ee23c9a810 (diff)
Make drawImage a virtual on SkDevice
Now with patch for SkDeferredCanvas This reverts commit 119468b71f8f4f45657ab30ead331be665de5a57. BUG=skia: Review URL: https://codereview.chromium.org/1122643005
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/SkDeferredCanvas.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h
index ac8556f539..a8330493a7 100644
--- a/include/utils/SkDeferredCanvas.h
+++ b/include/utils/SkDeferredCanvas.h
@@ -177,12 +177,9 @@ protected:
void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPaint*) override;
void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
DrawBitmapRectFlags flags) override;
-#if 0
- // rely on conversion to bitmap(for now)
void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*) override;
void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
const SkPaint*) override;
-#endif
void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
const SkPaint*) override;
void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) override;