| Index: include/core/SkBitmapDevice.h
|
| diff --git a/include/core/SkBitmapDevice.h b/include/core/SkBitmapDevice.h
|
| index afbefc15f36417d91debe8667223c108cbadd4af..646880e8930a6ea3687c7474b5f2b13eaf9a3624 100644
|
| --- a/include/core/SkBitmapDevice.h
|
| +++ b/include/core/SkBitmapDevice.h
|
| @@ -214,7 +214,10 @@ protected:
|
| * 3. The rectangle (x, y, x + bitmap->width(), y + bitmap->height()) is
|
| * contained in the device bounds.
|
| */
|
| +#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG
|
| virtual bool onReadPixels(const SkBitmap&, int x, int y, SkCanvas::Config8888) SK_OVERRIDE;
|
| +#endif
|
| + virtual bool onReadPixels(const SkImageInfo&, void*, size_t, int x, int y) SK_OVERRIDE;
|
| virtual bool onWritePixels(const SkImageInfo&, const void*, size_t, int, int) SK_OVERRIDE;
|
| virtual void* onAccessPixels(SkImageInfo* info, size_t* rowBytes) SK_OVERRIDE;
|
|
|
|
|