Index: src/effects/SkDisplacementMapEffect.cpp |
diff --git a/src/effects/SkDisplacementMapEffect.cpp b/src/effects/SkDisplacementMapEffect.cpp |
index c50b1f2c18344e08af66979a242346f2eff399f8..9c640e3a984fe9a62aee43f2da104b4e1bf27dff 100644 |
--- a/src/effects/SkDisplacementMapEffect.cpp |
+++ b/src/effects/SkDisplacementMapEffect.cpp |
@@ -16,6 +16,7 @@ |
#include "GrDrawContext.h" |
#include "GrCoordTransform.h" |
#include "GrInvariantOutput.h" |
+#include "SkGr.h" |
#include "effects/GrTextureDomain.h" |
#include "glsl/GrGLSLFragmentProcessor.h" |
#include "glsl/GrGLSLFragmentShaderBuilder.h" |
@@ -465,7 +466,7 @@ bool SkDisplacementMapEffect::filterImageGPU(Proxy* proxy, const SkBitmap& src, |
drawContext->drawRect(GrClip::WideOpen(), paint, matrix, SkRect::Make(colorBounds)); |
offset->fX = bounds.left(); |
offset->fY = bounds.top(); |
- WrapTexture(dst, bounds.width(), bounds.height(), result); |
+ GrWrapTextureInBitmap(dst, bounds.width(), bounds.height(), false, result); |
return true; |
} |