Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(773)

Unified Diff: src/gpu/effects/GrSingleTextureEffect.h

Issue 7064057: Add GrEffect::updateKnownColorComponents(). It is used to determine whether the output of an effect… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/effects/GrSingleTextureEffect.h
===================================================================
--- src/gpu/effects/GrSingleTextureEffect.h (revision 7135)
+++ src/gpu/effects/GrSingleTextureEffect.h (working copy)
@@ -35,6 +35,10 @@
static const char* Name() { return "Single Texture"; }
+ /** Note that if this class is sub-classed, the subclass may have to override this function.
+ */
+ virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
+
const SkMatrix& getMatrix() const { return fMatrix; }
typedef GrGLSingleTextureEffect GLEffect;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b