aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmap.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-28 16:05:39 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-28 16:05:39 +0000
commitc1587f94a77eaafe257a6ecf504364d40362c66a (patch)
tree64126ea39cdada39b348437f84edb860ee67d3bc /include/core/SkBitmap.h
parenta96176dc0315d786c187bfa9be5dccf2f08feba2 (diff)
change setAlphaType to not modify the pixelref's genID
BUG=skia: R=bsalomon@google.com, halcanary@google.com Review URL: https://codereview.chromium.org/137263009 git-svn-id: http://skia.googlecode.com/svn/trunk@13219 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r--include/core/SkBitmap.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 1dd2c8034f..2cdac27bad 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -131,10 +131,7 @@ public:
*
* Note: this changes the alphatype for the underlying pixels, which means
* that all bitmaps that might be sharing (subsets of) the pixels will
- * be affected. This is an expensive change for some backends (e.g. GPU)
- * since changing the alphatype can invalidate internal caches. Thus this
- * call should only be made if it is associated with real changes to the
- * pixel data.
+ * be affected.
*/
bool setAlphaType(SkAlphaType);