aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-05 22:48:05 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-05 22:48:05 +0000
commit67db510c9c7f006fb4ec5027e5c859cfd71f42c0 (patch)
tree27e788bab31c8566446f042d052898d4b88af9f2 /include/core
parent4ec4cf93b7822e0000102b165852ad623afcb84e (diff)
Revert "alpha threshold bitmap shader"
This reverts commit r11122. git-svn-id: http://skia.googlecode.com/svn/trunk@11123 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkShader.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/core/SkShader.h b/include/core/SkShader.h
index 2632830ef0..e1cab96795 100644
--- a/include/core/SkShader.h
+++ b/include/core/SkShader.h
@@ -318,11 +318,9 @@ public:
virtual GradientType asAGradient(GradientInfo* info) const;
/**
- * If the shader subclass has a GrEffect implementation, this resturns the effect to install.
- * The incoming color to the effect has r=g=b=a all extracted from the SkPaint's alpha.
- * The output color should be the computed SkShader premul color modulated by the incoming
- * color. The GrContext may be used by the effect to create textures. The GPU device does not
- * call setContext. Instead we pass the SkPaint here in case the shader needs paint info.
+ * If the shader subclass has a GrEffect implementation, this installs an effect on the stage.
+ * The GrContext may be used by the effect to create textures. The GPU device does not call
+ * setContext. Instead we pass the paint here in case the shader needs paint info.
*/
virtual GrEffectRef* asNewEffect(GrContext* context, const SkPaint& paint) const;