Index: include/core/SkXfermode.h |
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h |
index 74fd9f85f7c3a56d80d38231a263e423ac1d46bd..c0a6572ec79161500ec15109f7fc26a62b970072 100644 |
--- a/include/core/SkXfermode.h |
+++ b/include/core/SkXfermode.h |
@@ -13,7 +13,7 @@ |
#include "SkFlattenable.h" |
#include "SkColor.h" |
-class GrEffect; |
+class GrEffectRef; |
class GrTexture; |
class SkString; |
@@ -198,7 +198,7 @@ |
fragment shader. If NULL, the effect should request access to destination color |
(setWillReadDstColor()), and use that in the fragment shader (builder->dstColor()). |
*/ |
- virtual bool asNewEffect(GrEffect** effect, GrTexture* background = NULL) const; |
+ virtual bool asNewEffect(GrEffectRef** effect, GrTexture* background = NULL) const; |
/** Returns true if the xfermode can be expressed as coeffs (src, dst), or as an effect |
(effect). This helper calls the asCoeff() and asNewEffect() virtuals. If the xfermode is |
@@ -206,7 +206,7 @@ |
simply test the return value. effect, src, and dst must all be NULL or all non-NULL. |
*/ |
static bool AsNewEffectOrCoeff(SkXfermode*, |
- GrEffect** effect, |
+ GrEffectRef** effect, |
Coeff* src, |
Coeff* dst, |
GrTexture* background = NULL); |