/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ScaledImageFragment.cpp | 28 #include "platform/graphics/ScaledImageFragment.h" 32 ScaledImageFragment::~ScaledImageFragment() 36 ScaledImageFragment::ScaledImageFragment(const SkISize& scaledSize, size_t index, size_t generation, const SkBitmap& bitmap)
|
ScaledImageFragment.h | 38 // ScaledImageFragment is a scaled version of an image. 39 class PLATFORM_EXPORT ScaledImageFragment { 46 static PassOwnPtr<ScaledImageFragment> createComplete(const SkISize& scaledSize, size_t index, const SkBitmap& bitmap) 48 return adoptPtr(new ScaledImageFragment(scaledSize, index, CompleteImage, bitmap)); 51 static PassOwnPtr<ScaledImageFragment> createPartial(const SkISize& scaledSize, size_t index, size_t generation, const SkBitmap& bitmap) 53 return adoptPtr(new ScaledImageFragment(scaledSize, index, generation, bitmap)); 56 ScaledImageFragment(const SkISize&, size_t index, size_t generation, const SkBitmap&); 57 ~ScaledImageFragment();
|
ImageFrameGenerator.h | 45 class ScaledImageFragment; 67 const ScaledImageFragment* decodeAndScale(const SkISize& scaledSize, size_t index = 0); 98 const ScaledImageFragment* tryToLockCompleteCache(const SkISize& scaledSize, size_t index); 99 const ScaledImageFragment* tryToScale(const ScaledImageFragment* fullSizeImage, const SkISize& scaledSize, size_t index); 100 const ScaledImageFragment* tryToResumeDecodeAndScale(const SkISize& scaledSize, size_t index); 103 PassOwnPtr<ScaledImageFragment> decode(size_t index, ImageDecoder**);
|
LazyDecodingPixelRef.h | 46 class ScaledImageFragment; 76 const ScaledImageFragment* m_lockedImageResource;
|
ImageFrameGenerator.cpp | 34 #include "platform/graphics/ScaledImageFragment.h" 54 , m_decodeCount(ScaledImageFragment::FirstPartialImage) 82 const ScaledImageFragment* ImageFrameGenerator::decodeAndScale(const SkISize& scaledSize, size_t index) 90 const ScaledImageFragment* cachedImage = 0; 128 const ScaledImageFragment* cachedImage = decodeAndScale(SkISize::Make(info.fWidth, info.fHeight), index); 140 const ScaledImageFragment* ImageFrameGenerator::tryToLockCompleteCache(const SkISize& scaledSize, size_t index) 142 const ScaledImageFragment* cachedImage = 0; 148 const ScaledImageFragment* ImageFrameGenerator::tryToScale(const ScaledImageFragment* fullSizeImage, const SkISize& scaledSize, size_t index) 166 OwnPtr<ScaledImageFragment> scaledImage [all...] |
ImageDecodingStore.h | 33 #include "platform/graphics/ScaledImageFragment.h" 67 // ScaledImageFragment 112 bool lockCache(const ImageFrameGenerator*, const SkISize& scaledSize, size_t index, const ScaledImageFragment**); 113 void unlockCache(const ImageFrameGenerator*, const ScaledImageFragment*); 114 const ScaledImageFragment* insertAndLockCache(const ImageFrameGenerator*, PassOwnPtr<ScaledImageFragment>); 197 static PassOwnPtr<ImageCacheEntry> createAndUse(const ImageFrameGenerator* generator, PassOwnPtr<ScaledImageFragment> image) 202 ImageCacheEntry(const ImageFrameGenerator* generator, int count, PassOwnPtr<ScaledImageFragment> image) 218 const ScaledImageFragment* cachedImage() const { return m_cachedImage.get(); } 219 ScaledImageFragment* cachedImage() { return m_cachedImage.get(); [all...] |
ImageDecodingStoreTest.cpp | 77 PassOwnPtr<ScaledImageFragment> createCompleteImage(const SkISize& size, bool discardable = false, size_t index = 0) 85 return ScaledImageFragment::createComplete(size, index, bitmap); 88 PassOwnPtr<ScaledImageFragment> createIncompleteImage(const SkISize& size, bool discardable = false, size_t generation = 0) 96 return ScaledImageFragment::createPartial(size, 0, generation, bitmap); 101 const ScaledImageFragment* image = ImageDecodingStore::instance()->insertAndLockCache( 106 const ScaledImageFragment* lockCache(const SkISize& size, size_t index = 0) 108 const ScaledImageFragment* cachedImage = 0; 114 void unlockCache(const ScaledImageFragment* cachedImage) 130 const ScaledImageFragment* cachedImage = lockCache(size); 225 const ScaledImageFragment* cachedImage = lockCache(SkISize::Make(1, 1)) [all...] |
ImageFrameGeneratorTest.cpp | 93 PassOwnPtr<ScaledImageFragment> createCompleteImage(const SkISize& size) 98 return ScaledImageFragment::createComplete(size, 0, bitmap); 116 PassOwnPtr<ScaledImageFragment> decode(size_t index) 132 const ScaledImageFragment* fullImage = ImageDecodingStore::instance()->insertAndLockCache( 137 const ScaledImageFragment* tempImage = m_generator->decodeAndScale(fullSize()); 147 const ScaledImageFragment* fullImage = ImageDecodingStore::instance()->insertAndLockCache( 153 const ScaledImageFragment* scaledImage = m_generator->decodeAndScale(scaledSize()); 160 const ScaledImageFragment* tempImage = m_generator->decodeAndScale(scaledSize()); 173 const ScaledImageFragment* scaledImage = m_generator->decodeAndScale(scaledSize()); 181 const ScaledImageFragment* fullImage = m_generator->decodeAndScale(fullSize()) [all...] |
ImageDecodingStore.cpp | 90 bool ImageDecodingStore::lockCache(const ImageFrameGenerator* generator, const SkISize& scaledSize, size_t index, const ScaledImageFragment** cachedImage) 98 ImageCacheMap::iterator iter = m_imageCacheMap.find(ImageCacheEntry::makeCacheKey(generator, scaledSize, index, ScaledImageFragment::CompleteImage)); 105 void ImageDecodingStore::unlockCache(const ImageFrameGenerator* generator, const ScaledImageFragment* cachedImage) 132 const ScaledImageFragment* ImageDecodingStore::insertAndLockCache(const ImageFrameGenerator* generator, PassOwnPtr<ScaledImageFragment> image) 137 ScaledImageFragment* newImage = image.get(); 150 const ScaledImageFragment* oldImage; 233 ImageCacheMap::iterator iter = m_imageCacheMap.find(ImageCacheEntry::makeCacheKey(generator, scaledSize, index, ScaledImageFragment::CompleteImage)); 336 bool ImageDecodingStore::lockCacheEntryInternal(ImageCacheEntry* cacheEntry, const ScaledImageFragment** cachedImage, Vector<OwnPtr<CacheEntry> >* deletionList) 338 ScaledImageFragment* image = cacheEntry->cachedImage() [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
blink_platform.target.darwin-arm.mk | 321 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |
blink_platform.target.darwin-mips.mk | 320 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |
blink_platform.target.darwin-x86.mk | 320 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |
blink_platform.target.linux-arm.mk | 321 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |
blink_platform.target.linux-mips.mk | 320 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |
blink_platform.target.linux-x86.mk | 320 third_party/WebKit/Source/platform/graphics/ScaledImageFragment.cpp \ [all...] |