Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index 7ccff17d9b09fd6946685b81dce25e865c966245..eec0d1976001a7a3fddc23f797ca46089cde020d 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -26,15 +26,6 @@ SkShader* SkImage_Gpu::onNewShader(SkShader::TileMode tileX, |
return SkShader::CreateBitmapShader(fBitmap, tileX, tileY, localMatrix); |
} |
-void SkImage_Gpu::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPaint* paint) const { |
- canvas->drawBitmap(fBitmap, x, y, paint); |
-} |
- |
-void SkImage_Gpu::onDrawRect(SkCanvas* canvas, const SkRect* src, const SkRect& dst, |
- const SkPaint* paint) const { |
- canvas->drawBitmapRectToRect(fBitmap, src, dst, paint); |
-} |
- |
SkSurface* SkImage_Gpu::onNewSurface(const SkImageInfo& info, const SkSurfaceProps& props) const { |
GrContext* ctx = this->getTexture()->getContext(); |
// TODO: Change signature of onNewSurface to take a budgeted param. |