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

Unified Diff: include/core/SkColorSpaceXform.h

Issue 2413383002: Cache dst LUTs in SkColorSpaceXform (Closed)
Patch Set: Ref the storage on SkColorSpaceXform Created 4 years, 2 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 | « bench/ColorCodecBench.cpp ('k') | src/core/SkColorSpace.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkColorSpaceXform.h
diff --git a/include/core/SkColorSpaceXform.h b/include/core/SkColorSpaceXform.h
index 15b3d49ee4a224d68cb6341c6bb9867768ade476..b1ca92ef55b1f368e0d6e589d39cf26492b85843 100644
--- a/include/core/SkColorSpaceXform.h
+++ b/include/core/SkColorSpaceXform.h
@@ -50,17 +50,11 @@ public:
*
*/
bool apply(ColorFormat dstFormat, void* dst, ColorFormat srcFormat, const void* src, int count,
- SkAlphaType alphaType) const {
- return this->onApply(dstFormat, dst, srcFormat, src, count, alphaType);
- }
-
+ SkAlphaType alphaType) const;
virtual ~SkColorSpaceXform() {}
protected:
- virtual bool onApply(ColorFormat dstFormat, void* dst, ColorFormat srcFormat, const void* src,
- int count, SkAlphaType alphaType) const = 0;
-
SkColorSpaceXform() {}
};
« no previous file with comments | « bench/ColorCodecBench.cpp ('k') | src/core/SkColorSpace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698