From 56f2244dca1d0bc187370c35e9a74d5b73d1e2ca Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Fri, 8 Jun 2012 14:21:26 +0000 Subject: [PATCH] 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 --- src/gpu/SkGpuDevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index b62e5be..d04a5a1 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()) { -- 2.7.4