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

Unified Diff: include/core/SkXfermode.h

Issue 16125008: Implement SkXfermode image filter (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix .h filename in .gyp; remove commented-out code Created 7 years, 7 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
Index: include/core/SkXfermode.h
diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h
index f960e14af7c3bf9f8e095e0204b169510e2b4904..ad0553e8f24cf9865a8789c7c20ddeb93aec4539 100644
--- a/include/core/SkXfermode.h
+++ b/include/core/SkXfermode.h
@@ -15,6 +15,7 @@
class GrContext;
class GrEffectRef;
+class GrTexture;
class SkString;
/** \class SkXfermode
@@ -202,7 +203,8 @@ public:
virtual bool asNewEffectOrCoeff(GrContext*,
GrEffectRef** effect,
Coeff* src,
- Coeff* dst) const;
+ Coeff* dst,
+ GrTexture* background = NULL) const;
/**
* The same as calling xfermode->asNewEffect(...), except that this also checks if the xfermode
@@ -212,7 +214,8 @@ public:
GrContext*,
GrEffectRef** effect,
Coeff* src,
- Coeff* dst);
+ Coeff* dst,
+ GrTexture* background = NULL);
SkDEVCODE(virtual void toString(SkString* str) const = 0;)
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()

Powered by Google App Engine
This is Rietveld 408576698