Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: include/core/SkUnPreMultiply.h

Issue 130303005: Factor out UnPreMultiplyPreservingByteOrder (Closed) Base URL: https://skia.googlesource.com/skia.git@dm-r
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dm/DMWriteTask.cpp ('k') | src/core/SkUnPreMultiply.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkUnPreMultiply.h
diff --git a/include/core/SkUnPreMultiply.h b/include/core/SkUnPreMultiply.h
index 4fa5d579e95a4aa9d16b6c837d29ea28d0d83bda..16181ce4e6fbf1f3872610752d347c934766b275 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];
};
« no previous file with comments | « dm/DMWriteTask.cpp ('k') | src/core/SkUnPreMultiply.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698