Enable caching of texture domain extents

https://codereview.chromium.org/14261009/



git-svn-id: http://skia.googlecode.com/svn/trunk@8690 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/effects/GrTextureDomainEffect.cpp b/src/gpu/effects/GrTextureDomainEffect.cpp
index f3838ae..dcfda28 100644
--- a/src/gpu/effects/GrTextureDomainEffect.cpp
+++ b/src/gpu/effects/GrTextureDomainEffect.cpp
@@ -126,6 +126,7 @@
     }
     if (0 != memcmp(values, fPrevDomain, 4 * sizeof(GrGLfloat))) {
         uman.set4fv(fNameUni, 0, 1, values);
+        memcpy(fPrevDomain, values, 4 * sizeof(GrGLfloat));
     }
     fEffectMatrix.setData(uman,
                           texDom.getMatrix(),