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

Unified Diff: src/core/SkValue.h

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: space Created 4 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 | « include/effects/SkPixelXorXfermode.h ('k') | src/core/SkValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkValue.h
diff --git a/src/core/SkValue.h b/src/core/SkValue.h
index 1f112090568beb48a613064df9d919391a6f789f..5a6453f9080d2815fcfd645fe708a30f421dbd7b 100644
--- a/src/core/SkValue.h
+++ b/src/core/SkValue.h
@@ -27,6 +27,12 @@ public:
Matrix,
+ ArithmeticXfermode,
+ DefaultXfermode,
+ LerpXfermode,
+ PixelXorXfermode,
+ ProcCoeffXfermode,
+
kMaxPublicObject = 0x7FFFFFFF,
// 2147483648+ won't be used by Skia. They're open for
// client-specific use, testing, etc.
@@ -108,10 +114,4 @@ private:
template <typename T> const T* asTs(SkValue::Type, int*) const;
};
-template <typename T>
-SkValue SkToValue(const T&);
-
-template <typename T>
-bool SkFromValue(const SkValue&, T*);
-
#endif // SkValue_DEFINED
« no previous file with comments | « include/effects/SkPixelXorXfermode.h ('k') | src/core/SkValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698