| Index: src/gpu/GrBitmapTextContext.cpp
|
| diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp
|
| index 78b6174b29ffb9b826d35495619fd7be66d0208c..25c13ec8d1ae52ac34616e307bf68c1df42651cf 100755
|
| --- a/src/gpu/GrBitmapTextContext.cpp
|
| +++ b/src/gpu/GrBitmapTextContext.cpp
|
| @@ -56,7 +56,7 @@
|
|
|
| fCurrTexture = NULL;
|
| fCurrVertex = 0;
|
| - fEffectTextureInstanceID = 0;
|
| + fEffectTextureGenID = 0;
|
|
|
| fVertices = NULL;
|
| fMaxVertices = 0;
|
| @@ -94,11 +94,11 @@
|
| SkASSERT(fCurrTexture);
|
| GrTextureParams params(SkShader::kRepeat_TileMode, GrTextureParams::kNone_FilterMode);
|
|
|
| - uint64_t textureInstanceID = fCurrTexture->getInstanceID();
|
| + uint32_t textureGenID = fCurrTexture->getGenerationID();
|
|
|
| - if (textureInstanceID != fEffectTextureInstanceID) {
|
| + if (textureGenID != fEffectTextureGenID) {
|
| fCachedEffect.reset(GrCustomCoordsTextureEffect::Create(fCurrTexture, params));
|
| - fEffectTextureInstanceID = textureInstanceID;
|
| + fEffectTextureGenID = textureGenID;
|
| }
|
|
|
| // This effect could be stored with one of the cache objects (atlas?)
|
|
|