aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-19 20:20:04 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-19 20:20:04 +0000
commit138ebc3e4061cf533ea2f7f3717239670fdc6e43 (patch)
treea9bbf3d68a36e5938b5a41df954ad0471b2e20e2 /include
parentd322cf4939872bbff063468d7357c76eb6250d0f (diff)
The image resampling code has been transplanted from Chrome; it's incredibly fast.
We've tested this CL plumbed into Chrome and done benchmarking with excellent results. This CL can land independent of any Chrome changes; it's completely internal to skia. BUG= R=reed@google.com Review URL: https://codereview.chromium.org/19335002 git-svn-id: http://skia.googlecode.com/svn/trunk@10206 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkBitmap.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index d5277c6c80..6d368f5b49 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -702,19 +702,7 @@ 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.
- */
-
- void scale(SkBitmap *dst) const;
-
+
friend struct SkBitmapProcState;
};