| Index: src/gpu/GrAtlasTextContext.cpp
|
| diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
|
| index 5f4f916adcd3e8941ab5783789557d2d69eee115..1c5ae3cc7eeb44d9ec1ffefa321d30185ff3a46d 100644
|
| --- a/src/gpu/GrAtlasTextContext.cpp
|
| +++ b/src/gpu/GrAtlasTextContext.cpp
|
| @@ -277,14 +277,13 @@ bool GrAtlasTextContext::MustRegenerateBlob(SkScalar* outTransX, SkScalar* outTr
|
| return true;
|
| }
|
|
|
| - // Identical viewmatrices and we can reuse in all cases
|
| - if (blob.fViewMatrix.cheapEqualTo(viewMatrix) && x == blob.fX && y == blob.fY) {
|
| - return false;
|
| - }
|
| -
|
| // Mixed blobs must be regenerated. We could probably figure out a way to do integer scrolls
|
| // for mixed blobs if this becomes an issue.
|
| if (blob.hasBitmap() && blob.hasDistanceField()) {
|
| + // Identical viewmatrices and we can reuse in all cases
|
| + if (blob.fViewMatrix.cheapEqualTo(viewMatrix) && x == blob.fX && y == blob.fY) {
|
| + return false;
|
| + }
|
| return true;
|
| }
|
|
|
|
|