Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index c33edc2ee182f0ec98a69c64d21f6ab0cbb26b85..b521546a8004558542a7ca871d7a96cc16b13f53 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -771,7 +771,7 @@ bool GrRectBlurEffect::CreateBlurProfileTexture(GrContext *context, float sigma, |
SkBlurMask::ComputeBlurProfile(sigma, &profile); |
ada.reset(profile); |
- *blurProfileTexture = context->createTexture(texDesc, profile, 0); |
+ *blurProfileTexture = context->createTexture(texDesc, true, profile, 0); |
if (NULL == *blurProfileTexture) { |
return false; |
@@ -959,7 +959,7 @@ GrFragmentProcessor* GrRRectBlurEffect::Create(GrContext* context, float sigma, |
texDesc.fHeight = texSide; |
texDesc.fConfig = kAlpha_8_GrPixelConfig; |
- blurNinePatchTexture = context->createTexture(texDesc, blurred_mask.fImage, 0); |
+ blurNinePatchTexture = context->createTexture(texDesc, true, blurred_mask.fImage, 0); |
SkAssertResult(context->addResourceToCache(key, blurNinePatchTexture)); |
SkMask::FreeImage(blurred_mask.fImage); |