aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkBitmap.h
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2014-12-22 08:31:49 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-22 08:31:49 -0800
commitfa1e8a7cefd71f7b75f0b85f8eefe111814dd86f (patch)
treeb25e8e69ef237cc77915c87e3679f4b50a0aeb29 /include/core/SkBitmap.h
parent2d73d80d68bc4b358eaa6da9f725d83f390af96a (diff)
Add sRGB texture support.
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r--include/core/SkBitmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h
index 7b3cce5076..ec0bffc90f 100644
--- a/include/core/SkBitmap.h
+++ b/include/core/SkBitmap.h
@@ -72,6 +72,7 @@ public:
int height() const { return fInfo.height(); }
SkColorType colorType() const { return fInfo.colorType(); }
SkAlphaType alphaType() const { return fInfo.alphaType(); }
+ SkColorProfileType profileType() const { return fInfo.profileType(); }
/**
* Return the number of bytes per pixel based on the colortype. If the colortype is