Index: src/pipe/SkGPipeWrite.cpp |
diff --git a/src/pipe/SkGPipeWrite.cpp b/src/pipe/SkGPipeWrite.cpp |
index 0fccb80d0a1680f07bd0dafba53d2d76a00e4492..2cab09c9e1b7220b3967667a47ae56279a2288c8 100644 |
--- a/src/pipe/SkGPipeWrite.cpp |
+++ b/src/pipe/SkGPipeWrite.cpp |
@@ -284,7 +284,6 @@ |
const SkPaint*) override; |
void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, |
const SkPaint*) override; |
- void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) override; |
void onDrawVertices(VertexMode vmode, int vertexCount, |
const SkPoint vertices[], const SkPoint texs[], |
const SkColor colors[], SkXfermode* xmode, |
@@ -828,16 +827,6 @@ |
} |
} |
-void SkGPipeCanvas::onDrawSprite(const SkBitmap& bm, int left, int top, const SkPaint* paint) { |
- NOTIFY_SETUP(this); |
- size_t opBytesNeeded = sizeof(int32_t) * 2; |
- |
- if (this->commonDrawBitmap(bm, kDrawSprite_DrawOp, 0, opBytesNeeded, paint)) { |
- fWriter.write32(left); |
- fWriter.write32(top); |
- } |
-} |
- |
bool SkGPipeCanvas::commonDrawImage(const SkImage* image, DrawOps op, unsigned flags, |
size_t opBytesNeeded, const SkPaint* paint) { |
if (fDone) { |