Home | History | Annotate | Download | only in graphics

Lines Matching refs:cachedImage

112         const ScaledImageFragment* cachedImage = 0;
113 if (ImageDecodingStore::instance()->lockCache(m_generator.get(), size, index, &cachedImage))
114 return cachedImage;
118 void unlockCache(const ScaledImageFragment* cachedImage)
120 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage);
134 const ScaledImageFragment* cachedImage = lockCache(size);
135 if (!cachedImage)
137 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage);
229 const ScaledImageFragment* cachedImage = lockCache(SkISize::Make(1, 1));
230 ASSERT_TRUE(cachedImage);
239 unlockCache(cachedImage);
426 const ScaledImageFragment* cachedImage = ImageDecodingStore::instance()->insertAndLockCache(
428 unlockCache(cachedImage);
429 MockDiscardablePixelRef* pixelRef = static_cast<MockDiscardablePixelRef*>(cachedImage->bitmap().pixelRef());
456 const ScaledImageFragment* cachedImage = lockCache(SkISize::Make(1, 1));
457 ASSERT_TRUE(cachedImage);
461 unlockCache(cachedImage);
472 const ScaledImageFragment* cachedImage = ImageDecodingStore::instance()->insertAndLockCache(
475 unlockCache(cachedImage);