diff options
author | 2013-01-17 16:50:08 +0000 | |
---|---|---|
committer | 2013-01-17 16:50:08 +0000 | |
commit | 68b58c95384dd6c2fd389a5b4bbf8fc468819454 (patch) | |
tree | 53cf3d959de9fa42a6b064d05580203c1b84065b /src/gpu/GrContext.cpp | |
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 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index a8ce05510a..43dda9c75c 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -1860,7 +1860,7 @@ GrTexture* GrContext::gaussianBlur(GrTexture* srcTexture, scale_rect(&dstRect, i < scaleFactorX ? 0.5f : 1.0f, i < scaleFactorY ? 0.5f : 1.0f); - paint.colorStage(0)->setEffect(GrSingleTextureEffect::Create(srcTexture, + paint.colorStage(0)->setEffect(GrSimpleTextureEffect::Create(srcTexture, matrix, true))->unref(); this->drawRectToRect(paint, dstRect, srcRect); @@ -1919,7 +1919,7 @@ GrTexture* GrContext::gaussianBlur(GrTexture* srcTexture, // FIXME: This should be mitchell, not bilinear. matrix.setIDiv(srcTexture->width(), srcTexture->height()); this->setRenderTarget(dstTexture->asRenderTarget()); - paint.colorStage(0)->setEffect(GrSingleTextureEffect::Create(srcTexture, + paint.colorStage(0)->setEffect(GrSimpleTextureEffect::Create(srcTexture, matrix, true))->unref(); SkRect dstRect(srcRect); |