| Index: src/core/SkImageCacherator.cpp
|
| diff --git a/src/core/SkImageCacherator.cpp b/src/core/SkImageCacherator.cpp
|
| index 7b5ff2267774463584c525bdd0f2cc5ee3fcbd8a..bb389e986b4e4d831ddd5d66bead22324729b824 100644
|
| --- a/src/core/SkImageCacherator.cpp
|
| +++ b/src/core/SkImageCacherator.cpp
|
| @@ -303,10 +303,11 @@
|
| SkBitmap bitmap;
|
| if (this->tryLockAsBitmap(&bitmap, client, chint)) {
|
| GrTexture* tex = nullptr;
|
| + // disable mipmapping until we generate anisotropic mipmap levels
|
| + willBeMipped = false;
|
| if (willBeMipped) {
|
| tex = GrGenerateMipMapsAndUploadToTexture(ctx, bitmap);
|
| - }
|
| - if (!tex) {
|
| + } else {
|
| tex = GrUploadBitmapToTexture(ctx, bitmap);
|
| }
|
| if (tex) {
|
|
|