Added resource domain to GrTextureDesc

https://codereview.appspot.com/6459062/



git-svn-id: http://skia.googlecode.com/svn/trunk@5028 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp
index ac17a10..208bd2e 100644
--- a/src/gpu/GrTexture.cpp
+++ b/src/gpu/GrTexture.cpp
@@ -151,7 +151,7 @@
     }
 
     cacheID->fPublicID = clientKey;
-    cacheID->fDomain = GrCacheID::kUnrestricted_ResourceDomain;
+    cacheID->fDomain = desc.fResourceDomain;
 
     // we assume we only need 16 bits of width and height
     // assert that texture creation will fail anyway if this assumption