Add GrEffect::updateKnownColorComponents(). It is used to determine whether the outpu...
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 11 Jan 2013 21:08:55 +0000 (21:08 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 11 Jan 2013 21:08:55 +0000 (21:08 +0000)
commit371e105da5d9fdfff3b4242b37ff6fc09214c8c8
treecfcca4200f2b8eb016f6ea3643f2602bc4076909
parent95146ebc43175ae0c1cd3a116509d92aa1a445ab
Add GrEffect::updateKnownColorComponents(). It is used to determine whether the output of an effect has a constant output value for r,g,b, or a.
Review URL: https://codereview.appspot.com/7064057

git-svn-id: http://skia.googlecode.com/svn/trunk@7144 2bbb7eff-a529-9590-31e7-b0007b416f81
include/gpu/GrEffect.h
src/effects/SkBlendImageFilter.cpp
src/effects/SkColorMatrixFilter.cpp
src/effects/SkLightingImageFilter.cpp
src/effects/SkTableColorFilter.cpp
src/effects/gradients/SkGradientShader.cpp
src/effects/gradients/SkGradientShaderPriv.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrEffect.cpp
src/gpu/effects/GrSingleTextureEffect.cpp
src/gpu/effects/GrSingleTextureEffect.h