diff options
author | 2014-12-22 08:31:49 -0800 | |
---|---|---|
committer | 2014-12-22 08:31:49 -0800 | |
commit | fa1e8a7cefd71f7b75f0b85f8eefe111814dd86f (patch) | |
tree | b25e8e69ef237cc77915c87e3679f4b50a0aeb29 /include/core/SkBitmap.h | |
parent | 2d73d80d68bc4b358eaa6da9f725d83f390af96a (diff) |
Add sRGB texture support.
Review URL: https://codereview.chromium.org/791823003
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r-- | include/core/SkBitmap.h | 1 |
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 |