diff options
author | 2012-06-08 14:21:26 +0000 | |
---|---|---|
committer | 2012-06-08 14:21:26 +0000 | |
commit | 56f2244dca1d0bc187370c35e9a74d5b73d1e2ca (patch) | |
tree | 0eaa9e238cfd9cf326ada302431db6a6eb562576 /src/gpu/SkGpuDevice.cpp | |
parent | 5a94efcc3e1d969b53bbc411fff28ba7aba557ba (diff) |
Fix for r4201 performance regression (http://code.google.com/p/skia/issues/detail?id=640)
http://codereview.appspot.com/6299060/
git-svn-id: http://skia.googlecode.com/svn/trunk@4212 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/SkGpuDevice.cpp')
-rw-r--r-- | src/gpu/SkGpuDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index b62e5be39a..d04a5a1e2e 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -1831,6 +1831,7 @@ SkGpuDevice::TexCache SkGpuDevice::lockCachedTexture( desc.fWidth = bitmap.width(); desc.fHeight = bitmap.height(); desc.fConfig = SkGr::BitmapConfig2PixelConfig(bitmap.config()); + desc.fClientCacheID = key; entry = ctx->findAndLockTexture(desc, sampler); if (NULL == entry.texture()) { |