| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index b3604b999b3594dd57bed389ebece1e65227339c..9e10dab4a7d902e74a266a675264c6bd3a4ca86d 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -13,7 +13,6 @@
|
| #include "effects/GrYUVEffect.h"
|
| #include "SkCanvas.h"
|
| #include "SkBitmapCache.h"
|
| -#include "SkGrPixelRef.h"
|
| #include "SkGrPriv.h"
|
| #include "SkImage_Gpu.h"
|
| #include "SkMipMap.h"
|
| @@ -74,13 +73,6 @@ bool SkImage_Gpu::getROPixels(SkBitmap* dst, CachingHint chint) const {
|
| return true;
|
| }
|
|
|
| -bool SkImage_Gpu::asBitmapForImageFilters(SkBitmap* bitmap) const {
|
| - bitmap->setInfo(make_info(this->width(), this->height(), this->isOpaque(), fColorSpace));
|
| - bitmap->setPixelRef(new SkGrPixelRef(bitmap->info(), fTexture))->unref();
|
| - bitmap->pixelRef()->setImmutableWithID(this->uniqueID());
|
| - return true;
|
| -}
|
| -
|
| GrTexture* SkImage_Gpu::asTextureRef(GrContext* ctx, const GrTextureParams& params,
|
| SkSourceGammaTreatment gammaTreatment) const {
|
| return GrImageTextureAdjuster(as_IB(this)).refTextureSafeForParams(params, gammaTreatment,
|
|
|