diff options
author | 2015-05-04 08:32:02 -0700 | |
---|---|---|
committer | 2015-05-04 08:32:02 -0700 | |
commit | f603fb3d0e5fa57c3f228d66945bef198b001135 (patch) | |
tree | 6d3013b43ae2f94277318b4c949ab1f6f1f18d10 /src/image/SkImage_Gpu.h | |
parent | ab622c7b8cc8c39f0a594e4392b9e31b7e1ddb26 (diff) |
make drawImage a virtual on SkDevice
default impl will turn the Image into a (raster) bitmap and call drawBitmap.
BUG=skia:3803
Review URL: https://codereview.chromium.org/1118823004
Diffstat (limited to 'src/image/SkImage_Gpu.h')
-rw-r--r-- | src/image/SkImage_Gpu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h index a771ddab24..7b38e60ea3 100644 --- a/src/image/SkImage_Gpu.h +++ b/src/image/SkImage_Gpu.h @@ -21,9 +21,6 @@ public: SkImage_Gpu(const SkBitmap&, int sampleCountForNewSurfaces, SkSurface::Budgeted); - void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) const override; - void onDrawRect(SkCanvas*, const SkRect* src, const SkRect& dst, - const SkPaint*) const override; SkSurface* onNewSurface(const SkImageInfo&, const SkSurfaceProps&) const override; GrTexture* onGetTexture() const override; bool getROPixels(SkBitmap*) const override; |