Chromium Code Reviews| Index: include/core/SkBitmap.h |
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
| index 887169ccb522c2820c8c2f0ff3f78e454d0d00cf..495079cbc69b74bcf7b44c28ea3640bc7dd0b4f4 100644 |
| --- a/include/core/SkBitmap.h |
| +++ b/include/core/SkBitmap.h |
| @@ -538,7 +538,7 @@ public: |
| by calling copyTo(). |
| */ |
| bool canCopyTo(Config newConfig) const; |
| - |
| + |
| /** |
| * DEPRECATED -- will be replaced with API on SkPaint |
| */ |
| @@ -702,6 +702,16 @@ private: |
| int extractMipLevel(SkBitmap* dst, SkFixed sx, SkFixed sy); |
| bool hasMipMap() const; |
| void freeMipMap(); |
| + |
| + /** Make a scaled copy of this bitmap into the provided destination. |
| + * The caller is responsible for having set the width and height of the |
| + * provided destination bitmap, and also having allocated its pixel memory. |
| + * |
| + * This function is temporary and for testing purposes only; it will likely |
| + * move once it has been properly plumbed into the bitmap shader infrastructure. |
|
reed1
2013/07/09 17:26:29
this is an 80-col file
humper
2013/07/09 17:46:13
Done.
|
| + */ |
| + |
| + void scale(SkBitmap *dst) const; |
|
humper
2013/07/09 17:21:18
Made private; disabled the GM and bench.
|
| friend struct SkBitmapProcState; |
| }; |