diff options
Diffstat (limited to 'src/gpu/GrEffect.cpp')
-rw-r--r-- | src/gpu/GrEffect.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gpu/GrEffect.cpp b/src/gpu/GrEffect.cpp index 6423aef5dc..09032bf0f9 100644 --- a/src/gpu/GrEffect.cpp +++ b/src/gpu/GrEffect.cpp @@ -5,8 +5,9 @@ * found in the LICENSE file. */ -#include "GrContext.h" #include "GrEffect.h" +#include "GrBackendEffectFactory.h" +#include "GrContext.h" #include "GrMemoryPool.h" #include "SkTLS.h" @@ -49,6 +50,11 @@ bool GrEffect::isOpaque(bool inputTextureIsOpaque) const { return false; } +const char* GrEffect::name() const { + return this->getFactory().name(); +} + + bool GrEffect::isEqual(const GrEffect& s) const { if (this->numTextures() != s.numTextures()) { return false; |