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

Unified Diff: include/core/SkXfermode.h

Issue 31853003: Remove GrContext from SkXfermode::[Aa]sNewEffectOrCoeff() and all subclasses, (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 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 | « include/core/SkMaskFilter.h ('k') | src/core/SkXfermode.cpp » ('j') | no next file with comments »
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 f4df2269506d9bb12dd88024b08591e4c3110102..0cc430e3e144629fac0365edb5eec9eb6be2ba44 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -13,7 +13,6 @@
#include "SkFlattenable.h"
#include "SkColor.h"
-class GrContext;
class GrEffectRef;
class GrTexture;
class SkString;
@@ -204,8 +203,7 @@ public:
access to destination color (setWillReadDstColor()), and use that in the fragment shader
(builder->dstColor()).
*/
- virtual bool asNewEffectOrCoeff(GrContext*,
- GrEffectRef** effect,
+ virtual bool asNewEffectOrCoeff(GrEffectRef** effect,
Coeff* src,
Coeff* dst,
GrTexture* background = NULL) const;
@@ -215,7 +213,6 @@ public:
* is NULL, and if so, treats it as kSrcOver_Mode.
*/
static bool AsNewEffectOrCoeff(SkXfermode*,
- GrContext*,
GrEffectRef** effect,
Coeff* src,
Coeff* dst,
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkXfermode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698