diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-23 16:18:50 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-23 16:18:50 +0000 |
commit | 759befb72c558202de65a480c44d7b27428ec312 (patch) | |
tree | 86dce8cc3107f912f870415cd27fa1d261881adf /src/gpu/effects | |
parent | a8aef8bf04b10ad648c448c16f56d8c487819112 (diff) |
use the supplied matrix instead of the texture w/h div for the bicubic GPU effect
BUG=
R=bsalomon@google.com, caryclark@google.com
Author: humper@google.com
Review URL: https://codereview.chromium.org/37003005
git-svn-id: http://skia.googlecode.com/svn/trunk@11921 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp index 25a15916de..568311b3ca 100644 --- a/src/gpu/effects/GrBicubicEffect.cpp +++ b/src/gpu/effects/GrBicubicEffect.cpp @@ -116,7 +116,7 @@ GrBicubicEffect::GrBicubicEffect(GrTexture* texture, const SkMatrix &matrix, const GrTextureParams ¶ms, GrCoordSet coordSet) - : INHERITED(texture, MakeDivByTextureWHMatrix(texture), params, coordSet) { + : INHERITED(texture, matrix, params, coordSet) { for (int y = 0; y < 4; y++) { for (int x = 0; x < 4; x++) { // Convert from row-major scalars to column-major floats. |