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

Unified Diff: src/effects/SkToFromValue.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 | « src/effects/SkPixelXorXfermode.cpp ('k') | src/effects/SkToFromValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/SkToFromValue.h
diff --git a/src/effects/SkToFromValue.h b/src/effects/SkToFromValue.h
new file mode 100644
index 0000000000000000000000000000000000000000..1ead4bd3fbf73b37718f4c8642d5817bee6c8478
--- /dev/null
+++ b/src/effects/SkToFromValue.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2016 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+#ifndef SkToFromValue_DEFINED
+#define SkToFromValue_DEFINED
+
+#include "SkValue.h"
+
+template <typename T>
+SkValue SkToValue(const T&);
+
+template <typename T>
+SkValue SkToValue(const T*);
+
+template <typename T>
+bool SkFromValue(const SkValue&, T*);
+
+#endif // SkToFromValue_DEFINED
« no previous file with comments | « src/effects/SkPixelXorXfermode.cpp ('k') | src/effects/SkToFromValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698