| Index: src/gpu/SkGrPixelRef.cpp
|
| diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp
|
| index 6e014feded1faba16afb4b0607349857a6172ce0..0789f0994d9acc9da8ae406ea0e58cc5bfb38b73 100644
|
| --- a/src/gpu/SkGrPixelRef.cpp
|
| +++ b/src/gpu/SkGrPixelRef.cpp
|
| @@ -76,6 +76,7 @@ static SkGrPixelRef* copy_to_new_texture_pixelref(GrTexture* texture, SkColorTyp
|
| }
|
| desc.fFlags = kRenderTarget_GrSurfaceFlag;
|
| desc.fConfig = SkImageInfo2GrPixelConfig(dstCT, kPremul_SkAlphaType, dstPT);
|
| + desc.fIsMipMapped = false;
|
|
|
| GrTexture* dst = context->textureProvider()->createTexture(desc, false, nullptr, 0);
|
| if (nullptr == dst) {
|
| @@ -123,13 +124,6 @@ GrTexture* SkGrPixelRef::getTexture() {
|
| return nullptr;
|
| }
|
|
|
| -void SkGrPixelRef::onNotifyPixelsChanged() {
|
| - GrTexture* texture = this->getTexture();
|
| - if (texture) {
|
| - texture->texturePriv().dirtyMipMaps(true);
|
| - }
|
| -}
|
| -
|
| SkPixelRef* SkGrPixelRef::deepCopy(SkColorType dstCT, SkColorProfileType dstPT,
|
| const SkIRect* subset) {
|
| if (nullptr == fSurface) {
|
|
|