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
This commit is contained in:
parent
5a94efcc3e
commit
56f2244dca
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user