| Index: src/gpu/SkGr.cpp
|
| diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp
|
| index 3b3783ad35eff10df92bd3d62703afc144e0323e..ef3a39bc61f27cd905aff9b93e44fec74c80f345 100644
|
| --- a/src/gpu/SkGr.cpp
|
| +++ b/src/gpu/SkGr.cpp
|
| @@ -24,7 +24,6 @@
|
| #include "SkCanvas.h"
|
| #include "SkData.h"
|
| #include "SkErrorInternals.h"
|
| -#include "SkGrPixelRef.h"
|
| #include "SkMessageBus.h"
|
| #include "SkMipMap.h"
|
| #include "SkPixelRef.h"
|
| @@ -758,13 +757,6 @@ SkImageInfo GrMakeInfoFromTexture(GrTexture* tex, int w, int h, bool isOpaque,
|
| return SkImageInfo::Make(w, h, ct, at, std::move(colorSpace));
|
| }
|
|
|
| -
|
| -void GrWrapTextureInBitmap(GrTexture* src, int w, int h, bool isOpaque, SkBitmap* dst) {
|
| - const SkImageInfo info = GrMakeInfoFromTexture(src, w, h, isOpaque);
|
| - dst->setInfo(info);
|
| - dst->setPixelRef(new SkGrPixelRef(info, src))->unref();
|
| -}
|
| -
|
| GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality paintFilterQuality,
|
| const SkMatrix& viewM,
|
| const SkMatrix& localM,
|
|
|