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

Unified Diff: include/core/SkXfermode.h

Issue 1585813004: SkValue: SkXfermode (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-01-14 (Thursday) 16:27:56 EST 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 | « no previous file | include/effects/SkLerpXfermode.h » ('j') | src/core/SkValue.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index 91268ab5f127a5ec37cf8102b4c8dafe27706839..b55bc2aea1121601bdf28fcd3ebec21d8e2ea35e 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -17,6 +17,7 @@ class GrFragmentProcessor;
class GrTexture;
class GrXPFactory;
class SkString;
+class SkValue;
/** \class SkXfermode
*
@@ -229,6 +230,8 @@ public:
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
SK_DEFINE_FLATTENABLE_TYPE(SkXfermode)
+ virtual SkValue represent() const = 0;
mtklein 2016/01/14 22:58:28 -> value(), asValue() ?
hal.canary 2016/01/14 23:43:10 asValue. done
+
protected:
SkXfermode() {}
/** The default implementation of xfer32/xfer16/xferA8 in turn call this
« no previous file with comments | « no previous file | include/effects/SkLerpXfermode.h » ('j') | src/core/SkValue.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698