| Index: include/core/SkCanvas.h
|
| diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
|
| index b5df1e85e02fb9bf49093aefa8b5c350285007b9..ca4010798b4a7cec79d0ec8cf81c5a572f82fa68 100644
|
| --- a/include/core/SkCanvas.h
|
| +++ b/include/core/SkCanvas.h
|
| @@ -22,7 +22,6 @@
|
| //#define SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG
|
|
|
|
|
| -//#define SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG
|
| //#define SK_SUPPORT_LEGACY_GETCLIPTYPE
|
| //#define SK_SUPPORT_LEGACY_GETTOTALCLIP
|
| //#define SK_SUPPORT_LEGACY_GETTOPDEVICE
|
| @@ -313,26 +312,6 @@ public:
|
| */
|
| bool readPixels(const SkIRect& srcRect, SkBitmap* bitmap);
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_WRITEPIXELSCONFIG
|
| - /**
|
| - * DEPRECATED
|
| - * Similar to draw sprite, this method will copy the pixels in bitmap onto
|
| - * the canvas, with the top/left corner specified by (x, y). The canvas'
|
| - * pixel values are completely replaced: there is no blending.
|
| - *
|
| - * Currently if bitmap is backed by a texture this is a no-op. This may be
|
| - * relaxed in the future.
|
| - *
|
| - * If the bitmap has config kARGB_8888_Config then the config8888 param
|
| - * will determines how the pixel valuess are intepreted. If the bitmap is
|
| - * not kARGB_8888_Config then this parameter is ignored.
|
| - *
|
| - * Note: If you are recording drawing commands on this canvas to
|
| - * SkPicture, writePixels() is ignored!
|
| - */
|
| - void writePixels(const SkBitmap& bitmap, int x, int y, Config8888 config8888);
|
| -#endif
|
| -
|
| /**
|
| * This method affects the pixels in the base-layer, and operates in pixel coordinates,
|
| * ignoring the matrix and clip.
|
|
|