diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-17 16:50:08 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-17 16:50:08 +0000 |
commit | 68b58c95384dd6c2fd389a5b4bbf8fc468819454 (patch) | |
tree | 53cf3d959de9fa42a6b064d05580203c1b84065b /gm | |
parent | e8cc6e8071935339a06548b13a0668b56a7540f5 (diff) |
Remove default implementation of GrEffect::isEqual. Make GrSingleTextureEffect abstract.
Review URL: https://codereview.appspot.com/7142049
git-svn-id: http://skia.googlecode.com/svn/trunk@7254 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/texdata.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 1f888267ad..da52aade6a 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -12,7 +12,7 @@ #if SK_SUPPORT_GPU #include "GrContext.h" -#include "effects/GrSingleTextureEffect.h" +#include "effects/GrSimpleTextureEffect.h" #include "SkColorPriv.h" #include "SkDevice.h" @@ -113,7 +113,7 @@ protected: SkMatrix tm; tm = vm; tm.postIDiv(2*S, 2*S); - paint.colorStage(0)->setEffect(GrSingleTextureEffect::Create(texture, tm))->unref(); + paint.colorStage(0)->setEffect(GrSimpleTextureEffect::Create(texture, tm))->unref(); ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S)); |