aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrEffect.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-11 21:08:55 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-11 21:08:55 +0000
commit371e105da5d9fdfff3b4242b37ff6fc09214c8c8 (patch)
treecfcca4200f2b8eb016f6ea3643f2602bc4076909 /src/gpu/GrEffect.cpp
parent95146ebc43175ae0c1cd3a116509d92aa1a445ab (diff)
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
Diffstat (limited to 'src/gpu/GrEffect.cpp')
-rw-r--r--src/gpu/GrEffect.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp
index dbfb6b014a..534489fd4e 100644
--- a/src/gpu/GrEffect.cpp
+++ b/src/gpu/GrEffect.cpp
@@ -61,10 +61,6 @@ int32_t GrBackendEffectFactory::fCurrEffectClassID = GrBackendEffectFactory::kIl
GrEffect::~GrEffect() {
}
-bool GrEffect::isOpaque(bool inputTextureIsOpaque) const {
- return false;
-}
-
const char* GrEffect::name() const {
return this->getFactory().name();
}