aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkUnPreMultiply.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-15 22:24:58 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-01-15 22:24:58 +0000
commitb06faacaf13b9b5c47b8526492ad155bdce3863b (patch)
tree80c90789122a3efef15a2998d95a953b982cae24 /include/core/SkUnPreMultiply.h
parent6a18079de8a39cf8438d60e51b3de2cd3a7edf00 (diff)
Factor out UnPreMultiplyPreservingByteOrder
BUG= R=reed@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/130303005 git-svn-id: http://skia.googlecode.com/svn/trunk@13103 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkUnPreMultiply.h')
-rw-r--r--include/core/SkUnPreMultiply.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkUnPreMultiply.h b/include/core/SkUnPreMultiply.h
index 4fa5d579e9..16181ce4e6 100644
--- a/include/core/SkUnPreMultiply.h
+++ b/include/core/SkUnPreMultiply.h
@@ -49,6 +49,8 @@ public:
static SkColor PMColorToColor(SkPMColor c);
+ static uint32_t UnPreMultiplyPreservingByteOrder(SkPMColor c);
+
private:
static const uint32_t gTable[256];
};