/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageFrameGeneratorTest.cpp | 54 m_generator = ImageFrameGenerator::create(fullSize(), m_data, true); 90 m_generator->setImageDecoderFactory(MockImageDecoderFactory::create(this, fullSize())); 104 m_generator->setData(m_data, false); 110 SkBitmap::Allocator* allocator() const { return m_generator->allocator(); } 113 m_generator->setAllocator(allocator); 119 return m_generator->decode(index, &decoder); 123 RefPtr<ImageFrameGenerator> m_generator; member in class:WebCore::ImageFrameGeneratorTest 133 m_generator.get(), createCompleteImage(fullSize())); 135 ImageDecodingStore::instance()->unlockCache(m_generator.get(), fullImage); 137 const ScaledImageFragment* tempImage = m_generator->decodeAndScale(fullSize()) [all...] |
ImageDecodingStoreTest.cpp | 47 m_generator = ImageFrameGenerator::create(SkISize::Make(100, 100), m_data, true); 102 m_generator.get(), createCompleteImage(size)); 109 if (ImageDecodingStore::instance()->lockCache(m_generator.get(), size, index, &cachedImage)) 116 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); 133 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); 138 RefPtr<ImageFrameGenerator> m_generator; member in class:__anon10845::ImageDecodingStoreTest 245 ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); 248 m_generator.clear(); 258 ImageDecodingStore::instance()->insertDecoder(m_generator.get(), decoder.release(), false); 263 EXPECT_TRUE(ImageDecodingStore::instance()->lockDecoder(m_generator.get(), size, &testDecoder)) [all...] |
ImageDecodingStore.h | 161 : m_generator(generator) 174 const ImageFrameGenerator* generator() const { return m_generator; } 186 const ImageFrameGenerator* m_generator; member in class:WebCore::ImageDecodingStore::CacheEntry 217 ImageCacheKey cacheKey() const { return makeCacheKey(m_generator, m_cachedImage->scaledSize(), m_cachedImage->index(), m_cachedImage->generation()); } 250 DecoderCacheKey cacheKey() const { return makeCacheKey(m_generator, m_size); }
|